11 std::cout <<
"TriggerResult { "
12 <<
"name: " <<
name_ <<
", "
13 <<
"pass: " << pass_ <<
" }" << std::endl;
15 for (
int i = 0; i < variables_.GetSize(); ++i) {
16 std::cout <<
"Element " << i <<
" : " << variables_[i] << std::endl;
24 for (
int i = 0; i < variables_.GetSize(); ++i) {
33 if (nvar > variables_.GetSize()) {
39 if (element >= 0 && element < variables_.GetSize()) {
40 variables_[element] = value;
Class that represents the trigger decision (pass/fail) for reconstruction.
Represents the trigger decision (pass/fail) for reconstruction.
virtual ~TriggerResult()
Class destructor.
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.
TriggerResult()
Class constructor.
void setAlgoVar(int element, double value)
Set an algorithm variable.
void Clear()
Reset the TriggerResult object.