A class to hold the timing calibration for a detector.
More...
#include <TimingCalibrator.hpp>
|
double | lrtOffset_ |
| left-right time offset
|
|
double | xOffset_ |
| offset between the center of the bar and the source
|
|
double | z0_ |
| perpendicular distance between the bar and source
|
|
double | zOffset_ |
| additional corrections to z0
|
|
std::map< unsigned int, double > | tofOffsets_ |
| A map holding all of the ToF offsets w.r.t. starts.
|
|
A class to hold the timing calibration for a detector.
TimingCalibration::TimingCalibration |
( |
| ) |
|
|
inline |
TimingCalibration::~TimingCalibration |
( |
| ) |
|
|
inline |
double TimingCalibration::GetLeftRightTimeOffset |
( |
void |
| ) |
const |
|
inline |
- Returns
- The left-right time offset in ns
unsigned int TimingCalibration::GetNumTofOffsets |
( |
void |
| ) |
const |
|
inline |
- Returns
- the number of ToF Offsets that were read in from the calibration
double TimingCalibration::GetTofOffset |
( |
const unsigned int & |
a | ) |
const |
|
inline |
- Returns
- time offset w.r.t. start at location a
- Parameters
-
[in] | a | : location of the start to get the offset for |
double TimingCalibration::GetXOffset |
( |
void |
| ) |
const |
|
inline |
- Returns
- offset between the center of the bar and the source in cm
double TimingCalibration::GetZ0 |
( |
void |
| ) |
const |
|
inline |
- Returns
- the perpendicular distance between the bar and source in cm
double TimingCalibration::GetZOffset |
( |
void |
| ) |
const |
|
inline |
- Returns
- additional corrections to z0 in cm (UNUSED)
void TimingCalibration::SetDefaults |
( |
void |
| ) |
|
|
inlineprivate |
Initializer for a default timing calibration
void TimingCalibration::SetLeftRightTimeOffset |
( |
const double & |
a | ) |
|
|
inline |
Sets the left-right time offset
- Parameters
-
void TimingCalibration::SetTofOffset |
( |
const unsigned int & |
a, |
|
|
const double & |
b |
|
) |
| |
|
inline |
Sets the time offset w.r.t. to start location
- Parameters
-
[in] | a | : the start location |
[in] | b | : the offset in ns |
void TimingCalibration::SetXOffset |
( |
const double & |
a | ) |
|
|
inline |
Sets the offset between the center of the bar and the source
- Parameters
-
void TimingCalibration::SetZ0 |
( |
const double & |
a | ) |
|
|
inline |
Sets the perpendicular distance between the bar and source
- Parameters
-
[in] | a | : the distance in cm |
void TimingCalibration::SetZOffset |
( |
const double & |
a | ) |
|
|
inline |
Sets the additional corrections to z0
- Parameters
-
The documentation for this class was generated from the following file: