Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
|
Class to handle time calibrations for bar type detectors - Singleton. More...
#include <TimingCalibrator.hpp>
Public Member Functions | |
TimingCalibration | GetCalibration (const TimingDefs::TimingIdentifier &id) |
Static Public Member Functions | |
static TimingCalibrator * | get () |
Private Member Functions | |
TimingCalibrator (const TimingCalibrator &) | |
Default constructor. More... | |
TimingCalibrator & | operator= (TimingCalibrator const &) |
the copy constructor | |
void | ReadTimingCalXml () |
Reads in the calibrations in the XML config. | |
Private Attributes | |
Messenger | m_ |
Instance of the Messenger class to output information. | |
std::map< TimingDefs::TimingIdentifier, TimingCalibration > | calibrations_ |
map to hold the calibrations | |
TimingCalibration | default_ |
A default (all zeroes) calibration to return if none present. | |
bool | isVerbose_ |
The setting of the verbosity of the Timing Calibrations. | |
Static Private Attributes | |
static TimingCalibrator * | instance |
static instance of the class | |
Class to handle time calibrations for bar type detectors - Singleton.
It is important to note that "left" generally refers to the upstream side of the bar detector
|
private |
Default constructor.
Overload of the constructor
|
static |
TimingCalibration TimingCalibrator::GetCalibration | ( | const TimingDefs::TimingIdentifier & | id | ) |
[in] | id | : the id of the bar that you want the calibration for |