Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:25

0001 #ifndef RecoLocalCalo_HcalRecAlgos_HcalCorrectionFunctions_h_
0002 #define RecoLocalCalo_HcalRecAlgos_HcalCorrectionFunctions_h_
0003 
0004 ///Timeshift correction for HPDs based on the position of the peak ADC measurement.
0005 ///  Allows for an accurate determination of the relative phase of the pulse shape from
0006 ///  the HPD.  Calculated based on a weighted sum of the -1,0,+1 samples relative to the peak
0007 ///  as follows:  wpksamp = (0*sample[0] + 1*sample[1] + 2*sample[2]) / (sample[0] + sample[1] + sample[2])
0008 ///  where sample[1] is the maximum ADC sample value.
0009 float timeshift_ns_hbheho(float wpksamp);
0010 
0011 /// Special energy correction for some HB- cells
0012 float hbminus_special_ecorr(int ieta, int iphi, double energy, int runnum);
0013 
0014 #endif  // RecoLocalCalo_HcalRecAlgos_HcalCorrectionFunctions_h_