ATLAS Offline Software
Loading...
Searching...
No Matches
FileExecutedModule.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__FILE_EXECUTED_MODULE_H
10#define EVENT_LOOP__FILE_EXECUTED_MODULE_H
11
12#include <EventLoop/Global.h>
13
14#include <EventLoop/Module.h>
15#include <TString.h>
16#include <TTree.h>
17#include <memory>
18
19namespace EL
20{
21 namespace Detail
22 {
24
26 {
27 //
28 // public interface
29 //
30
31 public:
32
33 using Module::Module;
34
35 virtual StatusCode onInitialize (ModuleData& data) override;
36 virtual StatusCode onFileExecute (ModuleData& data) override;
37 virtual StatusCode postFinalize (ModuleData& data) override;
38
39
40
41 //
42 // private interface
43 //
44
47 private:
48 std::unique_ptr<TTree> m_fileExecutedTree;
49
52 private:
54
60 private:
62 };
63 }
64}
65
66#endif
a Module recording when FileExecuted was called
virtual StatusCode onFileExecute(ModuleData &data) override
actions just before fileExecute is called on algorithms
TString m_fileExecutedName
the name of the file being executed, to be stored inside m_fileExecutedTree
virtual StatusCode postFinalize(ModuleData &data) override
actions after algorithms have been finalized
virtual StatusCode onInitialize(ModuleData &data) override
action just before algorithms are initialized
std::unique_ptr< TTree > m_fileExecutedTree
the tree containing the list of files for which fileExecute has been called
TString * m_fileExecutedNamePtr
pointer to m_fileExecutedName used as the branch address
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