ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoop
EventLoop
EventModule.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
6
7
#ifndef EVENT_LOOP_EVENT_SVC_H
8
#define EVENT_LOOP_EVENT_SVC_H
9
10
#include <
EventLoop/Global.h
>
11
12
#include <
AsgTools/PropertyWrapper.h
>
13
#include <
EventLoop/Module.h
>
14
#include <memory>
15
16
namespace
asg
17
{
18
class
SgEvent
;
19
}
20
21
namespace
xAOD
22
{
23
class
Event
;
24
class
TStore
;
25
}
26
27
namespace
EL
28
{
29
namespace
Detail
30
{
31
class
EventModule
:
public
Module
32
{
33
//
34
// public interface
35
//
36
37
public
:
38
41
EventModule
(
const
std::string& name);
42
43
46
~EventModule
();
47
48
49
50
//
51
// interface inherited from Algorithm
52
//
53
54
public
:
55
56
virtual
StatusCode
postFinalize
(
ModuleData
& data)
override
;
57
virtual
StatusCode
onFirstInputFile
(
ModuleData
& data)
override
;
58
virtual
StatusCode
onNextInputFile
(
ModuleData
& data)
override
;
59
virtual
StatusCode
onNewInputFile
(
ModuleData
& data)
override
;
60
virtual
StatusCode
postCloseInputFile
(
ModuleData
& data)
override
;
61
virtual
StatusCode
onExecute
(
ModuleData
& data)
override
;
62
63
//
64
// private interface
65
//
66
68
private
:
69
std::unique_ptr<xAOD::Event>
m_event
;
70
std::unique_ptr<xAOD::TStore>
m_store
;
71
std::unique_ptr<asg::SgEvent>
m_evtStore
;
72
74
private
:
75
Gaudi::Property<bool>
m_useStats
{
this
,
"useStats"
,
false
};
76
Gaudi::Property<bool>
m_summaryReport
{
this
,
"summaryReport"
,
true
};
77
};
78
}
79
}
80
81
#endif
Global.h
Module.h
PropertyWrapper.h
EL::Detail::EventModule::onFirstInputFile
virtual StatusCode onFirstInputFile(ModuleData &data) override
actions after opening a the first input file
Definition
EventModule.cxx:47
EL::Detail::EventModule::m_summaryReport
Gaudi::Property< bool > m_summaryReport
Definition
EventModule.h:76
EL::Detail::EventModule::postFinalize
virtual StatusCode postFinalize(ModuleData &data) override
actions after algorithms have been finalized
Definition
EventModule.cxx:142
EL::Detail::EventModule::EventModule
EventModule(const std::string &name)
effects: standard constructor.
Definition
EventModule.cxx:39
EL::Detail::EventModule::postCloseInputFile
virtual StatusCode postCloseInputFile(ModuleData &data) override
actions after CloseInputFile is called on the algorithms
Definition
EventModule.cxx:119
EL::Detail::EventModule::m_evtStore
std::unique_ptr< asg::SgEvent > m_evtStore
Definition
EventModule.h:71
EL::Detail::EventModule::m_event
std::unique_ptr< xAOD::Event > m_event
description: the event structure used
Definition
EventModule.h:69
EL::Detail::EventModule::onNextInputFile
virtual StatusCode onNextInputFile(ModuleData &data) override
actions after opening an input file after the first one
Definition
EventModule.cxx:92
EL::Detail::EventModule::m_store
std::unique_ptr< xAOD::TStore > m_store
Definition
EventModule.h:70
EL::Detail::EventModule::m_useStats
Gaudi::Property< bool > m_useStats
description: whether we collect D3PDPerfStats statistics
Definition
EventModule.h:75
EL::Detail::EventModule::onExecute
virtual StatusCode onExecute(ModuleData &data) override
actions just before execute is called on algorithms
Definition
EventModule.cxx:130
EL::Detail::EventModule::~EventModule
~EventModule()
effects: standard destructor.
Definition
EventModule.cxx:43
EL::Detail::EventModule::onNewInputFile
virtual StatusCode onNewInputFile(ModuleData &data) override
actions after opening a new input file
Definition
EventModule.cxx:103
EL::Detail::Module
the base class for EventLoop instrumentation module
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/Module.h:40
asg::SgEvent
Wrapper for Event to make it look like StoreGate.
Definition
SgEvent.h:44
xAOD::Event
Base class for the event (xAOD::TEvent and xAOD::REvent) classes.
Definition
Event.h:61
xAOD::TStore
A relatively simple transient store for objects created in analysis.
Definition
TStore.h:45
EL::Detail
Definition
AsgComponentFactories.h:20
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
asg
Definition
DataHandleTestTool.h:28
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
EL::Detail::ModuleData
the data the EventLoop core classes are sharing with the Module implementation
Definition
ModuleData.h:65
Generated on
for ATLAS Offline Software by
1.17.0