ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
AtlasTest
DatabaseTest
AthenaPoolTest
src
EventInfoReader.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
#ifndef ATHENAPOOLTEST_EVENTINFOREADER_H
6
#define ATHENAPOOLTEST_EVENTINFOREADER_H
7
16
24
25
#include "GaudiKernel/ServiceHandle.h"
26
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
27
#include "
StoreGate/ReadHandleKey.h
"
28
#include "
xAODEventInfo/EventInfo.h
"
29
30
#include "
EventInfoMgt/ITagInfoMgr.h
"
31
// GeoModel
32
#include "
GeoModelInterfaces/IGeoModelSvc.h
"
33
34
35
class
EventInfoReader
:
public
AthReentrantAlgorithm
{
36
public
:
37
39
EventInfoReader
(
const
std::string &name,ISvcLocator *pSvcLocator);
40
42
virtual
StatusCode
initialize
()
override
;
43
45
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
46
48
virtual
StatusCode
finalize
()
override
;
49
50
private
:
52
ServiceHandle<IGeoModelSvc>
m_geoModel
;
54
ServiceHandle<ITagInfoMgr>
m_tagInfoMgr
;
56
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EventInfo"
,
"EventInfo"
,
"EventInfo name"
};
57
};
58
59
60
#endif
// SRC_EVENTINFOREADER_H
AthReentrantAlgorithm.h
IGeoModelSvc.h
ITagInfoMgr.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
EventInfoReader::initialize
virtual StatusCode initialize() override
Algorithm initialize at begin of job.
Definition
EventInfoReader.cxx:25
EventInfoReader::m_geoModel
ServiceHandle< IGeoModelSvc > m_geoModel
Access to GeoModelSvc for tags.
Definition
EventInfoReader.h:52
EventInfoReader::EventInfoReader
EventInfoReader(const std::string &name, ISvcLocator *pSvcLocator)
Algorithm constructor.
Definition
EventInfoReader.cxx:17
EventInfoReader::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm execute once per event.
Definition
EventInfoReader.cxx:35
EventInfoReader::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG key for Event Info.
Definition
EventInfoReader.h:56
EventInfoReader::m_tagInfoMgr
ServiceHandle< ITagInfoMgr > m_tagInfoMgr
Access to TagInfoMgr for tags.
Definition
EventInfoReader.h:54
EventInfoReader::finalize
virtual StatusCode finalize() override
Algorithm finalize at end of job.
Definition
EventInfoReader.cxx:73
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0