Belle II Software development
|
Common T0 calibration constant. More...
#include <TOPCalCommonT0.h>
Public Types | |
enum | EStatus { c_Default = 0 , c_Calibrated = 1 , c_Unusable = 2 , c_roughlyCalibrated = 3 } |
Calibration status of a constant. More... | |
Public Member Functions | |
TOPCalCommonT0 () | |
Default constructor. | |
TOPCalCommonT0 (double T0, double errT0) | |
Full constructor, sets status to calibrated. | |
void | setUnusable () |
Switches calibration status to unusable to flag badly calibrated constant. | |
void | setRoughlyCalibrated () |
Switches calibration status to roughly calibrated (usefull at HLT/express reco) | |
double | getT0 () const |
Returns T0. | |
double | getT0Error () const |
Returns error on T0. | |
bool | isCalibrated () const |
Returns calibration status. | |
bool | isDefault () const |
Returns calibration status. | |
bool | isUnusable () const |
Returns calibration status. | |
bool | isRoughlyCalibrated () const |
Returns calibration status. | |
Private Member Functions | |
ClassDef (TOPCalCommonT0, 3) | |
ClassDef. | |
Private Attributes | |
float | m_T0 = 0 |
calibration constant | |
float | m_errT0 = 0 |
error on constant | |
EStatus | m_status = c_Default |
calibration status | |
Common T0 calibration constant.
Calibration can be intra run dependent. Done usually with di-muon events.
Definition at line 23 of file TOPCalCommonT0.h.
enum EStatus |
Calibration status of a constant.
Notes:
Enumerator | |
---|---|
c_Default | uncalibrated default value |
c_Calibrated | good calibrated value |
c_Unusable | bad calibrated value |
c_roughlyCalibrated | only roughly calibrated value (for HLT/expressreco) |
Definition at line 34 of file TOPCalCommonT0.h.
|
inline |
|
inline |
Full constructor, sets status to calibrated.
T0 | common T0 |
errT0 | error on T0 |
Definition at line 52 of file TOPCalCommonT0.h.
|
inline |
|
inline |
|
inline |
Returns calibration status.
Definition at line 81 of file TOPCalCommonT0.h.
|
inline |
Returns calibration status.
Definition at line 87 of file TOPCalCommonT0.h.
|
inline |
Returns calibration status.
Definition at line 99 of file TOPCalCommonT0.h.
|
inline |
Returns calibration status.
Definition at line 93 of file TOPCalCommonT0.h.
|
inline |
Switches calibration status to roughly calibrated (usefull at HLT/express reco)
Definition at line 63 of file TOPCalCommonT0.h.
|
inline |
Switches calibration status to unusable to flag badly calibrated constant.
Definition at line 58 of file TOPCalCommonT0.h.
|
private |
error on constant
Definition at line 104 of file TOPCalCommonT0.h.
calibration status
Definition at line 105 of file TOPCalCommonT0.h.
|
private |
calibration constant
Definition at line 103 of file TOPCalCommonT0.h.