![]() |
Belle II Software development
|
class to contain the CoG Time calibrations More...
#include <SVDCoGCalibrationFunction.h>
Public Types | |
| typedef double(SVDCoGCalibrationFunction::* | cogFunction) (double, int) const |
| typedef of the return value of the calibration function | |
| typedef double(SVDCoGCalibrationFunction::* | cogFunctionErr) (double, double, int) const |
| typedef of the return value of the calibration function ERROR | |
Public Member Functions | |
| double | calibratedValue (double raw_time, int trigger_bin) const |
| returns the calibrated value of raw_time, depending on the trigger bin | |
| double | calibratedValueError (double raw_time, double raw_timeErr, int trigger_bin) const |
| returns the error of the calibrated value of raw_time, depending on the trigger bin | |
| SVDCoGCalibrationFunction () | |
| constructor | |
| void | set_current (int current) |
| allows to choose the function version | |
| void | set_bias (double tb0, double tb1, double tb2, double tb3) |
| set the trigger bin dependent shift | |
| void | set_scale (double tb0, double tb1, double tb2, double tb3) |
| set the trigger bin dependent scale | |
| void | set_pol3parameters (double a, double b, double c, double d) |
| set the pol3 TB independent parameters | |
| void | set_pol5parameters (double a, double b, double c, double d, double e, double f) |
| set the pol5 TB independent parameters | |
| void | set_elsparameters (double a, double b, double c, double d) |
| set the parameters for the ELS TB independent function | |
| SVDCoGCalibrationFunction (const Belle2::SVDCoGCalibrationFunction &a) | |
| copy constructor | |
| SVDCoGCalibrationFunction & | operator= (const Belle2::SVDCoGCalibrationFunction &a) |
| operator = | |
Private Member Functions | |
| double | pol1TBdep (double raw_time, int tb) const |
| pol1 TB dep version implementation | |
| double | pol1TBdepErr (double, double raw_timeErr, int tb) const |
| implementation of pol1 TB dep error | |
| double | pol3TBindep (double raw_time, int) const |
| ID = 1, pol3TBindep VERSION: (TB independent) correctedValue = par[0] + t * par[1] + t^2 * par[2] + t^3 * par[3]. | |
| double | pol3TBindepErr (double raw_time, double raw_timeErr, int) const |
| implementation of pol3 TB indep error | |
| double | pol5TBindep (double raw_time, int) const |
| ID = 2, pol5TBindep VERSION: (TB independent) correctedValue = par[0] + t * par[1] + t^2 * par[2] + t^3 * par[3] + t^4 * par[4] + t^5*par[5]. | |
| double | pol5TBindepErr (double raw_time, double raw_timeErr, int) const |
| implementation of pol5 TB indep error | |
| double | elsTBindep (double raw_time, int) const |
| ID = 3, elsTBindep VERSION: (TB independent) correctedValue = par[0] + t * par[1] + par[2]/(t - par[3]) if t<=par[3]-sqrt(-par[2])/4 correctedValue = NaN otherwise. | |
| double | elsTBindepErr (double raw_time, double raw_timeErr, int) const |
| implementation of els TB indep error | |
Private Attributes | |
| double | m_bias [nTriggerBins] = {0} |
| function parameters & implementations | |
| double | m_scale [nTriggerBins] = {0} |
| trigger-bin dependent scale | |
| double | m_par [m_nPar] = {0} |
| vector of parameters | |
| int | m_current |
| current function ID | |
Static Private Attributes | |
| static const int | nTriggerBins = 4 |
| total number of trigger bins | |
| static const int | m_nPar = 6 |
| number of parameters of highest-order implemented pol (5) | |
| static std::vector< cogFunction > | m_implementations |
| vector of functions for time calibration, we use the m_current | |
| static std::vector< cogFunctionErr > | m_implementationsErr |
| Do not stream this, please throw it in the WC. | |
class to contain the CoG Time calibrations
Definition at line 23 of file SVDCoGCalibrationFunction.h.
| typedef double(SVDCoGCalibrationFunction::* cogFunction) (double, int) const |
typedef of the return value of the calibration function
Definition at line 28 of file SVDCoGCalibrationFunction.h.
| typedef double(SVDCoGCalibrationFunction::* cogFunctionErr) (double, double, int) const |
typedef of the return value of the calibration function ERROR
Definition at line 31 of file SVDCoGCalibrationFunction.h.
|
inline |
constructor
Definition at line 47 of file SVDCoGCalibrationFunction.h.
copy constructor
Definition at line 16 of file SVDCoGCalibrationFunction.cc.
|
inline |
returns the calibrated value of raw_time, depending on the trigger bin
Definition at line 34 of file SVDCoGCalibrationFunction.h.
|
inline |
returns the error of the calibrated value of raw_time, depending on the trigger bin
Definition at line 40 of file SVDCoGCalibrationFunction.h.
|
inlineprivate |
ID = 3, elsTBindep VERSION: (TB independent) correctedValue = par[0] + t * par[1] + par[2]/(t - par[3]) if t<=par[3]-sqrt(-par[2])/4 correctedValue = NaN otherwise.
els TB indep version implementation
Definition at line 196 of file SVDCoGCalibrationFunction.h.
|
inlineprivate |
implementation of els TB indep error
Definition at line 205 of file SVDCoGCalibrationFunction.h.
| SVDCoGCalibrationFunction & operator= | ( | const Belle2::SVDCoGCalibrationFunction & | a | ) |
operator =
Definition at line 27 of file SVDCoGCalibrationFunction.cc.
|
inlineprivate |
pol1 TB dep version implementation
Definition at line 149 of file SVDCoGCalibrationFunction.h.
|
inlineprivate |
implementation of pol1 TB dep error
Definition at line 155 of file SVDCoGCalibrationFunction.h.
|
inlineprivate |
ID = 1, pol3TBindep VERSION: (TB independent) correctedValue = par[0] + t * par[1] + t^2 * par[2] + t^3 * par[3].
pol3 TB indep version implementation
Definition at line 166 of file SVDCoGCalibrationFunction.h.
|
inlineprivate |
implementation of pol3 TB indep error
Definition at line 171 of file SVDCoGCalibrationFunction.h.
|
inlineprivate |
ID = 2, pol5TBindep VERSION: (TB independent) correctedValue = par[0] + t * par[1] + t^2 * par[2] + t^3 * par[3] + t^4 * par[4] + t^5*par[5].
pol5 TB indep version implementation
Definition at line 179 of file SVDCoGCalibrationFunction.h.
|
inlineprivate |
implementation of pol5 TB indep error
Definition at line 185 of file SVDCoGCalibrationFunction.h.
|
inline |
set the trigger bin dependent shift
Definition at line 83 of file SVDCoGCalibrationFunction.h.
|
inline |
allows to choose the function version
Definition at line 76 of file SVDCoGCalibrationFunction.h.
|
inline |
set the parameters for the ELS TB independent function
Definition at line 124 of file SVDCoGCalibrationFunction.h.
|
inline |
set the pol3 TB independent parameters
Definition at line 102 of file SVDCoGCalibrationFunction.h.
|
inline |
set the pol5 TB independent parameters
Definition at line 112 of file SVDCoGCalibrationFunction.h.
|
inline |
set the trigger bin dependent scale
Definition at line 91 of file SVDCoGCalibrationFunction.h.
|
private |
function parameters & implementations
ID = {0}, pol1TBdep VERSION: correctedValue = t * scale[tb] + bias[tb] trigger-bin dependent bias
Definition at line 146 of file SVDCoGCalibrationFunction.h.
|
private |
current function ID
Definition at line 214 of file SVDCoGCalibrationFunction.h.
|
staticprivate |
vector of functions for time calibration, we use the m_current
Definition at line 217 of file SVDCoGCalibrationFunction.h.
|
staticprivate |
Do not stream this, please throw it in the WC.
vector of functions for time error calibration, we use the m_current
Definition at line 220 of file SVDCoGCalibrationFunction.h.
|
staticprivate |
number of parameters of highest-order implemented pol (5)
Definition at line 161 of file SVDCoGCalibrationFunction.h.
|
private |
|
private |
|
staticprivate |
total number of trigger bins
Definition at line 141 of file SVDCoGCalibrationFunction.h.