#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 81 of file CastorPulseContainmentCorrection.cc.
References mCorFactors_.
|
inline |
Definition at line 19 of file CastorPulseContainmentCorrection.h.
References getCorrection().
double CastorPulseContainmentCorrection::getCorrection | ( | double | fc_ampl | ) | const |
Definition at line 98 of file CastorPulseContainmentCorrection.cc.
References gather_cfg::cout, mCorFactors_, and alignCSCRings::s.
Referenced by fractionContained(), and CastorSimpleRecAlgoImpl::reco().
|
private |
Definition at line 22 of file CastorPulseContainmentCorrection.h.
Referenced by CastorPulseContainmentCorrection(), and getCorrection().