8#ifndef RECON_EVENT_TRIGGERRESULT_H_
9#define RECON_EVENT_TRIGGERRESULT_H_
57 bool passed()
const {
return pass_; }
64 double getAlgoVar(
int element)
const {
return variables_[element]; }
72 return (variables_.GetSize() < 1) ? (0) : (variables_[0]);
81 return (variables_.GetSize() < 2) ? (0) : (variables_[1]);
90 return (variables_.GetSize() < 3) ? (0) : (variables_[2]);
99 return (variables_.GetSize() < 4) ? (0) : (variables_[3]);
108 return (variables_.GetSize() < 5) ? (0) : (variables_[4]);
117 void set(
const TString& name,
bool pass,
int nvar);
Represents the trigger decision (pass/fail) for reconstruction.
const TString & getName() const
Return the name of the trigger.
bool passed() const
Return pass/fail status of the trigger.
virtual ~TriggerResult()
Class destructor.
double getAlgoVar1() const
Return algorithm variable 1 (see algorithm code for details).
void set(const TString &name, bool pass, int nvar)
Set name and pass of trigger.
TString name_
Name of the trigger algorithm.
void Print() const
Print a description of this object.
double getAlgoVar2() const
Return algorithm variable 2 (see algorithm code for details).
double getAlgoVar4() const
Return algorithm variable 4 (see algorithm code for details).
double getAlgoVar0() const
Return algorithm variable 0 (see algorithm code for details).
TriggerResult()
Class constructor.
double getAlgoVar(int element) const
Return algorithm variable i (see algorithm code for details).
double getAlgoVar3() const
Return algorithm variable 3 (see algorithm code for details).
void setAlgoVar(int element, double value)
Set an algorithm variable.
void Clear()
Reset the TriggerResult object.