21 unsigned int trigtype,
22 unsigned int trigsubtype,
24 fTrigDecision(trigdecision),
26 fTrigSubType(trigsubtype),
27 fTrigHardwareID(hardwareid)
115 std::cout <<
"\n\n\nWARNING!!! Requested metric index is larger than the size of fMetrics!!!\n\n\n";
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)
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)
Hardware::HardwareID fTrigHardwareID
void setTrigType(unsigned int trigtype)
void setTrigSubType(unsigned int trigsubtype)
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
QTextStream & endl(QTextStream &s)
bool fTrigDecision
did the trigger algorithm decide to keep this event?