Belle II Software development
|
Calibration constants for ASIC shifts of all 16 modules. More...
#include <TOPCalAsicShift.h>
Public Types | |
enum | EStatus { c_Default = 0 , c_Calibrated = 1 , c_Unusable = 2 } |
Calibration status of a constant. More... | |
Public Member Functions | |
TOPCalAsicShift () | |
Default constructor. | |
void | setT0 (int moduleID, unsigned asic, double T0) |
Sets calibration for a single ASIC and switches status to calibrated. | |
void | setUnusable (int moduleID, unsigned asic) |
Switches calibration status to unusable to flag badly calibrated constant. | |
double | getT0 (int moduleID, unsigned asic) const |
Returns T0 of a single asic. | |
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. | |
Private Types | |
enum | { c_numModules = 16 , c_numAsics = 64 } |
Sizes. More... | |
Private Member Functions | |
ClassDef (TOPCalAsicShift, 1) | |
ClassDef. | |
Private Attributes | |
float | m_T0 [c_numModules][c_numAsics] = {{0}} |
calibration constants | |
EStatus | m_status [c_numModules][c_numAsics] = {{c_Default}} |
calibration status | |
Calibration constants for ASIC shifts of all 16 modules.
These are discrete shifts, usually in steps of a system clock (roughly 8 ns).
Definition at line 23 of file TOPCalAsicShift.h.
|
private |
Sizes.
Enumerator | |
---|---|
c_numModules | number of modules |
c_numAsics | number of ASIC's per module |
Definition at line 94 of file TOPCalAsicShift.h.
enum EStatus |
Calibration status of a constant.
Enumerator | |
---|---|
c_Default | uncalibrated default value |
c_Calibrated | good calibrated value |
c_Unusable | bad calibrated value |
Definition at line 29 of file TOPCalAsicShift.h.
|
inline |
|
private |
calibration status
Definition at line 99 of file TOPCalAsicShift.h.
|
private |
calibration constants
Definition at line 98 of file TOPCalAsicShift.h.