Belle II Software development
|
Channel T0 calibration constants for all 512 channels of 16 modules. More...
#include <TOPCalChannelT0.h>
Public Types | |
enum | EStatus { c_Default = 0 , c_Calibrated = 1 , c_Unusable = 2 } |
Calibration status of a constant. More... | |
Public Member Functions | |
TOPCalChannelT0 () | |
Default constructor. | |
void | setT0 (int moduleID, unsigned channel, double T0, double errT0) |
Sets calibration for a single channel and switches status to calibrated. | |
void | setUnusable (int moduleID, unsigned channel) |
Switches calibration status to unusable to flag badly calibrated constant. | |
void | suppressAverage () |
Subtracts arithmetic average of a module from constants whose status is not c_Default. | |
double | getT0 (int moduleID, unsigned channel) const |
Returns T0 of a single channel. | |
double | getT0Error (int moduleID, unsigned channel) const |
Returns error on T0 of a single channel. | |
bool | isCalibrated (int moduleID, unsigned channel) const |
Returns calibration status. | |
bool | isDefault (int moduleID, unsigned channel) const |
Returns calibration status. | |
bool | isUnusable (int moduleID, unsigned channel) const |
Returns calibration status. | |
Private Types | |
enum | { c_numModules = 16 , c_numChannels = 512 } |
Sizes. More... | |
Private Member Functions | |
ClassDef (TOPCalChannelT0, 3) | |
ClassDef. | |
Private Attributes | |
float | m_T0 [c_numModules][c_numChannels] = {{0}} |
calibration constants | |
float | m_errT0 [c_numModules][c_numChannels] = {{0}} |
errors on constants | |
EStatus | m_status [c_numModules][c_numChannels] = {{c_Default}} |
calibration status | |
Channel T0 calibration constants for all 512 channels of 16 modules.
From calibration with laser system.
Definition at line 23 of file TOPCalChannelT0.h.
|
private |
Sizes.
Enumerator | |
---|---|
c_numModules | number of modules |
c_numChannels | number of channels per module |
Definition at line 109 of file TOPCalChannelT0.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 TOPCalChannelT0.h.
|
inline |
|
private |
errors on constants
Definition at line 114 of file TOPCalChannelT0.h.
|
private |
calibration status
Definition at line 115 of file TOPCalChannelT0.h.
|
private |
calibration constants
Definition at line 113 of file TOPCalChannelT0.h.