Belle II Software development
|
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. | |
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. | |
double | getNoiseCoefficient () const |
Returns noise term excess coefficient of electronic time resolution. | |
double | getQuadraticCoefficient () const |
Returns quadratic term coefficient of electronic time resolution. | |
double | getTimeWalk (int pulseHeight) const |
Returns time-walk at given pulse height. | |
double | getSigmaSq (int pulseHeight) const |
Returns an excess of electronic time resolution at given pulse height. | |
double | getSigma (int pulseHeight) const |
Returns an excess of electronic time resolution at given pulse height. | |
bool | isCalibrated () const |
Returns calibration status. | |
bool | isDefault () const |
Returns calibration status. | |
bool | isUnusable () const |
Returns calibration status. | |
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 |
|
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.
|
inline |
Switches calibration status to unusable to flag badly calibrated constants.
Definition at line 54 of file TOPCalTimeWalk.h.
|
private |
noise term excess coefficient [ns]
Definition at line 116 of file TOPCalTimeWalk.h.
|
private |
quadratic term coefficient [ns]
Definition at line 117 of file TOPCalTimeWalk.h.
calibration status
Definition at line 118 of file TOPCalTimeWalk.h.
|
private |
parameters of calibration curve [ns]
Definition at line 115 of file TOPCalTimeWalk.h.