Class to process VANDLE related events.
More...
#include <VandleProcessor.hpp>
|
virtual double | CorrectTOF (const double &TOF, const double &corRadius, const double &z0) |
| Correct the time of flight based on the geometry of the setup. More...
|
|
virtual void | plot (int dammId, double val1, double val2=-1, double val3=-1, const char *name="h") |
| Implementation of the plot command to interface with the DAMM routines. More...
|
|
virtual void | DeclareHistogram1D (int dammId, int xSize, const char *title) |
| Declares a 1D histogram calls the C++ wrapper for DAMM. More...
|
|
virtual void | DeclareHistogram2D (int dammId, int xSize, int ySize, const char *title) |
| Declares a 2D histogram calls the C++ wrapper for DAMM. More...
|
|
Class to process VANDLE related events.
VandleProcessor::VandleProcessor |
( |
| ) |
|
VandleProcessor::~VandleProcessor |
( |
| ) |
|
|
inline |
VandleProcessor::VandleProcessor |
( |
const std::vector< std::string > & |
typeList, |
|
|
const double & |
res, |
|
|
const double & |
offset, |
|
|
const unsigned int & |
numStarts |
|
) |
| |
Constructor taking a list of detector types as an argument
- Parameters
-
[in] | typeList | : the list of bar types that are in the analysis |
[in] | res | : The resolution of the DAMM histograms |
[in] | offset | : The offset of the DAMM histograms |
void VandleProcessor::AnalyzeBarStarts |
( |
void |
| ) |
|
|
private |
Analyze the data for scenarios with Bar Starts; e.g. Double Beta detectors
void VandleProcessor::AnalyzeStarts |
( |
void |
| ) |
|
|
private |
Analyze the data for scenarios with Single sided Starts; e.g. LeRIBSS beta scintillators.
void VandleProcessor::ClearMaps |
( |
void |
| ) |
|
|
private |
Clear the maps in anticipation for the next event
virtual double VandleProcessor::CorrectTOF |
( |
const double & |
TOF, |
|
|
const double & |
corRadius, |
|
|
const double & |
z0 |
|
) |
| |
|
inlineprotectedvirtual |
Correct the time of flight based on the geometry of the setup.
- Parameters
-
[in] | TOF | : The time of flight to correct |
[in] | corRadius | : the corrected radius for the flight path |
[in] | z0 | : perpendicular distance from the source to bar |
- Returns
- True if the retrieval was successful.
virtual void VandleProcessor::DeclarePlots |
( |
void |
| ) |
|
|
virtual |
void VandleProcessor::FillVandleOnlyHists |
( |
| ) |
|
|
private |
Fill up the basic histograms
virtual bool VandleProcessor::PreProcess |
( |
RawEvent & |
event | ) |
|
|
virtual |
Preprocess the VANDLE data
- Parameters
-
[in] | event | : the event to preprocess |
- Returns
- true if successful
Reimplemented from EventProcessor.
virtual bool VandleProcessor::Process |
( |
RawEvent & |
event | ) |
|
|
virtual |
unsigned int VandleProcessor::ReturnOffset |
( |
const std::string & |
type | ) |
|
|
private |
- Returns
- Returns the appropriate offset based off the VANDLE bar type
- Parameters
-
[in] | type | : The type of bar that we are dealing with |
The documentation for this class was generated from the following file: