42 14., 14., 9.4, 4.7, 3.0, 2.1, 1.6, 1.3, 1.1, 0.9, 0.8, 0.7, 0.5, 0.3, 0.2, 0.16, 0.14,
43 14., 14., 9.4, 4.7, 3.0, 2.1, 1.6, 1.3, 1.1, 0.9, 0.8, 0.7, 0.5, 0.3, 0.2, 0.16, 0.14,
44 7.0, 5.0, 3.6, 2.2, 1.2, 0.8, 0.7, 0.6, 0.5, 0.45,0.38,0.36, 0.27, 0.2, 0.20,0.20, 0.20,
45 14., 14., 9.4, 4.7, 3.0, 2.1, 1.6, 1.3, 1.0, 0.9, 0.8, 0.7, 0.5, 0.3, 0.2, 0.16, 0.14,
46 2.3, 1.8, 1.3, 0.9, 0.6, 0.4, 0.3, 0.3, 0.3, 0.3, 0.25,0.25, 0.25, 0.25, 0.25, 0.25, 0.25
50 24., 18., 12.5, 9.5, 4.7, 3.2, 2.3, 2.0, 1.7, 1.4, 1.2, 1.1, 0.7, 0.4, 0.3, 0.23, 0.19, 0.16, 0.14, 0.12,
51 24., 18., 12.5, 9.5, 4.7, 3.2, 2.3, 2.0, 1.7, 1.4, 1.2, 1.1, 0.7, 0.4, 0.3, 0.23, 0.19, 0.16, 0.14, 0.12,
52 7, 5.5, 3.7, 2.9, 2.0, 1.7, 1.7, 1.6, 1.5, 1.3, 1.3, 1.1, 0.86, 0.28, 0.18, 0.14, 0.15, 0.14, 0.14, 0.13,
53 24., 18., 12.5, 9.5, 4.7, 3.2, 2.3, 2.0, 1.7, 1.4, 1.2, 1.1, 0.7, 0.4, 0.3, 0.23, 0.19, 0.16, 0.14, 0.12,
54 7, 5.5, 1.4, 1.1, 0.67, 0.44, 0.29, 0.23, 0.24, 0.19, 0.14, 0.18, 0.14, 0.12, 0.13, 0.14, 0.12, 0.13, 0.13, 0.12
148 Double_t digiT = theDigi->GetTimeStamp();
164 vFunc[4]=vFunc[3]*vFunc[3];
165 vFunc[5]=vFunc[4]*vFunc[3];
178 cout<<
"path = "<<path<<
", mod = "<<mod<<
", corrT = "<<corrT<<endl;
180 return digiT - corrT;
185 Double_t bumpT = theBump->GetTimeStamp();
202 vFunc[4]=vFunc[3]*vFunc[3];
203 vFunc[5]=vFunc[4]*vFunc[3];
225 cout<<
"path = "<<path<<
", mod = "<<mod<<
", corrT = "<<corrT<<endl;
227 return bumpT - corrT;
233 Int_t TheIndexOfModule = theDigi->
GetModule();
240 Int_t TheIndexOfModule = theBump->
GetModule();
245 if(energy < 0.006)
return 0;
246 if(energy < 0.008)
return 1;
247 if(energy < 0.010)
return 2;
249 return 2 + Int_t(energy/0.01);
251 Int_t
idx = 11 + Int_t(energy/0.1);
252 if(idx > 16) idx = 16;
259 if(energy < 0.006)
return 0;
260 if(energy < 0.008)
return 1;
261 if(energy < 0.010)
return 2;
263 return 2 + Int_t(energy/0.01);
265 Int_t
idx = 11 + Int_t(energy/0.1);
266 if(idx > 19) idx = 19;
virtual Double_t GetEnergy() const
represents the reconstructed hit of one emc crystal
Short_t GetModule() const
Double_t CalibrationEvtTimeByDigi(PndEmcDigi *theDigi, bool PrintOut=kFALSE) const
static T Sqrt(const T &x)
Short_t GetModule() const
static Double_t fTimeWindowOfShower[5][20]
Double_t GetTimeResolutionOfShower(PndEmcBump *theBump) const
static Double_t fTimeWindowOfDigi[5][17]
Int_t GetIdxByEnergy(Double_t energy) const
Double_t CalibrationEvtTimeByBump(PndEmcBump *theBump, bool PrintOut=kFALSE) const
virtual ~PndEmcDigiCalibrator()
Int_t NumberOfDigis() const
virtual Double_t energy() const
const TVector3 & where() const
Double_t GetTimeResolutionOfDigi(PndEmcDigi *theDigi) const
represents a reconstructed (splitted) emc cluster
Int_t GetIdxByEnergyForBump(Double_t energy) const