![]() |
Belle II Software
release-08-02-06
|
Calibration constants for time-walk correction and for tuning of electronic time resolution in digitization. More...
#include <TOPCalTimeWalk.h>


Public Types | |
| enum | EStatus { c_Default = 0 , c_Calibrated = 1 , c_Unusable = 2 } |
| Calibration status of a constant. More... | |
Public Member Functions | |
| TOPCalTimeWalk () | |
| Default constructor. | |
| void | set (const std::vector< double > &timeWalkParams, double noise, double quadratic) |
| Sets all the parameters and switches status to calibrated. More... | |
| void | setUnusable () |
| Switches calibration status to unusable to flag badly calibrated constants. | |
| const std::vector< double > & | getTimeWalkParams () const |
| Returns polynomial coefficients of time walk calibration curve. More... | |
| double | getNoiseCoefficient () const |
| Returns noise term excess coefficient of electronic time resolution. More... | |
| double | getQuadraticCoefficient () const |
| Returns quadratic term coefficient of electronic time resolution. More... | |
| double | getTimeWalk (int pulseHeight) const |
| Returns time-walk at given pulse height. More... | |
| double | getSigmaSq (int pulseHeight) const |
| Returns an excess of electronic time resolution at given pulse height. More... | |
| double | getSigma (int pulseHeight) const |
| Returns an excess of electronic time resolution at given pulse height. More... | |
| bool | isCalibrated () const |
| Returns calibration status. More... | |
| bool | isDefault () const |
| Returns calibration status. More... | |
| bool | isUnusable () const |
| Returns calibration status. More... | |
Private Member Functions | |
| ClassDef (TOPCalTimeWalk, 1) | |
| ClassDef. | |
Private Attributes | |
| std::vector< double > | m_timeWalkParams |
| parameters of calibration curve [ns] | |
| double | m_noise = 0 |
| noise term excess coefficient [ns] | |
| double | m_quadratic = 0 |
| quadratic term coefficient [ns] | |
| EStatus | m_status = c_Default |
| calibration status | |
Calibration constants for time-walk correction and for tuning of electronic time resolution in digitization.
Definition at line 24 of file TOPCalTimeWalk.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 31 of file TOPCalTimeWalk.h.
|
inline |
Returns noise term excess coefficient of electronic time resolution.
Definition at line 66 of file TOPCalTimeWalk.h.
|
inline |
Returns quadratic term coefficient of electronic time resolution.
Definition at line 72 of file TOPCalTimeWalk.h.
|
inline |
Returns polynomial coefficients of time walk calibration curve.
Definition at line 60 of file TOPCalTimeWalk.h.
|
inline |
Returns calibration status.
Definition at line 99 of file TOPCalTimeWalk.h.
|
inline |
Returns calibration status.
Definition at line 105 of file TOPCalTimeWalk.h.
|
inline |
Returns calibration status.
Definition at line 111 of file TOPCalTimeWalk.h.