LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
LCIO.h
1 // -*- C++ -*-
2 // AID-GENERATED
3 // =========================================================================
4 // This class was generated by AID - Abstract Interface Definition
5 // DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6 // =========================================================================
7 #ifndef EVENT_LCIO_H
8 #define EVENT_LCIO_H 1
9 
10 namespace EVENT {
11 
12 
13 #define LCIO_MAJOR_VERSION 2
14 #define LCIO_MINOR_VERSION 7
15 #define LCIO_PATCH_LEVEL 4
16 
17 #define LCIO_VERSION_GE( MAJV , MINV ) ( ( LCIO_MAJOR_VERSION > MAJV ) || ( (LCIO_MAJOR_VERSION==MAJV) && ( LCIO_MINOR_VERSION >= MINV ) ) )
18 
19 #define LCIO_PATCHVERSION_GE( MAJV , MINV , PLEV) ( ( LCIO_MAJOR_VERSION > MAJV ) || ( (LCIO_MAJOR_VERSION==MAJV) && ( LCIO_MINOR_VERSION > MINV ) ) || ( (LCIO_MAJOR_VERSION==MAJV) && ( LCIO_MINOR_VERSION == MINV ) && ( LCIO_PATCH_LEVEL >= PLEV ) ) )
20 
28 class LCIO {
29 
30 public:
32  virtual ~LCIO() { /* nop */; }
33 
34  // it seems to be impossible to have one declaration for
35  // static constants in Java and C++ - so we need to define
36  // the same constants twice !!
37 
38  public:
39  // current version number of lcio
40  static const int MAJORVERSION = LCIO_MAJOR_VERSION ;
41  static const int MINORVERSION = LCIO_MINOR_VERSION ;
42 
43  // bits in flag words
44  // SimCalorimeterHit (CH)
45  static const int CHBIT_LONG = 31; // long(1) - short(0), (position)
46  static const int CHBIT_BARREL = 30 ; // barrel(1) - endcap(0)
47  static const int CHBIT_ID1 = 29 ; // cellid1 stored
48  static const int CHBIT_PDG = 28 ; // PDG(1) - no PDG(0) (detailed shower contributions) // DEPRECATED use: CHBIT_STEP
49  static const int CHBIT_STEP = 28 ; // detailed shower contributions
50 
51  // (raw) calorimeter hit
52  static const int RCHBIT_LONG = 31 ; // long(1) - short(0) , incl./excl. position
53  static const int RCHBIT_BARREL = 30 ; // barrel(1) - endcap(0)
54  static const int RCHBIT_ID1 = 29 ; // cellid1 stored
55  static const int RCHBIT_NO_PTR = 28 ; // 1: pointer tag not added
56  static const int RCHBIT_TIME = 27 ; // 1: time information stored
57  static const int RCHBIT_ENERGY_ERROR = 26 ; // 1: store energy error
58 
59  // raw tracker data (pulses)
60  static const int TRAWBIT_ID1 = 31 ; // cellid1 stored
61  static const int TRAWBIT_CM = 30 ; // cov matrix stored(1) - not stored(0)
62 
63  // raw tracker hit
64  static const int RTHBIT_ID1 = 31 ; // cellid1 stored
65 
66  // TrackerHitPlane
67  static const int RTHPBIT_ID1 = 31 ; // cellid1 stored
68 
69  // TrackerHitZCylinder
70  static const int RTHZBIT_ID1 = 31 ; // cellid1 stored
71 
72  // SimTrackerHit
73  static const int THBIT_BARREL = 31 ; // barrel(1) - endcap(0)
74  static const int THBIT_MOMENTUM = 30 ; // momentum of particle stored(1) - not stored(0)
75  static const int THBIT_ID1 = 29 ; // cellid1 stored
76 
77  // Tracks
78  static const int TRBIT_HITS = 31 ; // hits stored(1) - not stored(0)
79 
80  // Cluster
81  static const int CLBIT_HITS = 31 ; // hits stored(1) - not stored(0)
82 
83  // TPCHit
84  static const int TPCBIT_RAW = 31 ; // raw data stored(1) - not stored(0)
85  static const int TPCBIT_NO_PTR = 30 ; // 1: pointer tag not added (needed for TrackerHit)
86 
87 
88  // LCRelation
89  // static const int LCREL_ONE2MANY = 31 ; // relation is one to many
90  static const int LCREL_WEIGHTED = 31 ; // relations has weights
91 
92 
93  // LCGenericObject
94  static const int GOBIT_FIXED = 31 ; // is fixed size
95 
96  static const int READ_ONLY = 0 ;
97  static const int UPDATE = 1 ;
98  // error handling
99  static const int ERROR = 0 ;
100  static const int SUCCESS = 1 ;
101 
102  //write modes
103  static const int WRITE_NEW = 0 ;
104  static const int WRITE_APPEND = 1 ;
105 
106  // type names:
107  static const char* LCEVENT ;
108  static const char* LCRUNHEADER ;
109  static const char* LCCOLLECTION ;
110  static const char* MCPARTICLE ;
111  static const char* SIMCALORIMETERHIT ;
112  static const char* RAWCALORIMETERHIT ;
113  static const char* CALORIMETERHIT ;
114  static const char* SIMTRACKERHIT ;
115  static const char* TPCHIT ;
116  static const char* TRACKERRAWDATA ;
117  static const char* TRACKERDATA ;
118  static const char* TRACKERPULSE ;
119  static const char* TRACKERHIT ;
120  static const char* TRACKERHITPLANE ;
121  static const char* TRACKERHITZCYLINDER ;
122  static const char* LCSTRVEC ;
123  static const char* LCFLOATVEC ;
124  static const char* LCINTVEC ;
125  static const char* TRACK ;
126  static const char* TRACKSTATE ;
127  static const char* CLUSTER ;
128  static const char* RECONSTRUCTEDPARTICLE ;
129  static const char* LCRELATION ;
130  static const char* LCGENERICOBJECT ;
131  static const char* PARTICLEID;
132  static const char* VERTEX;
133 
134  // reserved names, e.g. name of event/collections paramaters
135 
136  static const char* CellIDEncoding ;
137 }; // class
138 } // namespace EVENT
139 #endif /* ifndef EVENT_LCIO_H */
Global constants used in LCIO.
Definition: LCIO.h:28
virtual ~LCIO()
Destructor.
Definition: LCIO.h:32