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 463 of file HcalSimpleRecAlgo.cc.
References alignCSCRings::corr, hcalRecHitTable_cff::energy, JetChargeProducer_cfi::exp, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, METSignificanceParams_cfi::jeta, runnum, 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 584 of file HcalSimpleRecAlgo.cc.
References actual_ns_hbheho, createfilelist::int, num_bins_hbheho, wpksamp0_hbheho, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, and makeMEIFBenchmarkPlots::yval.
Referenced by HcalSimpleRecAlgoImpl::reco().