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

A class to handle detectors that have two readouts viewing the same volume. More...

#include <BarDetector.hpp>

Collaboration diagram for BarDetector:

Public Member Functions

 BarDetector ()
 
 ~BarDetector ()
 
 BarDetector (const HighResTimingData &Left, const HighResTimingData &Right, const TimingCalibration &cal, const std::string &type)
 The constructor for the structure. More...
 
bool GetHasEvent () const
 
double GetFlightPath () const
 
double GetQdc () const
 
double GetQdcPosition () const
 
double GetTheta () const
 
double GetTimeAverage () const
 
double GetTimeDifference () const
 
double GetWalkCorTimeAve () const
 
double GetWalkCorTimeDiff () const
 
HighResTimingData GetLeftSide () const
 
HighResTimingData GetRightSide () const
 
std::string GetType () const
 
TimingCalibration GetCalibration () const
 

Private Member Functions

void BarEventCheck (void)
 Checks to see if the event could physically be inside the bar.
 
void CalcFlightPath (void)
 Calculates the flight path of the particle.
 

Private Attributes

bool hasEvent_
 true if there was an event in the bar
 
double flightPath_
 flight path of the particle to the detector
 
double qdc_
 QDC for the bar.
 
double qdcPos_
 Position derived from the QDC.
 
double theta_
 the angle of the particle w.r.t. the source
 
double timeAve_
 The average arrival time of the left and right ends.
 
double timeDiff_
 The time difference between the two ends.
 
double walkCorTimeDiff_
 The walk corrected time difference.
 
double walkCorTimeAve_
 The walk corrected time average.
 
std::string type_
 The type of bar detector it is.
 
HighResTimingData right_
 The Right side of the detector.
 
HighResTimingData left_
 The Left side of the detector.
 
TimingCalibration cal_
 The Timing Calibration of the bar.
 

Detailed Description

A class to handle detectors that have two readouts viewing the same volume.

Constructor & Destructor Documentation

BarDetector::BarDetector ( )
inline

Default constructor

BarDetector::~BarDetector ( )
inline

Default destructor

BarDetector::BarDetector ( const HighResTimingData Left,
const HighResTimingData Right,
const TimingCalibration cal,
const std::string &  type 
)

The constructor for the structure.

Parameters
[in]Right: The right side of the bar
[in]Left: The left side of the bar
[in]cal: The timing calibration for the bar
[in]type: The type of bar that we have

Member Function Documentation

TimingCalibration BarDetector::GetCalibration ( ) const
inline
Returns
The cal_ var
double BarDetector::GetFlightPath ( ) const
inline
Returns
the var
bool BarDetector::GetHasEvent ( ) const
inline
Returns
the hasEvent_ var
HighResTimingData BarDetector::GetLeftSide ( ) const
inline
Returns
the left_ var
double BarDetector::GetQdc ( ) const
inline
Returns
the qdc_ var
double BarDetector::GetQdcPosition ( ) const
inline
Returns
the qdcPos_ var
HighResTimingData BarDetector::GetRightSide ( ) const
inline
Returns
the right_ var
double BarDetector::GetTheta ( ) const
inline
Returns
the theta_ var
double BarDetector::GetTimeAverage ( ) const
inline
Returns
the timeAve_ var
double BarDetector::GetTimeDifference ( ) const
inline
Returns
the timeDiff_ var
std::string BarDetector::GetType ( ) const
inline
Returns
the type of bar detector
double BarDetector::GetWalkCorTimeAve ( ) const
inline
Returns
the walkCorTimeAve_ var
double BarDetector::GetWalkCorTimeDiff ( ) const
inline
Returns
the walkCorTimeDiff_ var

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