ATLAS Offline Software
Loading...
Searching...
No Matches
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
16namespace 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
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
a Module managing the state of the algorithms on the workers
virtual StatusCode onFileExecute(ModuleData &data) override
actions just before fileExecute is called on algorithms
virtual StatusCode onExecute(ModuleData &data) override
actions just before execute is called on algorithms
bool m_initialized
whether Algorithm::initialize has been called
virtual StatusCode onInitialize(ModuleData &data) override
action just before algorithms are initialized
virtual StatusCode onFinalize(ModuleData &data) override
actions just before algorithms are finalized
virtual StatusCode onCloseInputFile(ModuleData &data) override
actions before closing an input file
virtual StatusCode onNewInputFile(ModuleData &data) override
actions after opening a new input file
the base class for EventLoop instrumentation module
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
the data the EventLoop core classes are sharing with the Module implementation
Definition ModuleData.h:64