10 #define BASICTRIGGER_H 57 std::vector<double>
Metrics()
const;
58 double Metric(
unsigned int i)
const;
unsigned int fTrigType
trigger type (types and subtypes are defined in TriggerTypes.h)
std::vector< double > Metrics() const
unsigned int TrigSubType() const
BasicTrigger(bool trigdecision=false, unsigned int trigtype=kNullTrigger, unsigned int trigsubtype=kNullTrigger, Hardware::HardwareID hardwareid=Hardware::UnknownID)
Hardware::HardwareID const & TrigHardwareID() const
friend bool operator<(BasicTrigger const &a, BasicTrigger const &b)
void setMetrics(std::vector< double > metrics)
unsigned int fTrigSubType
trigger subtype (types and subtypes are defined in TriggerTypes.h)
const unsigned int kNullTrigger
Hardware::HardwareID fTrigHardwareID
void setTrigType(unsigned int trigtype)
static const HardwareID UnknownID
void setTrigSubType(unsigned int trigsubtype)
void setTrigHardwareID(Hardware::HardwareID hardwareid)
void setTrigDecision(bool trigdecision)
friend std::ostream & operator<<(std::ostream &o, BasicTrigger const &bt)
bool TrigDecision() const
std::vector< double > fMetrics
a vector to store trigger algorithm performance metrics
unsigned int TrigType() const
void setMetric(double metric)
double Metric(unsigned int i) const
bool fTrigDecision
did the trigger algorithm decide to keep this event?