Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
BeamLogicProcessor Class Reference

Processor to handle Beam Logic for Dubna SHE 2014. More...

#include <BeamLogicProcessor.hpp>

Inheritance diagram for BeamLogicProcessor:
Collaboration diagram for BeamLogicProcessor:

Public Member Functions

 BeamLogicProcessor ()
 
 BeamLogicProcessor (int offset, int range)
 
virtual void DeclarePlots (void)
 
virtual bool PreProcess (RawEvent &event)
 PreProcessing for the class. More...
 
virtual bool Process (RawEvent &event)
 Main Processing for the class. More...
 
- 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 Private Attributes

static const double doubleTimeLimit_ = 1.0e-6
 

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

Processor to handle Beam Logic for Dubna SHE 2014.

Constructor & Destructor Documentation

BeamLogicProcessor::BeamLogicProcessor ( )

Default Constructor

BeamLogicProcessor::BeamLogicProcessor ( int  offset,
int  range 
)

Constructor taking offset and range for plots

Parameters
[in]offset: the offset for the plots
[in]range: the range for the plots

Member Function Documentation

virtual void BeamLogicProcessor::DeclarePlots ( void  )
virtual

Declare the Plots for the Processor

Reimplemented from EventProcessor.

virtual bool BeamLogicProcessor::PreProcess ( RawEvent event)
virtual

PreProcessing for the class.

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

Reimplemented from EventProcessor.

virtual bool BeamLogicProcessor::Process ( RawEvent event)
virtual

Main Processing for the class.

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

Reimplemented from EventProcessor.

Field Documentation

const double BeamLogicProcessor::doubleTimeLimit_ = 1.0e-6
staticprivate

Upper limit in seconds for bad (double) start/stop event


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