Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
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
 

Static Public Attributes

static const double timeSpectraTimeResolution = 10e-3
 

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.
 
std::set< std::string > associatedTypes
 Set of associated types for Processor.
 
bool initDone
 True if the initialization has finished.
 
bool didProcess
 True if the process finished.
 
std::map< std::string, const DetectorSummary * > sumMap
 Map of associated detector summary.
 
Plots histo
 

Detailed Description

Detector processor that handles scintillator detectors for beta detection.

Constructor & Destructor Documentation

BetaScintProcessor::BetaScintProcessor ( )
inline

Default Constructor

BetaScintProcessor::~BetaScintProcessor ( )
inline

Default Destructor

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

Member Function Documentation

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
virtual void BetaScintProcessor::DeclarePlots ( void  )
virtual

Declare the Plots for the Processor

Reimplemented from EventProcessor.

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
virtual bool BetaScintProcessor::PreProcess ( RawEvent event)
virtual

PreProcessing for the class.

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

Reimplemented from EventProcessor.

virtual bool BetaScintProcessor::Process ( RawEvent event)
virtual

Main Processing for the class.

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

Reimplemented from EventProcessor.

Field Documentation

double BetaScintProcessor::energyContraction_
protected

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

double BetaScintProcessor::gammaBetaLimit_
protected

Gamma-beta coin. limit in seconds

const double BetaScintProcessor::timeSpectraTimeResolution = 10e-3
static

Magic number for the resolution of the time spectra


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