ATLAS Offline Software
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Module.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 
8 
9 #ifndef EVENT_LOOP__MODULE_H
10 #define EVENT_LOOP__MODULE_H
11 
13 #include <AsgTools/AsgComponent.h>
15 
16 namespace EL
17 {
18  namespace Detail
19  {
20  class IInputModuleActions;
21  struct ModuleData;
22 
23 
38 
39  class Module : public asg::AsgComponent
40  {
43 
44  public:
45 
47  using AsgComponent::AsgComponent;
48 
49 
58 
59 
66 
67 
73 
74 
81 
82 
92 
93 
96 
97 
100 
101 
108 
109 
113 
114 
120  virtual StatusCode onExecute (ModuleData& data);
121 
122 
125 
126 
133 
134 
141 
147 
148 
150  virtual void reportInputFailure (ModuleData& data);
151  };
152  }
153 }
154 
155 #endif
EL::Detail::Module::processInputs
virtual StatusCode processInputs(ModuleData &data, IInputModuleActions &actions)
process all input files
Definition: Module.cxx:84
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
PropertyWrapper.h
EL::Detail::Module::postFinalize
virtual StatusCode postFinalize(ModuleData &data)
actions after algorithms have been finalized
Definition: Module.cxx:96
EL::Detail::Module::onWorkerEnd
virtual StatusCode onWorkerEnd(ModuleData &data)
action at the end of the worker job
Definition: Module.cxx:102
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition: ModuleData.h:64
EL::Detail::Module::preFileInitialize
virtual StatusCode preFileInitialize(ModuleData &data)
action before opening the first file in the worker job
Definition: Module.cxx:32
EL::Detail::Module::postFirstEvent
virtual StatusCode postFirstEvent(ModuleData &data)
action after processing first event
Definition: Module.cxx:56
EL::Detail::Module::onFinalize
virtual StatusCode onFinalize(ModuleData &data)
actions just before algorithms are finalized
Definition: Module.cxx:90
EL::Detail::Module::postFileClose
virtual StatusCode postFileClose(ModuleData &data)
action at end of the worker job
Definition: Module.cxx:108
EL::Detail::Module::reportInputFailure
virtual void reportInputFailure(ModuleData &data)
report that we failed to open our input file
Definition: Module.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::Module::onInitialize
virtual StatusCode onInitialize(ModuleData &data)
action just before algorithms are initialized
Definition: Module.cxx:78
EL::Detail::Module::onNewInputFile
virtual StatusCode onNewInputFile(ModuleData &data)
actions after opening a new input file
Definition: Module.cxx:38
StatusCode.h
EL::Detail::Module::onExecute
virtual StatusCode onExecute(ModuleData &data)
actions just before execute is called on algorithms
Definition: Module.cxx:72
xAOD::DiTauJetParameters::Detail
Detail
Definition: DiTauDefs.h:38
EL::Detail::Module::onFileExecute
virtual StatusCode onFileExecute(ModuleData &data)
actions just before fileExecute is called on algorithms
Definition: Module.cxx:66
AsgComponent.h
EL::Detail::Module::onCloseInputFile
virtual StatusCode onCloseInputFile(ModuleData &data)
actions before closing an input file
Definition: Module.cxx:44
EL::Detail::IInputModuleActions
the actions that Module::processInputs can perform
Definition: IInputModuleActions.h:42
EL::Detail::Module::firstInitialize
virtual StatusCode firstInitialize(ModuleData &data)
action at the the very beginning of the worker job
Definition: Module.cxx:26
EL::Detail::Module::postCloseInputFile
virtual StatusCode postCloseInputFile(ModuleData &data)
actions after CloseInputFile is called on the algorithms
Definition: Module.cxx:50