00001
00002
00003
00004
00005
00013 #ifndef StMuArrays_hh
00014 #define StMuArrays_hh
00015 #include "Rtypes.h"
00017
00018 enum emcTypes {muEmcTow=0, muEmcPrs, muEmcSmde, muEmcSmdp, muEEmcPrs, muEEmcSmdu, muEEmcSmdv};
00019
00020 enum fmsTypes {muFmsHit=0};
00021 #ifndef __NO_STRANGE_MUDST__
00023 enum strangeTypes {smuEv=0, smuEvMc, smuV0, smuV0Mc, smuV0Assoc, smuXi, smuXiMc, smuXiAssoc, smuKink, smuKinkMc, smuKinkAssoc, smuCut};
00024 #endif
00026 enum MCTypes {MCVertex=0, MCTrack};
00028 enum muDstTypes {muEvent=0, muPrimaryVertex, muPrimary, muGlobal, muOther, muL3, muRich, muState, muAccept, muReject, muCovGlobTrack, muCovPrimTrack, mupp2pp,muMtd};
00029
00031 enum pmdTypes {muPmdHit=0, muCpvHit, muPmdCluster, muCpvCluster};
00032
00034
00035 enum tofTypes {muTofHit=0, muTofData, muTofRawData};
00036
00038 enum btofTypes {muBTofHit=0, muBTofRawHit, muBTofHeader};
00039
00041 enum eztTypes {muEztHead=0, muEztTrig, muEztETow, muEztESmd,muEztFpd};
00042
00043 enum NARRAYS {
00044 __NARRAYS__ =14,
00045 #ifndef __NO_STRANGE_MUDST__
00046 __NSTRANGEARRAYS__ =12,
00047 #endif
00048 __NMCARRAYS__ =2,
00049 __NEMCARRAYS__ =7 ,
00050 __NPMDARRAYS__ =4 ,
00051 __NFMSARRAYS__ =1 ,
00052
00053 __NTOFARRAYS__ =3 ,
00054 __NBTOFARRAYS__ =3 ,
00055 __NEZTARRAYS__ =5 ,
00056
00057 #ifndef __NO_STRANGE_MUDST__
00058 __NALLARRAYS__ = __NARRAYS__+__NSTRANGEARRAYS__+__NMCARRAYS__+__NEMCARRAYS__+__NFMSARRAYS__+__NPMDARRAYS__+__NTOFARRAYS__+__NBTOFARRAYS__+__NEZTARRAYS__
00059 #else
00060 __NALLARRAYS__ = __NARRAYS__+__NMCARRAYS__+__NEMCARRAYS__+__NFMSARRAYS__+__NPMDARRAYS__+__NTOFARRAYS__+__NBTOFARRAYS__+__NEZTARRAYS__
00061 #endif
00062 };
00063 class StMuArrays {
00064 public:
00065 StMuArrays();
00067 static const char* arrayNames [__NALLARRAYS__ ];
00068 #ifndef __NO_STRANGE_MUDST__
00069 static const char** strangeArrayNames;
00070 #endif
00071 static const char** mcArrayNames;
00072 static const char** emcArrayNames;
00073 static const char** pmdArrayNames;
00074 static const char** fmsArrayNames;
00075 static const char** tofArrayNames;
00076 static const char** btofArrayNames;
00077 static const char** eztArrayNames;
00078
00080 static const char* arrayTypes [__NALLARRAYS__ ];
00081 #ifndef __NO_STRANGE_MUDST__
00082 static const char** strangeArrayTypes;
00083 #endif
00084 static const char** mcArrayTypes;
00085 static const char** emcArrayTypes;
00086 static const char** pmdArrayTypes;
00087 static const char** fmsArrayTypes;
00088 static const char** tofArrayTypes;
00089 static const char** btofArrayTypes;
00090 static const char** eztArrayTypes;
00091
00093 static int arraySizes [__NALLARRAYS__ ];
00094 #ifndef __NO_STRANGE_MUDST__
00095 static int* strangeArraySizes;
00096 #endif
00097 static int* mcArraySizes;
00098 static int* emcArraySizes;
00099 static int* pmdArraySizes;
00100 static int* fmsArraySizes;
00101 static int* tofArraySizes;
00102 static int* btofArraySizes;
00103 static int* eztArraySizes;
00104
00106 static int arrayCounters [__NALLARRAYS__ ];
00107 #ifndef __NO_STRANGE_MUDST__
00108 static int*strangeArrayCounters;
00109 #endif
00110 static int*mcArrayCounters;
00111 static int* emcArrayCounters;
00112 static int* pmdArrayCounters;
00113 static int* fmsArrayCounters;
00114 static int* tofArrayCounters;
00115 static int* btofArrayCounters;
00116 static int* eztArrayCounters;
00117 ClassDef(StMuArrays,0)
00118 };
00119
00120 #endif
00121
00122
00123
00124
00125
00126
00127
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
00143
00144
00145
00146
00147
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
00170
00171
00172
00173
00174
00175
00176
00177
00178
00179
00180
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
00192
00193
00194