Rev | Line | |
---|
[2] | 1 | #ifndef STDHEP_H
|
---|
| 2 | #define STDHEP_H
|
---|
| 3 | /*
|
---|
| 4 | ** Basic COMMON block from STDHEP: the HEPEVT COMMON block
|
---|
| 5 | ** See product StDhep
|
---|
| 6 | */
|
---|
| 7 | /* note that to avoid alignment problems, structures and common blocks
|
---|
| 8 | should be in the order: double precision, real, integer.
|
---|
| 9 | */
|
---|
| 10 |
|
---|
| 11 | #if defined(c_plusplus) || defined(__cplusplus)
|
---|
| 12 | extern "C" {
|
---|
| 13 | #endif
|
---|
| 14 |
|
---|
| 15 | #define NMXHEP 4000
|
---|
| 16 | #define NMXMLT 16
|
---|
| 17 | struct hepevt {
|
---|
| 18 | int nevhep; /* The event number */
|
---|
| 19 | int nhep; /* The number of entries in this event */
|
---|
| 20 | int isthep[NMXHEP]; /* The Particle id */
|
---|
| 21 | int idhep[NMXHEP]; /* The particle id */
|
---|
| 22 | int jmohep[NMXHEP][2]; /* The position of the mother particle */
|
---|
| 23 | int jdahep[NMXHEP][2]; /* Position of the first daughter... */
|
---|
| 24 | double phep[NMXHEP][5]; /* 4-Momentum, mass */
|
---|
| 25 | double vhep[NMXHEP][4]; /* Vertex information */
|
---|
| 26 | };
|
---|
| 27 | struct hepev2 {
|
---|
| 28 | int nmulti; /* number of interactions in the list */
|
---|
| 29 | int jmulti[NMXHEP]; /* multiple interaction number */
|
---|
| 30 | };
|
---|
| 31 | struct hepev3 {
|
---|
| 32 | int nevmulti[NMXMLT]; /* event number of original interaction */
|
---|
| 33 | int itrkmulti[NMXMLT]; /* first particle in the original interaction */
|
---|
| 34 | int mltstr[NMXMLT]; /* stream this event is from */
|
---|
| 35 | };
|
---|
| 36 |
|
---|
| 37 | #if defined(c_plusplus) || defined(__cplusplus)
|
---|
| 38 | }
|
---|
| 39 | #endif
|
---|
| 40 |
|
---|
| 41 | #endif /* STDHEP_H */
|
---|
| 42 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.