6 #ifndef __BARDETECTOR_HPP__
7 #define __BARDETECTOR_HPP__
78 typedef std::map<TimingDefs::TimingIdentifier, BarDetector>
BarMap;
79 #endif // __BARDETECTOR_HPP__
double walkCorTimeAve_
The walk corrected time average.
Definition: BarDetector.hpp:65
bool GetHasEvent() const
Definition: BarDetector.hpp:31
double GetTimeAverage() const
Definition: BarDetector.hpp:41
TimingCalibration GetCalibration() const
Definition: BarDetector.hpp:55
double flightPath_
flight path of the particle to the detector
Definition: BarDetector.hpp:58
double walkCorTimeDiff_
The walk corrected time difference.
Definition: BarDetector.hpp:64
A class to hold the timing calibration for a detector.
Definition: TimingCalibrator.hpp:17
bool hasEvent_
true if there was an event in the bar
Definition: BarDetector.hpp:55
Class for holding information for high resolution timing.
Definition: HighResTimingData.hpp:14
double theta_
the angle of the particle w.r.t. the source
Definition: BarDetector.hpp:61
double GetQdcPosition() const
Definition: BarDetector.hpp:37
Class to hold all of the information for high resolution timing.
std::string GetType() const
Definition: BarDetector.hpp:53
A class to handle detectors that have two readouts viewing the same volume.
Definition: BarDetector.hpp:15
HighResTimingData right_
The Right side of the detector.
Definition: BarDetector.hpp:67
double timeDiff_
The time difference between the two ends.
Definition: BarDetector.hpp:63
double GetQdc() const
Definition: BarDetector.hpp:35
HighResTimingData GetLeftSide() const
Definition: BarDetector.hpp:49
HighResTimingData GetRightSide() const
Definition: BarDetector.hpp:51
HighResTimingData left_
The Left side of the detector.
Definition: BarDetector.hpp:68
std::map< TimingDefs::TimingIdentifier, BarDetector > BarMap
Definition: BarDetector.hpp:78
double timeAve_
The average arrival time of the left and right ends.
Definition: BarDetector.hpp:62
A class to handle the timing calibration parameters.
void CalcFlightPath(void)
Calculates the flight path of the particle.
~BarDetector()
Definition: BarDetector.hpp:20
double GetTimeDifference() const
Definition: BarDetector.hpp:43
double qdc_
QDC for the bar.
Definition: BarDetector.hpp:59
double qdcPos_
Position derived from the QDC.
Definition: BarDetector.hpp:60
double GetTheta() const
Definition: BarDetector.hpp:39
std::string type_
The type of bar detector it is.
Definition: BarDetector.hpp:66
TimingCalibration cal_
The Timing Calibration of the bar.
Definition: BarDetector.hpp:69
void BarEventCheck(void)
Checks to see if the event could physically be inside the bar.
double GetWalkCorTimeDiff() const
Definition: BarDetector.hpp:47
double GetWalkCorTimeAve() const
Definition: BarDetector.hpp:45
BarDetector()
Definition: BarDetector.hpp:18
double GetFlightPath() const
Definition: BarDetector.hpp:33