2 #ifndef myEcalShowerPlus_h
3 #define myEcalShowerPlus_h
12 #endif //#ifdef _WITHGBATCH_
33 inline short int ComputeIndex(
short int Cell,
short int Plane){
return Cell + 100*Plane; }
35 inline short int GetPlane(
short int index) {
return ((
short int)(index/100)); };
36 inline short int GetCell(
short int index) {
return ((
short int)(index%100)); };
91 float GetEcalBDT(
unsigned int iBDTVERSION=5,
int TMVAClassifier=0,
int EnergyFlag=0);
97 float GetEcalBDTCHI2(
unsigned int iBDTVERSION=3,
int TMVAClassifier=0,
int EnergyFlag=0);
103 float GetEcalHitADC(
short int Cell,
short int Plane,
int component);
117 virtual void Clear(Option_t* option=
"");
126 float adc_highgain[18][72];
127 float adc_lowgain[18][72];
128 float adc_dynode[9][36];
129 float adc_dynodeC[18][72];
130 UInt_t cell_status[18][72];
140 myEcalShowerPlusFiller();
142 ~myEcalShowerPlusFiller();
146 void AddResults(EcalHitR* hit);
148 virtual void Fill(EcalShowerR* _shower,
bool kShort=
false);
150 virtual void Clear(Option_t* option=
"");
159 #endif //#ifdef _WITHGBATCH_