PAASS
Software suite to Acquire and Analyze Data from Pixie16
BetaScintProcessor Class Reference

Detector processor that handles scintillator detectors for beta detection. More...

#include <BetaScintProcessor.hpp>

Inheritance diagram for BetaScintProcessor:
Collaboration diagram for BetaScintProcessor:

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)
 
- Public Member Functions inherited from EventProcessor
 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)
 
- Protected Member Functions inherited from EventProcessor
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_
 
- Protected Attributes inherited from EventProcessor
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
 

Detailed Description

Detector processor that handles scintillator detectors for beta detection.

Definition at line 35 of file BetaScintProcessor.hpp.

Constructor & Destructor Documentation

§ BetaScintProcessor() [1/2]

BetaScintProcessor::BetaScintProcessor ( )
inline

Default Constructor

Definition at line 38 of file BetaScintProcessor.hpp.

§ ~BetaScintProcessor()

BetaScintProcessor::~BetaScintProcessor ( )
inline

Default Destructor

Definition at line 40 of file BetaScintProcessor.hpp.

§ BetaScintProcessor() [2/2]

BetaScintProcessor::BetaScintProcessor ( double  gammaBetaLimit,
double  energyContraction 
)

Constructor taking limits on beta-gamma correlation and energy contraction

Parameters
[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.

Member Function Documentation

§ BestGammaForBeta()

EventData BetaScintProcessor::BestGammaForBeta ( double  bTime)
protected

Finds the most likely gamma associated with a given beta

Parameters
[in]bTime: The time of arrival for the beta particle
Returns
EventData for the match

Definition at line 32 of file BetaScintProcessor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ DeclarePlots()

void BetaScintProcessor::DeclarePlots ( void  )
virtual

Declare the Plots for the Processor

Reimplemented from EventProcessor.

Reimplemented in Beta4Hen3Processor.

Definition at line 58 of file BetaScintProcessor.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

§ GoodGammaBeta()

bool BetaScintProcessor::GoodGammaBeta ( double  gTime)
protected
Returns
true if gamma-beta correlation time is within limits.
Parameters
[in]gTime: the gamma time to check for coincidence

Definition at line 52 of file BetaScintProcessor.cpp.

Here is the caller graph for this function:

§ PreProcess()

bool BetaScintProcessor::PreProcess ( RawEvent event)
virtual

PreProcessing for the class.

Parameters
[in]event: The RawEvent
Returns
bool : Status of processing

Reimplemented from EventProcessor.

Definition at line 126 of file BetaScintProcessor.cpp.

Here is the call graph for this function:

§ Process()

bool BetaScintProcessor::Process ( RawEvent event)
virtual

Main Processing for the class.

Parameters
[in]event: The RawEvent
Returns
bool : Status of processing

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.

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

§ energyContraction_

double BetaScintProcessor::energyContraction_
protected

Contraction of beta energy for 2d plots (time-energy and gamma-beta energy

Definition at line 67 of file BetaScintProcessor.hpp.

§ gammaBetaLimit_

double BetaScintProcessor::gammaBetaLimit_
protected

Gamma-beta coin. limit in seconds

Definition at line 64 of file BetaScintProcessor.hpp.


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