next up previous contents
Next: 4.5.7 INTEGER FUNCTION ZAPTYP(ICD) Up: 4.5 Patch SGVANA : Previous: 4.5.5 SUBROUTINE ZADECD(DATA, IREC,   Contents


4.5.6 INTEGER FUNCTION ZADCHC(PARCL, PARCD): Decay CHain Coding

Code the decay-chain of a particle whos parent belongs to the decay-chain type PARCL and and has code PARCD.

ARGUMENTS:
INPUT :
    PARCL    : decay-chain code of the parent
    PARCD    : JETSET flavour code of the parent
IMPLICIT INPUTS:
    none.
IMPLICIT OUTPUTS:
    none.
FUNCTION VALUE:
History class of the track :
      0   :   from Vertex
      1   :   from decay of strange particle
      2   :   from decay of D+-
      3   :   from decay of D0
      4   :   from decay of other charmed particle
      5   :   from decay of beauty particle
      6   :   from strange particle, coming from D+-
      7   :   from strange particle, coming from D0
      8   :   from strange particle, coming from other charmed particle
      9   :   from strange particle, coming from beauty
      10  :   from decay of D+- coming from a beauty decay
      11  :   from decay of D0 coming from a beauty decay
      12  :   from decay of other charmed particle coming from a
              beauty decay
      13  :   from strange particle, coming from D+-, which in turn
              comes from a beauty decay.
      14  :   from strange particle, coming from D0, which in turn
              comes from a beauty decay.
      15  :   from strange particle, coming from other charmed particle,
              which in turn comes from a beauty decay.
      16  :   from tau-decay
      17  :   electron from gamma conversion
      18  :   electron after brems-strahlung.
      19  :   From long-lived particle decay (pi+-,K+-)
      20  :   From nuclear reinteraction in the detector.
      any of the above + 30 :
              The ultimate ancestor of the particle was a particle
              of a kind the user requested to save (or set a non-zero
              life time to)

CALLED BY :
ZADECD, DECode Data (see 4.5.5).

CALLED ROUTINE(S):
ZAPTYP (see 4.5.7)

(To find Particle TYPe.)

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
14-JUN-1996



Mikael Berggren 2003-03-27