Pixie16 Analysis Software Suite
Analysis code for processing of .ldf files
|
A generic processor to be used as a template for others. More...
#include <TemplateProcessor.hpp>
Public Member Functions | |
TemplateProcessor () | |
~TemplateProcessor () | |
virtual void | DeclarePlots (void) |
virtual bool | PreProcess (RawEvent &event) |
virtual bool | Process (RawEvent &event) |
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 Member Functions | |
virtual bool | RetrieveData (RawEvent &event) |
virtual void | AnalyzeData (RawEvent &rawev) |
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 |
A generic processor to be used as a template for others.
TemplateProcessor::TemplateProcessor | ( | ) |
Default Constructor
|
inline |
Default Destructor
|
privatevirtual |
Analyze the retrieved data
[in] | rawev | : the raw event with the data |
|
virtual |
Declares the plots for the processor
Reimplemented from EventProcessor.
|
virtual |
Performs the preprocessing, which cannot depend on other processors
[in] | event | : the event to process |
Reimplemented from EventProcessor.
|
virtual |
Performs the main processsing, which may depend on other processors
[in] | event | : the event to process |
Reimplemented from EventProcessor.
|
privatevirtual |
Retrieves the data for the associated types
[in] | event | : the event to get data from |