ATLAS Offline Software
AlgorithmStateModule.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 #ifndef EVENT_LOOP__ALGORITHM_STATE_MODULE_H
10 #define EVENT_LOOP__ALGORITHM_STATE_MODULE_H
11 
12 #include <EventLoop/Global.h>
13 
14 #include <EventLoop/Module.h>
15 
16 namespace EL
17 {
18  namespace Detail
19  {
35 
37  {
38  //
39  // public interface
40  //
41 
42  public:
43 
44  using Module::Module;
45 
46  virtual StatusCode onInitialize (ModuleData& data) override;
47  virtual StatusCode onFinalize (ModuleData& data) override;
48  virtual StatusCode onCloseInputFile (ModuleData& data) override;
49  virtual StatusCode onNewInputFile (ModuleData& data) override;
50  virtual StatusCode onFileExecute (ModuleData& data) override;
51  virtual StatusCode onExecute (ModuleData& data) override;
52 
53 
54 
55  //
56  // private interface
57  //
58 
60  private:
61  bool m_initialized {false};
62  };
63  }
64 }
65 
66 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
EL::Detail::AlgorithmStateModule::onNewInputFile
virtual StatusCode onNewInputFile(ModuleData &data) override
actions after opening a new input file
Definition: AlgorithmStateModule.cxx:105
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition: ModuleData.h:64
Module.h
EL::Detail::ManagerStep::final
@ final
EL::Detail::AlgorithmStateModule
a Module managing the state of the algorithms on the workers
Definition: AlgorithmStateModule.h:37
EL::Detail::AlgorithmStateModule::onInitialize
virtual StatusCode onInitialize(ModuleData &data) override
action just before algorithms are initialized
Definition: AlgorithmStateModule.cxx:62
EL::Detail::Module
the base class for EventLoop instrumentation module
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Module.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition: AlgorithmWorkerData.h:24
EL::Detail::AlgorithmStateModule::m_initialized
bool m_initialized
whether Algorithm::initialize has been called
Definition: AlgorithmStateModule.h:61
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
EL::Detail::AlgorithmStateModule::onFileExecute
virtual StatusCode onFileExecute(ModuleData &data) override
actions just before fileExecute is called on algorithms
Definition: AlgorithmStateModule.cxx:126
EL::Detail::AlgorithmStateModule::onFinalize
virtual StatusCode onFinalize(ModuleData &data) override
actions just before algorithms are finalized
Definition: AlgorithmStateModule.cxx:83
Global.h
EL::Detail::AlgorithmStateModule::onExecute
virtual StatusCode onExecute(ModuleData &data) override
actions just before execute is called on algorithms
Definition: AlgorithmStateModule.cxx:135
EL::Detail::AlgorithmStateModule::onCloseInputFile
virtual StatusCode onCloseInputFile(ModuleData &data) override
actions before closing an input file
Definition: AlgorithmStateModule.cxx:96