#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, bool phaseAsInSim, 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, bool phaseAsInSim, 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, | ||
bool | phaseAsInSim, | ||
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, | ||
bool | phaseAsInSim, | ||
float | max_fracerror, | ||
const HcalTimeSlew * | hcalTimeSlew_delay | ||
) |
Definition at line 38 of file HcalPulseContainmentCorrection.cc.
References mCorFactors_.
|
inline |
Definition at line 29 of file HcalPulseContainmentCorrection.h.
References getCorrection().
double HcalPulseContainmentCorrection::getCorrection | ( | double | fc_ampl | ) | const |
Definition at line 53 of file HcalPulseContainmentCorrection.cc.
References pfMETCorrectionType0_cfi::correction, gather_cfg::cout, mCorFactors_, and alignCSCRings::s.
Referenced by JetReCalibrator.JetReCalibrator::correct(), and fractionContained().
|
private |
Definition at line 32 of file HcalPulseContainmentCorrection.h.
Referenced by getCorrection(), and HcalPulseContainmentCorrection().