Processor to handle signals from the Moving Tape Collector.
More...
#include <MtcProcessor.hpp>
|
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.
|
|
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 |
|
Processor to handle signals from the Moving Tape Collector.
MtcProcessor::MtcProcessor |
( |
bool |
double_stop, |
|
|
bool |
double_start |
|
) |
| |
Enable/disable double stop / start flag
- Parameters
-
[in] | double_stop | : sets the double_stop flag |
[in] | double_start | : set the double_start flag |
virtual void MtcProcessor::DeclarePlots |
( |
void |
| ) |
|
|
virtual |
Declare the plots for the processor
Reimplemented from EventProcessor.
virtual bool MtcProcessor::PreProcess |
( |
RawEvent & |
event | ) |
|
|
virtual |
Preprocess the event
- Parameters
-
[in] | event | : the event to process |
- Returns
- true if the preprocess was successful
Reimplemented from EventProcessor.
virtual bool MtcProcessor::Process |
( |
RawEvent & |
event | ) |
|
|
virtual |
Process the event
- Parameters
-
[in] | event | : the event to process |
- Returns
- true is the processing was successful
Reimplemented from EventProcessor.
bool MtcProcessor::double_start_ |
|
private |
In some experiments the MTC start signal was doubled this flags enable removal of such an events
bool MtcProcessor::double_stop_ |
|
private |
In some experiments the MTC stop signal was doubled this flags enable removal of such an events
const double MtcProcessor::doubleTimeLimit_ = 10e-6 |
|
staticprivate |
Upper limit in seconds for bad (double) start/stop event
The documentation for this class was generated from the following file: