next up previous contents
Next: 4.5.6 INTEGER FUNCTION ZADCHC(PARCL, Up: 4.5 Patch SGVANA : Previous: 4.5.4 SUBROUTINE ZAUINI(STEER, MGEOM)   Contents


4.5.5 SUBROUTINE ZADECD(DATA, IREC, ARRAY , NW) : DECoDe data

Decode the information in ARRAY according to the format that is implied by the data type DATA.

ARGUMENTS:
INPUT :
    DATA : keyword describing the data. Starts with '//ROOT', followed by:
             '.SGV' : Global event variables.
             '.SGV.GEO'+ number of geometry+
                  '.PERIGEE' : perigee track parameters for this geometry
                  '.LAY'+layer number : Hits and track parameters at this
                                        detector layer.
                  '.SHOW' : showers in calorimeters.
             '.SGV.TRACK' : True track data (independent of the detector).
    IREC : record length of data
    ARRAY : buffer of data-words.
    NW : number of words (should be a multiple of IREC)
IMPLICIT INPUTS:
    none.
IMPLICIT OUTPUTS:
    To /ZASTE/ : IGEOM, geometry number.
    To /PXCPRO/ : BEAMOY, average beam position; SIGBE, beam spread.
    To /ZAEVT/ : EVTYPE, qqbar type (LUND code); NHARD,  # hard partons;
      NQRK, # quarks; NBQRK, # bquarks; NCQRK, # bquarks; XYZS, Main
      vertex position.; TTRK,  # total of tracks; NHFL, # heavy flavour quarks;
    To /ZATRA/ : All variables except STPNT and JETNBG loaded.
    To /ZATRS/ : TKR, track extrapolations to each detector-layer with hits
       generated.
    To /ZADTH/ : All variables except ER loaded.
CALLED BY :
ZAPRCS, Analysis PRoCeSsing (see 4.5.1).

CALLED ROUTINE(S):
ZADCHC (see 4.5.6)

(To do Decay CHain Coding.)

ZAMVAL (see 4.6.9)

(To get Mass VALue.)

PXTCPX (see 4.7.4)

(To transform Track parameters on Cylinder to PXpypz)

ZTTRIP (see 4.4.10)

(To get TRue Impact Parameters.)

VMOD,VSUB,UCOPY,VZERO
(CERNLIB routines.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
07-APR-1995


next up previous contents
Next: 4.5.6 INTEGER FUNCTION ZADCHC(PARCL, Up: 4.5 Patch SGVANA : Previous: 4.5.4 SUBROUTINE ZAUINI(STEER, MGEOM)   Contents
Mikael Berggren 2003-03-27