#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) | |
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) | |
Private Attributes | |
std::map< double, double > | mCorFactors_ |
Amplitude correction for pulse containment in time. Currently only for HPD pulse shape.
Definition at line 14 of file HcalPulseContainmentCorrection.h.
HcalPulseContainmentCorrection::HcalPulseContainmentCorrection | ( | 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 17 of file HcalPulseContainmentCorrection.cc.
References mCorFactors_.
HcalPulseContainmentCorrection::HcalPulseContainmentCorrection | ( | const HcalPulseShape * | shape, |
int | num_samples, | ||
float | fixedphase_ns, | ||
float | max_fracerror | ||
) |
Definition at line 36 of file HcalPulseContainmentCorrection.cc.
References mCorFactors_.
|
inline |
Definition at line 24 of file HcalPulseContainmentCorrection.h.
References getCorrection().
double HcalPulseContainmentCorrection::getCorrection | ( | double | fc_ampl | ) | const |
Definition at line 50 of file HcalPulseContainmentCorrection.cc.
References gather_cfg::cout, mCorFactors_, and alignCSCRings::s.
Referenced by JetReCalibrator.JetReCalibrator::correct(), fractionContained(), ZdcSimpleRecAlgoImpl::reco1(), ZdcSimpleRecAlgoImpl::reco2(), and HcalSimpleRecAlgoImpl::removePileup().
|
private |
Definition at line 27 of file HcalPulseContainmentCorrection.h.
Referenced by getCorrection(), and HcalPulseContainmentCorrection().