Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
TimingCalibrator Class Reference

Class to handle time calibrations for bar type detectors - Singleton. More...

#include <TimingCalibrator.hpp>

Collaboration diagram for TimingCalibrator:

Public Member Functions

TimingCalibration GetCalibration (const TimingDefs::TimingIdentifier &id)
 

Static Public Member Functions

static TimingCalibratorget ()
 

Private Member Functions

 TimingCalibrator (const TimingCalibrator &)
 Default constructor. More...
 
TimingCalibratoroperator= (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, TimingCalibrationcalibrations_
 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 TimingCalibratorinstance
 static instance of the class
 

Detailed Description

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

Constructor & Destructor Documentation

TimingCalibrator::TimingCalibrator ( const TimingCalibrator )
private

Default constructor.

Overload of the constructor

Member Function Documentation

static TimingCalibrator* TimingCalibrator::get ( )
static
Returns
Instance of the TimingCalibrator class
TimingCalibration TimingCalibrator::GetCalibration ( const TimingDefs::TimingIdentifier id)
Returns
The calibration for the requested bar
Parameters
[in]id: the id of the bar that you want the calibration for

The documentation for this class was generated from the following file: