![]() |
ATLAS Offline Software
|
a guard class for use with ref FilterReporterParams More...
#include <FilterReporter.h>
Public Member Functions | |
| FilterReporter (FilterReporterParams &val_params, bool val_passedDefault) | |
| standard constructor | |
| FilterReporter (const FilterReporterParams &val_params, bool val_passedDefault, const EventContext &val_eventContext) | |
| standard re-entrant constructor | |
| ~FilterReporter () noexcept | |
| standard destructor | |
| void | setPassed (bool val_passed=true) noexcept |
| report the filter decision | |
Private Attributes | |
| const FilterReporterParams & | m_params |
| the FilterReporterParams object | |
| bool | m_passed {false} |
| the value of passed we will set | |
| const EventContext * | m_eventContext {} |
| current EventContext reference | |
a guard class for use with ref FilterReporterParams
In order to ensure that the filter decision will always be set as part of execute(), this guard class should be used like this:
Definition at line 34 of file FilterReporter.h.
| FilterReporter::FilterReporter | ( | FilterReporterParams & | val_params, |
| bool | val_passedDefault ) |
standard constructor
Definition at line 25 of file FilterReporter.cxx.
| FilterReporter::FilterReporter | ( | const FilterReporterParams & | val_params, |
| bool | val_passedDefault, | ||
| const EventContext & | val_eventContext ) |
standard re-entrant constructor
Definition at line 40 of file FilterReporter.cxx.
|
noexcept |
standard destructor
Definition at line 56 of file FilterReporter.cxx.
|
noexcept |
|
private |
|
private |
the FilterReporterParams object
Definition at line 81 of file FilterReporter.h.
|
private |