PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
Detector processor that handles scintillator detectors for beta detection. More...
#include <BetaScintProcessor.hpp>
Public Member Functions | |
BetaScintProcessor () | |
~BetaScintProcessor () | |
BetaScintProcessor (double gammaBetaLimit, double energyContraction) | |
virtual bool | PreProcess (RawEvent &event) |
PreProcessing for the class. More... | |
virtual bool | Process (RawEvent &event) |
Main Processing for the class. More... | |
virtual void | DeclarePlots (void) |
![]() | |
EventProcessor () | |
EventProcessor (int offset, int range, std::string name) | |
virtual | ~EventProcessor () |
virtual const std::set< std::string > & | GetTypes (void) const |
virtual bool | DidProcess (void) const |
virtual bool | HasEvent (void) const |
virtual bool | Init (RawEvent &event) |
void | EndProcess (void) |
std::string | GetName (void) const |
Protected Member Functions | |
EventData | BestGammaForBeta (double bTime) |
bool | GoodGammaBeta (double gTime) |
![]() | |
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... | |
Protected Attributes | |
double | gammaBetaLimit_ |
double | energyContraction_ |
![]() | |
std::string | name |
Name of the Processor. More... | |
std::set< std::string > | associatedTypes |
Set of associated types for Processor. More... | |
bool | initDone |
True if the initialization has finished. More... | |
bool | didProcess |
True if the process finished. More... | |
std::map< std::string, const DetectorSummary * > | sumMap |
Map of associated detector summary. More... | |
Plots | histo |
Detector processor that handles scintillator detectors for beta detection.
Definition at line 35 of file BetaScintProcessor.hpp.
|
inline |
Default Constructor
Definition at line 38 of file BetaScintProcessor.hpp.
|
inline |
Default Destructor
Definition at line 40 of file BetaScintProcessor.hpp.
BetaScintProcessor::BetaScintProcessor | ( | double | gammaBetaLimit, |
double | energyContraction | ||
) |
Constructor taking limits on beta-gamma correlation and energy contraction
[in] | gammaBetaLimit | : the maximum time diff between beta and gamma events |
[in] | energyContraction | : the number to contract the energy by |
Definition at line 24 of file BetaScintProcessor.cpp.
|
protected |
Finds the most likely gamma associated with a given beta
[in] | bTime | : The time of arrival for the beta particle |
Definition at line 32 of file BetaScintProcessor.cpp.
|
virtual |
Declare the Plots for the Processor
Reimplemented from EventProcessor.
Reimplemented in Beta4Hen3Processor.
Definition at line 58 of file BetaScintProcessor.cpp.
|
protected |
[in] | gTime | : the gamma time to check for coincidence |
Definition at line 52 of file BetaScintProcessor.cpp.
|
virtual |
PreProcessing for the class.
[in] | event | : The RawEvent |
Reimplemented from EventProcessor.
Definition at line 126 of file BetaScintProcessor.cpp.
|
virtual |
Main Processing for the class.
[in] | event | : The RawEvent |
Place Cycle is activated by BeamOn event and deactivated by TapeMove
Cycle time is measured from the begining of the last BeamON event
True if gammas were recorded during the event
Reimplemented from EventProcessor.
Reimplemented in Beta4Hen3Processor.
Definition at line 145 of file BetaScintProcessor.cpp.
|
protected |
Contraction of beta energy for 2d plots (time-energy and gamma-beta energy
Definition at line 67 of file BetaScintProcessor.hpp.
|
protected |
Gamma-beta coin. limit in seconds
Definition at line 64 of file BetaScintProcessor.hpp.