|
LDMX Software
|
Represents the trigger decision (pass/fail) for reconstruction. More...
#include <TriggerResult.h>
Public Member Functions | |
| TriggerResult ()=default | |
| Class constructor. | |
| virtual | ~TriggerResult () |
| Class destructor. | |
| 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, 2) | |
Private Attributes | |
| TString | name_ {} |
| Name of the trigger algorithm. | |
| bool | pass_ {false} |
| TArrayD | variables_ |
Friends | |
| std::ostream & | operator<< (std::ostream &o, const TriggerResult &d) |
| Print a description of this object. | |
Represents the trigger decision (pass/fail) for reconstruction.
Definition at line 25 of file TriggerResult.h.
|
virtual |
Class destructor.
Definition at line 7 of file TriggerResult.cxx.
References clear().
| void ldmx::TriggerResult::clear | ( | ) |
Reset the TriggerResult object.
Definition at line 18 of file TriggerResult.cxx.
References name_.
Referenced by ~TriggerResult().
|
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. |
Definition at line 27 of file TriggerResult.cxx.
References name_.
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. |
Definition at line 36 of file TriggerResult.cxx.
Referenced by recon::TriggerProcessor::produce().
|
friend |
Print a description of this object.
Definition at line 9 of file TriggerResult.cxx.
|
private |
|
private |
Definition at line 131 of file TriggerResult.h.
|
private |
Definition at line 134 of file TriggerResult.h.