#include <HcalPulseContainmentCorrection.h>
Public Member Functions | |
double | fractionContained (double fc_ampl) const |
double | getCorrection (double fc_ampl) const |
HcalPulseContainmentCorrection (int num_samples, float fixedphase_ns, float max_fracerror, const HcalTimeSlew *hcalTimeSlew_delay) | |
Generate energy correction factors based on a predetermined phase of the hit + time slew. More... | |
HcalPulseContainmentCorrection (const HcalPulseShape *shape, int num_samples, float fixedphase_ns, float max_fracerror, const HcalTimeSlew *hcalTimeSlew_delay) | |
Private Attributes | |
std::map< double, double > | mCorFactors_ |
Amplitude correction for pulse containment in time. Currently only for HPD pulse shape.
Definition at line 15 of file HcalPulseContainmentCorrection.h.
HcalPulseContainmentCorrection::HcalPulseContainmentCorrection | ( | int | num_samples, |
float | fixedphase_ns, | ||
float | max_fracerror, | ||
const HcalTimeSlew * | hcalTimeSlew_delay | ||
) |
Generate energy correction factors based on a predetermined phase of the hit + time slew.
Definition at line 17 of file HcalPulseContainmentCorrection.cc.
References mCorFactors_.
HcalPulseContainmentCorrection::HcalPulseContainmentCorrection | ( | const HcalPulseShape * | shape, |
int | num_samples, | ||
float | fixedphase_ns, | ||
float | max_fracerror, | ||
const HcalTimeSlew * | hcalTimeSlew_delay | ||
) |
Definition at line 37 of file HcalPulseContainmentCorrection.cc.
References mCorFactors_.
|
inline |
Definition at line 27 of file HcalPulseContainmentCorrection.h.
References getCorrection().
double HcalPulseContainmentCorrection::getCorrection | ( | double | fc_ampl | ) | const |
Definition at line 51 of file HcalPulseContainmentCorrection.cc.
References pfMETCorrectionType0_cfi::correction, gather_cfg::cout, mCorFactors_, and alignCSCRings::s.
Referenced by JetReCalibrator.JetReCalibrator::correct(), fractionContained(), ZdcSimpleRecAlgoImpl::reco1(), ZdcSimpleRecAlgoImpl::reco2(), and HcalSimpleRecAlgoImpl::removePileup().
|
private |
Definition at line 30 of file HcalPulseContainmentCorrection.h.
Referenced by getCorrection(), and HcalPulseContainmentCorrection().