Go to the source code of this file.
Functions | |
float | hbminus_special_ecorr (int ieta, int iphi, double energy, int runnum) |
Special energy correction for some HB- cells. More... | |
float | timeshift_ns_hbheho (float wpksamp) |
float hbminus_special_ecorr | ( | int | ieta, |
int | iphi, | ||
double | energy, | ||
int | runnum | ||
) |
Special energy correction for some HB- cells.
Special energy correction for some HB- cells.
Definition at line 412 of file HcalSimpleRecAlgo.cc.
References corr, JetChargeProducer_cfi::exp, METSignificanceParams_cfi::jeta, and slope.
Referenced by SimpleHBHEPhase1Algo::hbminusCorrectionFactor().
float timeshift_ns_hbheho | ( | float | wpksamp | ) |
Timeshift correction for HPDs based on the position of the peak ADC measurement. Allows for an accurate determination of the relative phase of the pulse shape from the HPD. Calculated based on a weighted sum of the -1,0,+1 samples relative to the peak as follows: wpksamp = (0*sample[0] + 1*sample[1] + 2*sample[2]) / (sample[0] + sample[1] + sample[2]) where sample[1] is the maximum ADC sample value.
Definition at line 531 of file HcalSimpleRecAlgo.cc.
References actual_ns_hbheho, createfilelist::int, num_bins_hbheho, and wpksamp0_hbheho.
Referenced by SimpleHBHEPhase1Algo::m0Time(), and HcalSimpleRecAlgoImpl::reco().