Use calibration coefficients to compute energy and store in event.
module ApplyCalibration verbosity = info enable = true CalibrationFilename = Calibration.txt EnergyVarName = energy AmplitudeVarName = endmod
Public Member Functions | |
MApplyCalibration (QSequence *s) | |
constructor | |
~MApplyCalibration () | |
destructor | |
void | Init () |
Init method. | |
QEvent * | Do (QEvent *ev) |
Do method. | |
void | Done () |
Done method. | |
Private Attributes | |
TF1 * | fCalFunction |
Function used for calibration. | |
std::string | fEnergyVarName |
Variable name to store energy in AuxData. | |
std::string | fAmplitudeVarName |
Variable name to store amplitude in AuxData. | |
std::map< int, double * > | fParams |
Map of calibration parameters for each channel. | |
bool | fEnableBlinding |
Option to blind the region of interest. | |
double | fROImin |
double | fROImax |
std::string | fEnergyShiftVarName |