LDMX Software
|
Represents the trigger decision (pass/fail) for reconstruction. More...
#include <TriggerResult.h>
Public Member Functions | |
TriggerResult () | |
Class constructor. | |
virtual | ~TriggerResult () |
Class destructor. | |
void | Print () const |
Print a description of this object. | |
void | Clear () |
Reset the TriggerResult object. | |
const TString & | getName () const |
Return the name of the trigger. | |
bool | passed () const |
Return pass/fail status of the trigger. | |
double | getAlgoVar (int element) const |
Return algorithm variable i (see algorithm code for details). | |
double | getAlgoVar0 () const |
Return algorithm variable 0 (see algorithm code for details). | |
double | getAlgoVar1 () const |
Return algorithm variable 1 (see algorithm code for details). | |
double | getAlgoVar2 () const |
Return algorithm variable 2 (see algorithm code for details). | |
double | getAlgoVar3 () const |
Return algorithm variable 3 (see algorithm code for details). | |
double | getAlgoVar4 () const |
Return algorithm variable 4 (see algorithm code for details). | |
void | set (const TString &name, bool pass, int nvar) |
Set name and pass of trigger. | |
void | setAlgoVar (int element, double value) |
Set an algorithm variable. | |
Private Member Functions | |
ClassDef (TriggerResult, 1) | |
Private Attributes | |
TString | name_ {} |
Name of the trigger algorithm. | |
bool | pass_ {false} |
TArrayD | variables_ |
Represents the trigger decision (pass/fail) for reconstruction.
Definition at line 25 of file TriggerResult.h.
|
inline |
Return algorithm variable i (see algorithm code for details).
element | The index of the variable. |
Definition at line 64 of file TriggerResult.h.
|
inline |
Return algorithm variable 0 (see algorithm code for details).
Definition at line 71 of file TriggerResult.h.
|
inline |
Return algorithm variable 1 (see algorithm code for details).
Definition at line 80 of file TriggerResult.h.
|
inline |
Return algorithm variable 2 (see algorithm code for details).
Definition at line 89 of file TriggerResult.h.
|
inline |
Return algorithm variable 3 (see algorithm code for details).
Definition at line 98 of file TriggerResult.h.
|
inline |
Return algorithm variable 4 (see algorithm code for details).
Definition at line 107 of file TriggerResult.h.
|
inline |
Return the name of the trigger.
Definition at line 51 of file TriggerResult.h.
References name_.
|
inline |
Return pass/fail status of the trigger.
Definition at line 57 of file TriggerResult.h.
void ldmx::TriggerResult::set | ( | const TString & | name, |
bool | pass, | ||
int | nvar | ||
) |
Set name and pass of trigger.
name | The name of the trigger. |
pass | The pass/fail status of the trigger. |
nvar | The number of algorithm variables. |
Referenced by recon::TriggerProcessor::produce().
void ldmx::TriggerResult::setAlgoVar | ( | int | element, |
double | value | ||
) |
Set an algorithm variable.
element | The index of the variable. |
value | The variable's new value. |
Referenced by recon::TriggerProcessor::produce().
|
private |
Name of the trigger algorithm.
Definition at line 128 of file TriggerResult.h.
Referenced by getName().
|
private |
Definition at line 131 of file TriggerResult.h.
|
private |
Definition at line 134 of file TriggerResult.h.