ATLAS Offline Software
Loading...
Searching...
No Matches
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
12class EventContext;
14
15
33
34class FilterReporter final
35{
36 //
37 // public interface
38 //
39
45public:
47 bool val_passedDefault);
48
54public:
55 FilterReporter (const FilterReporterParams& val_params,
56 bool val_passedDefault,
57 const EventContext& val_eventContext);
58
59
63public:
64 ~FilterReporter () noexcept;
65
66
70public:
71 void setPassed (bool val_passed = true) noexcept;
72
73
74
75 //
76 // private interface
77 //
78
80private:
82
84private:
85 bool m_passed {false};
86
88private:
89 const EventContext* m_eventContext{};
90
91};
92
93#endif
a handle for applying algorithm filter decisions
~FilterReporter() noexcept
standard destructor
FilterReporter(FilterReporterParams &val_params, bool val_passedDefault)
standard constructor
const FilterReporterParams & m_params
the FilterReporterParams object
void setPassed(bool val_passed=true) noexcept
report the filter decision
const EventContext * m_eventContext
current EventContext reference
bool m_passed
the value of passed we will set