PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
A generic processor to be used as a template for others. More...
#include <TemplateProcessor.hpp>
Public Member Functions | |
TemplateProcessor () | |
TemplateProcessor (const double &a) | |
~TemplateProcessor () | |
virtual void | DeclarePlots (void) |
virtual bool | PreProcess (RawEvent &event) |
virtual bool | Process (RawEvent &event) |
std::vector< ChanEvent * > | GetTemplateEvents (void) const |
![]() | |
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 | |
double | a_ |
a variable global to the class More... | |
std::vector< ChanEvent * > | evts_ |
vector of events for people to get More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
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 |
A generic processor to be used as a template for others.
Definition at line 12 of file TemplateProcessor.hpp.
TemplateProcessor::TemplateProcessor | ( | ) |
Default Constructor
Definition at line 23 of file TemplateProcessor.cpp.
TemplateProcessor::TemplateProcessor | ( | const double & | a | ) |
Constructor Accepting an argument
Definition at line 28 of file TemplateProcessor.cpp.
|
inline |
Default Destructor
Definition at line 19 of file TemplateProcessor.hpp.
|
virtual |
Declares the plots for the processor
Reimplemented from EventProcessor.
Definition at line 34 of file TemplateProcessor.cpp.
|
inline |
Definition at line 31 of file TemplateProcessor.hpp.
|
virtual |
Performs the preprocessing, which cannot depend on other processors
[in] | event | : the event to process |
Reimplemented from EventProcessor.
Definition at line 40 of file TemplateProcessor.cpp.
|
virtual |
Performs the main processsing, which may depend on other processors
[in] | event | : the event to process |
Reimplemented from EventProcessor.
Definition at line 55 of file TemplateProcessor.cpp.
|
private |
a variable global to the class
Definition at line 35 of file TemplateProcessor.hpp.
|
private |
vector of events for people to get
Definition at line 36 of file TemplateProcessor.hpp.