|
PAASS
Software suite to Acquire and Analyze Data from Pixie16
|
Processor to handle ion chambers. More...
#include <IonChamberProcessor.hpp>


Data Structures | |
| struct | Data |
| A Data structure to handle all of the info for the chamber. More... | |
Public Member Functions | |
| IonChamberProcessor () | |
| ~IonChamberProcessor () | |
| virtual bool | Process (RawEvent &event) |
| virtual void | DeclarePlots (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) |
| virtual bool | PreProcess (RawEvent &event) |
| void | EndProcess (void) |
| std::string | GetName (void) const |
Private Attributes | |
| struct IonChamberProcessor::Data | data |
| Creates instance of the data structure for storage. More... | |
| double | lastTime [noDets] |
| The last time in the chamber. More... | |
| std::deque< double > | timeDiffs [noDets] |
| Time difference between events. More... | |
Static Private Attributes | |
| static const size_t | noDets = 6 |
| Number of detectors. More... | |
| static const size_t | timesToKeep = 1000 |
| Number of times to keep. 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 |
Processor to handle ion chambers.
Definition at line 12 of file IonChamberProcessor.hpp.
| IonChamberProcessor::IonChamberProcessor | ( | ) |
Default Constructor
Definition at line 33 of file IonChamberProcessor.cpp.
|
inline |
Default Destructor
Definition at line 33 of file IonChamberProcessor.hpp.

|
virtual |
Declare plots for processor
Reimplemented from EventProcessor.
Definition at line 43 of file IonChamberProcessor.cpp.


|
virtual |
Process an event
| [in] | event | : the event to process |
Reimplemented from EventProcessor.
Definition at line 62 of file IonChamberProcessor.cpp.


|
private |
Creates instance of the data structure for storage.
|
private |
The last time in the chamber.
Definition at line 27 of file IonChamberProcessor.hpp.
|
staticprivate |
Number of detectors.
Definition at line 14 of file IonChamberProcessor.hpp.
|
private |
Time difference between events.
Definition at line 28 of file IonChamberProcessor.hpp.
|
staticprivate |
Number of times to keep.
Definition at line 15 of file IonChamberProcessor.hpp.