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