47 void setT0(
int moduleID,
double T0,
double errT0);
66 double getT0(
int moduleID)
const;
Module T0 calibration constants for all 16 modules.
TOPCalModuleT0()
Default constructor.
float m_errT0[c_numModules]
errors on constants
EStatus m_status[c_numModules]
calibration status
float m_T0[c_numModules]
calibration constants
@ c_numModules
number of modules
EStatus
Calibration status of a constant.
@ c_Calibrated
good calibrated value
@ c_Unusable
bad calibrated value
@ c_Default
uncalibrated default value
ClassDef(TOPCalModuleT0, 3)
ClassDef.
bool isCalibrated(int moduleID) const
Returns calibration status.
void suppressAverage()
Subtracts arithmetic average from constants whose status is not c_Default.
double getT0Error(int moduleID) const
Returns error on T0 of a module.
void setUnusable(int moduleID)
Switches calibration status to unusable to flag badly calibrated constant.
bool isDefault(int moduleID) const
Returns calibration status.
bool isUnusable(int moduleID) const
Returns calibration status.
void setT0(int moduleID, double T0, double errT0)
Sets calibration for a single module and switches status to calibrated.
double getT0(int moduleID) const
Returns T0 of a module.
Abstract base class for different kinds of events.