ATLAS Offline Software
Loading...
Searching...
No Matches
EventInfoReader.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 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() override;
46
48 virtual StatusCode finalize() override;
49
51 // Private methods:
53private:
54
57
60
63
65 // Private data:
67private:
73 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this, "EventInfo", "EventInfo", "EventInfo name"};
74};
75
76
77#endif // SRC_EVENTINFOREADER_H
Property holding a SG store/key/clid from which a ReadHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode initialize() override
Algorithm initialize at begin of job.
EventInfoReader(const EventInfoReader &)
Avoid use of copy constructor.
EventInfoReader & operator=(const EventInfoReader &)
Avoid use of copy operator.
ServiceHandle< IGeoModelSvc > m_geoModel
Access to GeoModelSvc for tags.
EventInfoReader(const std::string &name, ISvcLocator *pSvcLocator)
Algorithm constructor.
virtual StatusCode execute() 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.
EventInfoReader()
Avoid use of default constructor.
virtual StatusCode finalize() override
Algorithm finalize at end of job.
Property holding a SG store/key/clid from which a ReadHandle is made.