ATLAS Offline Software
Loading...
Searching...
No Matches
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"
29
31// GeoModel
33
34
36public:
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
50private:
56 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this, "EventInfo", "EventInfo", "EventInfo name"};
57};
58
59
60#endif // SRC_EVENTINFOREADER_H
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
Algorithm initialize at begin of job.
ServiceHandle< IGeoModelSvc > m_geoModel
Access to GeoModelSvc for tags.
EventInfoReader(const std::string &name, ISvcLocator *pSvcLocator)
Algorithm constructor.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm execute once per event.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
SG key for Event Info.
ServiceHandle< ITagInfoMgr > m_tagInfoMgr
Access to TagInfoMgr for tags.
virtual StatusCode finalize() override
Algorithm finalize at end of job.
Property holding a SG store/key/clid from which a ReadHandle is made.