LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
hepevt0.h
1 // -*- C++ -*-
9 /*
10 ** Basic HEPEVT COMMON block
11 C ------------------------------------------------------------------
12 C
13  integer NMXHEP
14  parameter (NMXHEP=4000)
15  common/HEPEVT/NEVHEP,NHEP,ISTHEP(NMXHEP),IDHEP(NMXHEP),
16  &JMOHEP(2,NMXHEP),JDAHEP(2,NMXHEP),PHEP(5,NMXHEP),VHEP(4,NMXHEP)
17  integer NEVHEP,NHEP,ISTHEP,IDHEP,JMOHEP,JDAHEP
18  double precision PHEP,VHEP
19  save /HEPEVT/
20 C... NEVHEP - event number
21 C... NHEP - number of entries in this event
22 C... ISTHEP(..) - status code
23 C... IDHEP(..) - particle ID, P.D.G. standard
24 C... JMOHEP(1,..) - position of mother particle in list
25 C... JMOHEP(2,..) - position of second mother particle in list
26 C... JDAHEP(1,..) - position of first daughter in list
27 C... JDAHEP(2,..) - position of last daughter in list
28 C... PHEP(1,..) - x momentum in GeV/c
29 C... PHEP(2,..) - y momentum in GeV/c
30 C... PHEP(3,..) - z momentum in GeV/c
31 C... PHEP(4,..) - energy in GeV
32 C... PHEP(5,..) - mass in GeV/c**2
33 C... VHEP(1,..) - x vertex position in mm
34 C... VHEP(2,..) - y vertex position in mm
35 C... VHEP(3,..) - z vertex position in mm
36 C... VHEP(4,..) - production time in mm/c
37 C
38 C -------------------------------------------------------------------
39 C
40 */
41 
42 /* note that to avoid alignment problems, structures and common blocks
43  should be in the order: double precision, real, integer.
44 */
45 
46 #define NMXHEP 4000
47 struct hepevt_t {
48 int nevhep; /* The event number */
49 int nhep; /* The number of entries in this event */
50 int isthep[NMXHEP]; /* The Particle id */
51 int idhep[NMXHEP]; /* The particle id */
52 int jmohep[NMXHEP][2]; /* The position of the mother particle */
53 int jdahep[NMXHEP][2]; /* Position of the first daughter... */
54 double phep[NMXHEP][5]; /* 4-Momentum, mass */
55 double vhep[NMXHEP][4]; /* Vertex information */
56 };
57 
58 /* prototypes */
59 extern "C"
60 {
61 extern struct hepevt_t hepevt_;
62 }
63 
64 #define FTNhep hepevt_
65 
Definition: hepevt0.h:47