next up previous contents
Next: 4.1.11 SUBROUTINE ZXEVOT(I, LHEAD, Up: 4.1 Patch SGVSTEER : Previous: 4.1.9 SUBROUTINE ZXHINI(CHPATH) :   Contents


4.1.10 SUBROUTINE ZXSEND(I, STEER, LHEAD) : SEND data

Communicate with the analysing code (via straight call, (as done in this version), by creating a ZEBRA file, or through a mail-box to a concurrent process)

ARGUMENTS:
INPUT :
    I     : Current event number
    STEER : Array of steering-information. Except for STEER(1,0)
            (event OK/not OK), only Row 3 (detector simulation
            steering) is used here.
OUTPUT :
    LHEAD : Pointer to top ZEBRA bank of data
IMPLICIT INPUTS:
    From /ZXEVT/ : EVTYPE : event type; NTRK : number of stable particles
       NHIT : Number of hits in detector per layer;
       NQRK,NBQRK,NCQRK,NHARD : Number of quarks, b-quarks, c-quarks,
       on-shell quarks in event; TRACK : True info on tracks ;
       HIT or TKR_AND_HIT: Detector hit pattern;
       TKRP or SMEARED_TRACK : Seen track parameters at perigee;
       XYZV : Main vertex average position; SIGV : Main vertex nominal error;
       XYZS : Main vertex position in this event.
IMPLICIT OUTPUTS:
    none.
CALLED BY :
ZXMAIN, the main program (see 4.1.1).

CALLED ROUTINE(S):
ZAPRCS (see 4.5.1)

(To PRoCeSs event.)

MZBOOK
(CERNLIB ZEBRA routine (only if EVOUT=TRUE.)
UCOPY
(CERNLIB routine.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
31-MAR-1995



Mikael Berggren 2003-03-27