source: trunk/stdhep/stdhep.h@ 10

Last change on this file since 10 was 2, checked in by Pavel Demin, 16 years ago

first commit

File size: 1.2 KB
Line 
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)
12extern "C" {
13#endif
14
15#define NMXHEP 4000
16#define NMXMLT 16
17struct hepevt {
18int nevhep; /* The event number */
19int nhep; /* The number of entries in this event */
20int isthep[NMXHEP]; /* The Particle id */
21int idhep[NMXHEP]; /* The particle id */
22int jmohep[NMXHEP][2]; /* The position of the mother particle */
23int jdahep[NMXHEP][2]; /* Position of the first daughter... */
24double phep[NMXHEP][5]; /* 4-Momentum, mass */
25double vhep[NMXHEP][4]; /* Vertex information */
26};
27struct hepev2 {
28int nmulti; /* number of interactions in the list */
29int jmulti[NMXHEP]; /* multiple interaction number */
30};
31struct hepev3 {
32int nevmulti[NMXMLT]; /* event number of original interaction */
33int itrkmulti[NMXMLT]; /* first particle in the original interaction */
34int 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.