48 void setT0(
int moduleID,
unsigned asic,
double T0);
63 double getT0(
int moduleID,
unsigned asic)
const;
79 bool isDefault(
int moduleID,
unsigned asic)
const;
87 bool isUnusable(
int moduleID,
unsigned asic)
const;
Calibration constants for ASIC shifts of all 16 modules.
@ c_numModules
number of modules
@ c_numAsics
number of ASIC's per module
float m_T0[c_numModules][c_numAsics]
calibration constants
EStatus m_status[c_numModules][c_numAsics]
calibration status
EStatus
Calibration status of a constant.
@ c_Calibrated
good calibrated value
@ c_Unusable
bad calibrated value
@ c_Default
uncalibrated default value
ClassDef(TOPCalAsicShift, 1)
ClassDef.
TOPCalAsicShift()
Default constructor.
void setUnusable(int moduleID, unsigned asic)
Switches calibration status to unusable to flag badly calibrated constant.
bool isCalibrated(int moduleID, unsigned asic) const
Returns calibration status.
bool isDefault(int moduleID, unsigned asic) const
Returns calibration status.
bool isUnusable(int moduleID, unsigned asic) const
Returns calibration status.
void setT0(int moduleID, unsigned asic, double T0)
Sets calibration for a single ASIC and switches status to calibrated.
double getT0(int moduleID, unsigned asic) const
Returns T0 of a single asic.
Abstract base class for different kinds of events.