10 #include <framework/database/DBObjPtr.h>
11 #include <calibration/CalibrationAlgorithm.h>
12 #include <ecl/dbobjects/ECLLeakageCorrections.h>
Base class for calibration algorithms.
EResult
The result of calibration.
Calculate ECL energy leakage corrections.
double getNoNCrysThreshold()
Getter for m_noNCrysThreshold.
float t_energyFrac
measured energy (without leakage correction) divided by generated
float t_locationError
reconstructed minus generated position (cm)
int t_energyBin
generated energy point
virtual ~eclLeakageAlgorithm()
Destructor.
double m_noNCrysThreshold
no nCrys fits below this value
int t_thetaID
thetaID of photon
double getLowEnergyThreshold()
Getter for m_lowEnergyThreshold.
int t_phiBin
binned location in phi relative to crystal edge
int t_phiMech
mechanical structure next to lower phi (0), upper phi (1), or neither (2)
int t_region
region of photon 0=forward 1=barrel 2=backward
int t_thetaBin
binned location in theta relative to crystal edge
void setNoNCrysThreshold(double noNCrysThreshold)
Setter for m_noNCrysThreshold.
int t_nCrys
number of crystals used to calculate energy
virtual EResult calibrate() override
Run algorithm.
void setLowEnergyThreshold(double lowEnergyThreshold)
Setter for m_lowEnergyThreshold.
eclLeakageAlgorithm()
Constructor.
double m_lowEnergyThreshold
Parameters to control fit procedure.
float t_origEnergyFrac
measured energy with leakage correction divided by generated
Abstract base class for different kinds of events.