#include <CEventTrigger>
class CEventTrigger {virtual void setup();
virtual void teardown();
virtual = 0 bool operator()();
}
Event triggers are responsible for kicking off event and scaler
readouts. CEventTrigger
is an
abstract base class
on which event triggers must be built.
virtual void setup();
Inititialize the trigger hardware. By default this is a no-op.
virtual void teardown();
Disable the trigger hardware. By default this is a no-op.
virtual = 0 bool operator()();
Check for a trigger. Return true if there is a trigger false otherwise. This must be implemented by concrete classes as it is pure virtual in this class.