00001
00002
00003
00004
00005
00006
00007 #ifndef EVENT_LCIO_H
00008 #define EVENT_LCIO_H 1
00009
00010 namespace EVENT {
00011
00012
00013 #define LCIO_MAJOR_VERSION 2
00014 #define LCIO_MINOR_VERSION 13
00015 #define LCIO_PATCH_LEVEL 1
00016
00017 #define LCIO_VERSION_GE( MAJV , MINV ) ( ( LCIO_MAJOR_VERSION > MAJV ) || ( (LCIO_MAJOR_VERSION==MAJV) && ( LCIO_MINOR_VERSION >= MINV ) ) )
00018
00019 #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 ) ) )
00020
00028 class LCIO {
00029
00030 public:
00032 virtual ~LCIO() { ; }
00033
00034
00035
00036
00037
00038 public:
00039
00040 static const int MAJORVERSION = LCIO_MAJOR_VERSION ;
00041 static const int MINORVERSION = LCIO_MINOR_VERSION ;
00042
00043
00044
00045 static const int CHBIT_LONG = 31;
00046 static const int CHBIT_BARREL = 30 ;
00047 static const int CHBIT_ID1 = 29 ;
00048 static const int CHBIT_PDG = 28 ;
00049 static const int CHBIT_STEP = 28 ;
00050
00051
00052 static const int RCHBIT_LONG = 31 ;
00053 static const int RCHBIT_BARREL = 30 ;
00054 static const int RCHBIT_ID1 = 29 ;
00055 static const int RCHBIT_NO_PTR = 28 ;
00056 static const int RCHBIT_TIME = 27 ;
00057 static const int RCHBIT_ENERGY_ERROR = 26 ;
00058
00059
00060 static const int TRAWBIT_ID1 = 31 ;
00061 static const int TRAWBIT_CM = 30 ;
00062
00063
00064 static const int RTHBIT_ID1 = 31 ;
00065
00066
00067 static const int RTHPBIT_ID1 = 31 ;
00068
00069
00070 static const int RTHZBIT_ID1 = 31 ;
00071
00072
00073 static const int THBIT_BARREL = 31 ;
00074 static const int THBIT_MOMENTUM = 30 ;
00075 static const int THBIT_ID1 = 29 ;
00076
00077
00078 static const int TRBIT_HITS = 31 ;
00079
00080
00081 static const int CLBIT_HITS = 31 ;
00082
00083
00084 static const int TPCBIT_RAW = 31 ;
00085 static const int TPCBIT_NO_PTR = 30 ;
00086
00087
00088
00089
00090 static const int LCREL_WEIGHTED = 31 ;
00091
00092
00093
00094 static const int GOBIT_FIXED = 31 ;
00095
00096 static const int READ_ONLY = 0 ;
00097 static const int UPDATE = 1 ;
00098
00099 static const int ERROR = 0 ;
00100 static const int SUCCESS = 1 ;
00101
00102
00103 static const int WRITE_NEW = 0 ;
00104 static const int WRITE_APPEND = 1 ;
00105
00106
00107 static const char* LCEVENT ;
00108 static const char* LCRUNHEADER ;
00109 static const char* LCCOLLECTION ;
00110 static const char* MCPARTICLE ;
00111 static const char* SIMCALORIMETERHIT ;
00112 static const char* RAWCALORIMETERHIT ;
00113 static const char* CALORIMETERHIT ;
00114 static const char* SIMTRACKERHIT ;
00115 static const char* TPCHIT ;
00116 static const char* TRACKERRAWDATA ;
00117 static const char* TRACKERDATA ;
00118 static const char* TRACKERPULSE ;
00119 static const char* TRACKERHIT ;
00120 static const char* TRACKERHITPLANE ;
00121 static const char* TRACKERHITZCYLINDER ;
00122 static const char* LCSTRVEC ;
00123 static const char* LCFLOATVEC ;
00124 static const char* LCINTVEC ;
00125 static const char* TRACK ;
00126 static const char* TRACKSTATE ;
00127 static const char* CLUSTER ;
00128 static const char* RECONSTRUCTEDPARTICLE ;
00129 static const char* LCRELATION ;
00130 static const char* LCGENERICOBJECT ;
00131 static const char* PARTICLEID;
00132 static const char* VERTEX;
00133
00134
00135
00136 static const char* CellIDEncoding ;
00137 };
00138 }
00139 #endif