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

Class to handle the Valid signal from MoNA DAQ. More...

#include <ValidProcessor.hpp>

Inheritance diagram for ValidProcessor:
Collaboration diagram for ValidProcessor:

Public Member Functions

 E11006Processor ()
 
bool Process (RawEvent &event)
 
void E11006Processor::DeclarePlots (void)
 
 ValidProcessor ()
 
 ~ValidProcessor ()
 
virtual bool Process (RawEvent &event)
 
- Public Member Functions inherited from EventProcessor
 EventProcessor ()
 
 EventProcessor (int offset, int range, std::string name)
 
virtual ~EventProcessor ()
 
virtual void DeclarePlots (void)
 
virtual const std::set< std::string > & GetTypes (void) const
 
virtual bool DidProcess (void) const
 
virtual bool HasEvent (void) const
 
virtual bool Init (RawEvent &event)
 
virtual bool PreProcess (RawEvent &event)
 
void EndProcess (void)
 
std::string GetName (void) const
 

Private Member Functions

virtual void OutputData (RawEvent &event)
 

Static Private Attributes

static std::stringstream fileName
 Stream to create the file name for output.
 

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

Class to handle the Valid signal from MoNA DAQ.

Constructor & Destructor Documentation

ValidProcessor::ValidProcessor ( )

Default Constructor

ValidProcessor::~ValidProcessor ( )
inline

Default Destructor

Member Function Documentation

virtual void ValidProcessor::OutputData ( RawEvent event)
privatevirtual

Output the data to a text file

Parameters
[in]event: the event to output
bool ValidProcessor::Process ( RawEvent event)
virtual

Process an event. PreProcess function should fill correlation tree and all processors should have basic parameters calculated during PreProccessing. This also starts the processing timer.

Parameters
[in]event: The Event to be processed
Returns
True if success

Reimplemented from EventProcessor.

virtual bool ValidProcessor::Process ( RawEvent event)
virtual

Process events with a Valid in them

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

Reimplemented from EventProcessor.


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