]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGen/EvtGenModels/stdhep.inc
Converting TEvtGen to native cmake
[u/mrichter/AliRoot.git] / TEvtGen / EvtGen / EvtGenModels / stdhep.inc
CommitLineData
da0e9ce3 1C*******************************************************
2C ---------------------------------------------------------------------
3C The stdhep event common
4C ---------------------------------------------------------------------
5C This is the "official" event common of the HEP community for MC events.
6C NEVHEP = event number
7C NHEP = number of particles ("lines")
8C ISTHEP(N) = stability code; 0 if stable, 1 if decays.
9C IDHEP(I) = particle ID code; see PDG '92, III.73
10C JMOHEP(1,I) = line number of mother particle
11C JMOHEP(2,I) = line number of last mother particle, if formed by string
12C JDAHEP(1,I) = line number of 1st daughter particle
13C JDAHEP(2,I) = line number of last daughter particle - MUST BE CONSECUTIVE!
14C PHEP(5,I) = px,py,pz,E,m of particle
15C VHEP(4,I) = x,y,z,L of production vertex
16
17 INTEGER nmxhep ! maximum number of particles
0ca57c2f 18 PARAMETER ( nmxhep=10000)
da0e9ce3 19 REAL*8 phep, vhep ! to be real*4 or *8 depending on host
20 INTEGER nevhep,nhep,isthep,idhep,jmohep,
21 $ jdahep
22 COMMON /hepevt/
23 $ nevhep, ! serial number
24 $ nhep, ! number of particles
25 $ isthep(nmxhep), ! status code
26 $ idhep(nmxhep), ! particle ident KF
27 $ jmohep(2,nmxhep), ! parent particles
28 $ jdahep(2,nmxhep), ! childreen particles
29 $ phep(5,nmxhep), ! four-momentum, mass [GeV]
30 $ vhep(4,nmxhep) ! vertex [mm]
31
da0e9ce3 32c$$$ INTEGER NMXHEP,NEVHEP,NHEP,ISTHEP,IDHEP,JMOHEP,JDAHEP
33c$$$ REAL PHEP,VHEP
34c$$$ PARAMETER (NMXHEP=2000)
35c$$$ COMMON/STDHEP/NEVHEP,NHEP,ISTHEP(NMXHEP),IDHEP(NMXHEP),
36c$$$ *JMOHEP(2,NMXHEP),JDAHEP(2,NMXHEP),PHEP(5,NMXHEP),VHEP(4,NMXHEP)
37c$$$ SAVE /STDHEP/