ATLAS Offline Software
Module.cxx
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 //
10 // includes
11 //
12 
13 #include <EventLoop/Module.h>
14 
15 #include <RootCoreUtils/Assert.h>
16 
17 //
18 // method implementations
19 //
20 
21 namespace EL
22 {
23  namespace Detail
24  {
26  firstInitialize (ModuleData& /*data*/)
27  {
28  return ::StatusCode::SUCCESS;
29  }
30 
33  {
34  return ::StatusCode::SUCCESS;
35  }
36 
38  onNewInputFile (ModuleData& /*data*/)
39  {
40  return ::StatusCode::SUCCESS;
41  }
42 
44  onCloseInputFile (ModuleData& /*data*/)
45  {
46  return ::StatusCode::SUCCESS;
47  }
48 
51  {
52  return ::StatusCode::SUCCESS;
53  }
54 
56  postFirstEvent (ModuleData& /*data*/)
57  {
58  return ::StatusCode::SUCCESS;
59  }
60 
61  void Module ::
63  {}
64 
66  onFileExecute (ModuleData& /*data*/)
67  {
68  return ::StatusCode::SUCCESS;
69  }
70 
72  onExecute (ModuleData& /*data*/)
73  {
74  return ::StatusCode::SUCCESS;
75  }
76 
78  onInitialize (ModuleData& /*data*/)
79  {
80  return ::StatusCode::SUCCESS;
81  }
82 
84  processInputs (ModuleData& /*data*/, IInputModuleActions& /*actions*/)
85  {
86  return ::StatusCode::SUCCESS;
87  }
88 
90  onFinalize (ModuleData& /*data*/)
91  {
92  return ::StatusCode::SUCCESS;
93  }
94 
96  postFinalize (ModuleData& /*data*/)
97  {
98  return ::StatusCode::SUCCESS;
99  }
100 
102  onWorkerEnd (ModuleData& /*data*/)
103  {
104  return ::StatusCode::SUCCESS;
105  }
106 
108  postFileClose (ModuleData& /*data*/)
109  {
110  return ::StatusCode::SUCCESS;
111  }
112  }
113 }
EL::Detail::Module::processInputs
virtual StatusCode processInputs(ModuleData &data, IInputModuleActions &actions)
process all input files
Definition: Module.cxx:84
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
Module.h
Assert.h
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::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
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
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