Belle II Software development
|
This class defines the dbobject and the methods to access the SVD calibrations from the local runs providing the constants needed to correct the strip time computed with the CoG. More...
#include <SVDCoGTimeCalibrations.h>
Public Types | |
typedef SVDCalibrationsBase< SVDCalibrationsScalar< SVDCoGCalibrationFunction > > | t_payload |
typedef for the SVDCoGCalibrationFunction payload of all SVD sensors | |
Public Member Functions | |
SVDCoGTimeCalibrations () | |
Constructor, no input argument is required. | |
double | getCorrectedTime (const Belle2::VxdID &sensorID, const bool &isU, const unsigned short &strip, const double &raw_time, const int &bin) const |
Return the strip time, given the raw strip time. | |
double | getCorrectedTimeError (const Belle2::VxdID &sensorID, const bool &isU, const unsigned short &strip, const double &raw_time, const double &raw_timeErr, const int &bin) const |
Return the strip time error, given the raw strip time, and tje raw time error. | |
TString | getUniqueID () |
returns the unique ID of the payload | |
bool | isValid () |
returns true if the m_aDBObtPtr is valid in the requested IoV | |
Static Public Attributes | |
static std::string | name = std::string("SVDCoGTimeCalibrations") |
name of the SVDCoGCalibrationFunction payload | |
Private Attributes | |
DBObjPtr< t_payload > | m_aDBObjPtr |
SVDCoGCalibrationFunction payload. | |
This class defines the dbobject and the methods to access the SVD calibrations from the local runs providing the constants needed to correct the strip time computed with the CoG.
Definition at line 30 of file SVDCoGTimeCalibrations.h.
typedef for the SVDCoGCalibrationFunction payload of all SVD sensors
Definition at line 34 of file SVDCoGTimeCalibrations.h.
|
inline |
Constructor, no input argument is required.
Definition at line 37 of file SVDCoGTimeCalibrations.h.
|
inline |
Return the strip time, given the raw strip time.
Input:
sensorID | identity of the sensor for which the calibration is required |
isU | sensor side, true for p side, false for n side |
strip | strip number - NOT USED |
raw_time | : raw CoG time in ns |
bin | : trigger bin (0,1,2,3) |
Output: double corresponding to the corrected time [ns]
Definition at line 55 of file SVDCoGTimeCalibrations.h.
|
inline |
Return the strip time error, given the raw strip time, and tje raw time error.
Input:
sensorID | identity of the sensor for which the calibration is required |
isU | sensor side, true for p side, false for n side |
strip | strip number - NOT USED |
raw_time | : raw CoG time in ns |
raw_timeErr | : raw CoG time in ns |
bin | : trigger bin (0,1,2,3) |
Output: double corresponding to the corrected time [ns]
Definition at line 83 of file SVDCoGTimeCalibrations.h.
|
inline |
|
inline |
returns true if the m_aDBObtPtr is valid in the requested IoV
Definition at line 103 of file SVDCoGTimeCalibrations.h.
SVDCoGCalibrationFunction payload.
Definition at line 108 of file SVDCoGTimeCalibrations.h.
|
static |
name of the SVDCoGCalibrationFunction payload
Definition at line 32 of file SVDCoGTimeCalibrations.h.