5 #ifndef __LOGICPROCESSOR_HPP_
6 #define __LOGICPROCESSOR_HPP_
45 double TimeOff(
size_t loc,
double t)
const {
52 double TimeOn(
size_t loc,
double t)
const {
76 #endif // __LOGICPROCESSOR_HPP_
double TimeOff(size_t loc, double t) const
Definition: LogicProcessor.hpp:45
void BasicProcessing(RawEvent &event)
virtual bool Process(RawEvent &event)
std::vector< bool > logicStatus
current level of the logic signal
Definition: LogicProcessor.hpp:59
double TimeOn(size_t loc, double t) const
Definition: LogicProcessor.hpp:52
std::vector< double > lastStopTime
time of last trailing edge
Definition: LogicProcessor.hpp:58
std::vector< double > lastStartTime
time of last leading edge
Definition: LogicProcessor.hpp:57
unsigned long StopCount(size_t loc) const
Definition: LogicProcessor.hpp:36
void TriggerProcessing(RawEvent &event)
std::vector< unsigned long > startCount
number of starts received
Definition: LogicProcessor.hpp:62
std::vector< unsigned long > stopCount
number of stops received
Definition: LogicProcessor.hpp:61
unsigned long StartCount(size_t loc) const
Definition: LogicProcessor.hpp:40
int plotSize
Size of the plots to make.
Definition: LogicProcessor.hpp:73
Class to handle logic signals.
Definition: LogicProcessor.hpp:13
virtual bool LogicStatus(size_t loc) const
Definition: LogicProcessor.hpp:32
virtual void DeclarePlots(void)
Class to handle event processing.
Definition: EventProcessor.hpp:25
The all important raw event.
Definition: RawEvent.hpp:46