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

A generic processor to be used as a template for others. More...

#include <DoubleBetaProcessor.hpp>

Inheritance diagram for DoubleBetaProcessor:
Collaboration diagram for DoubleBetaProcessor:

Public Member Functions

 DoubleBetaProcessor ()
 
 ~DoubleBetaProcessor ()
 
virtual void DeclarePlots (void)
 
virtual bool PreProcess (RawEvent &event)
 
virtual bool Process (RawEvent &event)
 
BarMap GetBars (void)
 
std::map< unsigned int, std::pair< double, double > > GetLowResBars (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
 

Private Attributes

BarMap bars_
 Map holding all the bars we found. More...
 
std::map< unsigned int, std::pair< double, double > > lrtbars_
 map holding low res bars More...
 

Additional Inherited Members

- 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 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

A generic processor to be used as a template for others.

Definition at line 14 of file DoubleBetaProcessor.hpp.

Constructor & Destructor Documentation

§ DoubleBetaProcessor()

DoubleBetaProcessor::DoubleBetaProcessor ( )

Default Constructor

Definition at line 28 of file DoubleBetaProcessor.cpp.

§ ~DoubleBetaProcessor()

DoubleBetaProcessor::~DoubleBetaProcessor ( )
inline

Default Destructor

Definition at line 19 of file DoubleBetaProcessor.hpp.

Here is the call graph for this function:

Member Function Documentation

§ DeclarePlots()

void DoubleBetaProcessor::DeclarePlots ( void  )
virtual

Declares the plots for the processor

Reimplemented from EventProcessor.

Definition at line 33 of file DoubleBetaProcessor.cpp.

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

§ GetBars()

BarMap DoubleBetaProcessor::GetBars ( void  )
inline
Returns
The map of the bars that had high resolution timing

Definition at line 33 of file DoubleBetaProcessor.hpp.

§ GetLowResBars()

std::map<unsigned int, std::pair<double,double> > DoubleBetaProcessor::GetLowResBars ( void  )
inline
Returns
the map of the bars that had low resolution timing

Definition at line 35 of file DoubleBetaProcessor.hpp.

§ PreProcess()

bool DoubleBetaProcessor::PreProcess ( RawEvent event)
virtual

Performs the preprocessing, which cannot depend on other processors

Parameters
[in]event: the event to process
Returns
true if preprocessing was successful

Reimplemented from EventProcessor.

Definition at line 40 of file DoubleBetaProcessor.cpp.

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

§ Process()

bool DoubleBetaProcessor::Process ( RawEvent event)
virtual

Performs the main processsing, which may depend on other processors

Parameters
[in]event: the event to process
Returns
true if processing was successful

Reimplemented from EventProcessor.

Definition at line 82 of file DoubleBetaProcessor.cpp.

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

Field Documentation

§ bars_

BarMap DoubleBetaProcessor::bars_
private

Map holding all the bars we found.

Definition at line 39 of file DoubleBetaProcessor.hpp.

§ lrtbars_

std::map<unsigned int, std::pair<double,double> > DoubleBetaProcessor::lrtbars_
private

map holding low res bars

Definition at line 40 of file DoubleBetaProcessor.hpp.


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