ATLAS Offline Software
FilterReporter.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 
9 #ifndef EVENT_BOOKKEEPER_TOOLS__FILTER_REPORTER_H
10 #define EVENT_BOOKKEEPER_TOOLS__FILTER_REPORTER_H
11 
12 class EventContext;
14 
15 
33 
34 class FilterReporter final
35 {
36  //
37  // public interface
38  //
39 
45 public:
47  bool val_passedDefault);
48 
54 public:
55  FilterReporter (const FilterReporterParams& val_params,
56  bool val_passedDefault,
57  const EventContext& val_eventContext);
58 
59 
63 public:
64  ~FilterReporter () noexcept;
65 
66 
70 public:
71  void setPassed (bool val_passed = true) noexcept;
72 
73 
74 
75  //
76  // private interface
77  //
78 
80 private:
82 
84 private:
85  bool m_passed {false};
86 
88 private:
89  const EventContext* m_eventContext{};
90 
91 };
92 
93 #endif
FilterReporter::setPassed
void setPassed(bool val_passed=true) noexcept
report the filter decision
Definition: FilterReporter.cxx:82
FilterReporter
a guard class for use with ref FilterReporterParams
Definition: FilterReporter.h:35
FilterReporter::FilterReporter
FilterReporter(FilterReporterParams &val_params, bool val_passedDefault)
standard constructor
Definition: FilterReporter.cxx:26
FilterReporterParams
a handle for applying algorithm filter decisions
Definition: FilterReporterParams.h:58
FilterReporter::m_params
const FilterReporterParams & m_params
the FilterReporterParams object
Definition: FilterReporter.h:81
FilterReporter::m_eventContext
const EventContext * m_eventContext
current EventContext reference
Definition: FilterReporter.h:89
FilterReporter::~FilterReporter
~FilterReporter() noexcept
standard destructor
Definition: FilterReporter.cxx:57
FilterReporter::m_passed
bool m_passed
the value of passed we will set
Definition: FilterReporter.h:85