next up previous contents
Next: 4.6.9 REAL FUNCTION ZAMVAL(CD) Up: 4.6 Patch SGVANAUTL : Previous: 4.6.7 SUBROUTINE ZAUBOS (   Contents


4.6.8 SUBROUTINE ZAUPRN : PaReNts

This routine fills common /ZAPRN/, containing information on the long-lived (ie. such flying detectably far from the main vertex before decaying) parents of seen particles.

ARGUMENTS:
none.

IMPLICIT INPUTS:
    From /ZAEVT/ : TTRK, total # of tracks; NJET, # of jets.
    From /ZATRS/ : RDEC,true radius of production; VERT,production
                   vertex pos. of track; PPAR,momentum of parent of track;
                   ANC,Number of the heavy flavour ancestor of the track;
                   CLGHistory class of track; PVEC,true momentum of track;
                   JETNB,jet number of the track.
                   TRACK is used locally.
    From /ZAJET/ : JETTYP, jet type.
IMPLICIT OUTPUTS:
    To /ZATRS/ : PARNB, Parent-number in /ZAPRN/;
    To /ZAPRN/ : All variables set here :
                 NDEC, Number of 'flying' decayed particles;
                 DECCL, class of decay (cf /ZATRS/);
                 JETDEC, Jet that first decay product belongs to;
                 PANC, Ultimate ancestor of particle.;
                 PPARNB, Pointer to parents of decayed particles.;
                 KIDNB, to kids in /ZATRS/ (stable kids);
                 PKIDNB, to kids in /ZAPRN/ itself (unstable kids);
                 PDEC, Momentum decayed particle;
                 RDECP, Radius of decay;
                 NPROD, Number of stable decay-products;
                 PNPROD, Number of unstable decay-products;
                 PRODV, decay-point;
                 PCHP, of true 4-momentum of decay products.
    To /ZAJET/ : HF1DEC, 1:st heavy flavour decay point; HF2DEC, sec.
                 heavy flavour decay point; HFCHP, sum p of decay-products of
                 h.f.; HFP1; 1:st heavy flavour momentum; HFP2, sec. heavy
                 flavour momentum; DC1, decay-class of 1:st h.f.  decay;
                 DC2, decay-class of 2:nd h.f.  decay; NHFP, number of h.f.
                 decay products.
CALLED BY :
ZAUSER (see 4.5.10).

CALLED ROUTINE(S):
SORTZV,VZERO,VMOD,UCOPY,VADD,VDOTN
(CERNLIB routines.)

SIDE EFFECTS:
none

AUTHORS:
M. Berggren, UFRJ

CREATION DATE:
11-APR-1995



Mikael Berggren 2003-03-27