#include <CastorPulseContainmentCorrection.h>
Public Member Functions | |
CastorPulseContainmentCorrection (int num_samples, float fixedphase_ns, float max_fracerror) | |
Generate energy correction factors based on a predetermined phase of the hit + time slew. More... | |
double | fractionContained (double fc_ampl) const |
double | getCorrection (double fc_ampl) const |
Private Attributes | |
std::map< double, double > | mCorFactors_ |
Amplitude correction for pulse containment in time. Currently only for HPD pulse shape.
Definition at line 12 of file CastorPulseContainmentCorrection.h.
CastorPulseContainmentCorrection::CastorPulseContainmentCorrection | ( | int | num_samples, |
float | fixedphase_ns, | ||
float | max_fracerror | ||
) |
Generate energy correction factors based on a predetermined phase of the hit + time slew.
Definition at line 76 of file CastorPulseContainmentCorrection.cc.
References mCorFactors_.
|
inline |
double CastorPulseContainmentCorrection::getCorrection | ( | double | fc_ampl | ) | const |
Definition at line 92 of file CastorPulseContainmentCorrection.cc.
References pfMETCorrectionType0_cfi::correction, gather_cfg::cout, mCorFactors_, and alignCSCRings::s.
Referenced by JetReCalibrator.JetReCalibrator::correct(), and fractionContained().
|
private |
Definition at line 20 of file CastorPulseContainmentCorrection.h.
Referenced by CastorPulseContainmentCorrection(), and getCorrection().