next up previous contents
Next: 4.5.8 SUBROUTINE ZATRLD : Up: 4.5 Patch SGVANA : Previous: 4.5.6 INTEGER FUNCTION ZADCHC(PARCL,   Contents


4.5.7 INTEGER FUNCTION ZAPTYP(ICD) : Particle TYPe

Find the 'type' of a decayed particle with JETSET flavour code ICD

ARGUMENTS:
INPUT :
    ICD    : JETSET flavour code.
IMPLICIT INPUTS:
    none.
IMPLICIT OUTPUTS:
    none.
FUNCTION VALUE:
type of the particle :
               1 : K, Lambda, Sigma, Xi or Omega that has decayed freely.
               2 : D+-.
               3 : D0 or D_s.
               4 : Lambda_c, Sigma_c, Xi_c and Omega_c.
               5 : B, B0 , B_s, Lambda_b, Xi_b and Sigma_b.
               16: Tau.
               17: Photon that has produced a e+e- pair.
               18: electron that has emitted a brems-strahlung photon.
               19: decayed pion or  K+-.
               20: particle has interacted with detector.
               30 : A particle that the user has asked to be saved.
CALLED BY :
ZADCHC, Decay CHain Coding (see 4.5.6).

CALLED ROUTINE(S):
none

SIDE EFFECTS:
none.

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
14-JUN-1996



Mikael Berggren 2003-03-27