Class to handle logic signals.
More...
#include <LogicProcessor.hpp>
|
std::vector< double > | lastStartTime |
| time of last leading edge
|
|
std::vector< double > | lastStopTime |
| time of last trailing edge
|
|
std::vector< bool > | logicStatus |
| current level of the logic signal
|
|
std::vector< unsigned long > | stopCount |
| number of stops received
|
|
std::vector< unsigned long > | startCount |
| number of starts received
|
|
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 |
|
|
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...
|
|
Class to handle logic signals.
LogicProcessor::LogicProcessor |
( |
| ) |
|
LogicProcessor::LogicProcessor |
( |
int |
offset, |
|
|
int |
range |
|
) |
| |
Constructor taking histogram offset and range as arguments
- Parameters
-
[in] | offset | : the offset of the histograms |
[in] | range | : the maximum number of histograms |
void LogicProcessor::BasicProcessing |
( |
RawEvent & |
event | ) |
|
|
private |
Basic Processing of the event
- Parameters
-
[in] | event | : the even to process |
virtual void LogicProcessor::DeclarePlots |
( |
void |
| ) |
|
|
virtual |
virtual bool LogicProcessor::LogicStatus |
( |
size_t |
loc | ) |
const |
|
inlinevirtual |
- Returns
- The logic status for a given location
- Parameters
-
[in] | loc | : the location to get the status from |
virtual bool LogicProcessor::Process |
( |
RawEvent & |
event | ) |
|
|
virtual |
Process the event
- Parameters
-
[in] | event | : the event to process |
- Returns
- true if processing was successful
Reimplemented from EventProcessor.
Reimplemented in TriggerLogicProcessor.
unsigned long LogicProcessor::StartCount |
( |
size_t |
loc | ) |
const |
|
inline |
- Returns
- The start count for a given location
- Parameters
-
[in] | loc | : the location to get the status from |
unsigned long LogicProcessor::StopCount |
( |
size_t |
loc | ) |
const |
|
inline |
- Returns
- The stop count for a given location
- Parameters
-
[in] | loc | : the location to get the count from |
double LogicProcessor::TimeOff |
( |
size_t |
loc, |
|
|
double |
t |
|
) |
| const |
|
inline |
- Returns
- The time since the last off
- Parameters
-
[in] | loc | : the location to get the status from |
[in] | t | : the current time to compare with the last one |
double LogicProcessor::TimeOn |
( |
size_t |
loc, |
|
|
double |
t |
|
) |
| const |
|
inline |
- Returns
- The time since the last on
- Parameters
-
[in] | loc | : the location to get the status from |
[in] | t | : the current time to compare with the last one |
void LogicProcessor::TriggerProcessing |
( |
RawEvent & |
event | ) |
|
|
private |
Trigger Processing of the event
- Parameters
-
[in] | event | : the even to process |
The documentation for this class was generated from the following file: