ATLAS Offline Software
AllExecutedEventsCounterAlg.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 #ifndef EVENT_BOOKKEEPER_TOOLS__ALL_EXECUTED_EVENTS_COUNTER_ALG_H
8 #define EVENT_BOOKKEEPER_TOOLS__ALL_EXECUTED_EVENTS_COUNTER_ALG_H
9 
13 
14 
16 {
17 public:
18 
19  AllExecutedEventsCounterAlg(const std::string& name, ISvcLocator* pSvcLocator);
20 
21  virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE () override final;
22  virtual StatusCode execute(const EventContext& ctx) const override final;
23  virtual StatusCode finalize() override final;
24 
25 private:
26  FilterReporterParams m_filterParams {this, "AllExecutedEvents", "Number of processed events before any cut"};
27 };
28 
29 #endif
initialize
void initialize()
Definition: run_EoverP.cxx:894
AllExecutedEventsCounterAlg::finalize
virtual StatusCode finalize() override final
Definition: AllExecutedEventsCounterAlg.cxx:45
AllExecutedEventsCounterAlg
Definition: AllExecutedEventsCounterAlg.h:16
const
bool const RAWDATA *ch2 const
Definition: LArRodBlockPhysicsV0.cxx:562
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
FilterReporterParams
a handle for applying algorithm filter decisions
Definition: FilterReporterParams.h:58
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AllExecutedEventsCounterAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override final
Definition: AllExecutedEventsCounterAlg.cxx:37
AthReentrantAlgorithm.h
private
#define private
Definition: DetDescrConditionsDict_dict_fixes.cxx:13
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
AllExecutedEventsCounterAlg::m_filterParams
FilterReporterParams m_filterParams
Definition: AllExecutedEventsCounterAlg.h:26
checker_macros.h
Define macros for attributes used to control the static checker.
AllExecutedEventsCounterAlg::AllExecutedEventsCounterAlg
AllExecutedEventsCounterAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: AllExecutedEventsCounterAlg.cxx:14
AllExecutedEventsCounterAlg::ATLAS_NOT_THREAD_SAFE
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE() override final
FilterReporterParams.h