LCIO
02.17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
cpp
include
CPPFORT
hepevt0.h
Go to the documentation of this file.
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
hepevt_t::isthep
int isthep[NMXHEP]
Definition:
hepevt0.h:50
hepevt_t::vhep
double vhep[NMXHEP][4]
Definition:
hepevt0.h:55
hepevt_t::idhep
int idhep[NMXHEP]
Definition:
hepevt0.h:51
hepevt_t::nhep
int nhep
Definition:
hepevt0.h:49
NMXHEP
#define NMXHEP
StdHep fortran interface to the COMMON /HEPEVT/ used for MCParticle data.
Definition:
hepevt0.h:46
hepevt_t::jdahep
int jdahep[NMXHEP][2]
Definition:
hepevt0.h:53
hepevt_t::phep
double phep[NMXHEP][5]
Definition:
hepevt0.h:54
hepevt_t::nevhep
int nevhep
Definition:
hepevt0.h:48
hepevt_t
Definition:
hepevt0.h:47
hepevt_t::jmohep
int jmohep[NMXHEP][2]
Definition:
hepevt0.h:52
Generated on Thu Dec 16 2021 15:42:53 for LCIO by
1.8.5