ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTestWriteCInfo.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5*/
6
7// $Id$
14
15
16#ifndef DATAMODELTESTDATACOMMON_XAODTESTWRITECINFO_H
17#define DATAMODELTESTDATACOMMON_XAODTESTWRITECINFO_H
18
19
26
27
28namespace DMTest {
29
30
36{
37public:
43 xAODTestWriteCInfo (const std::string &name, ISvcLocator *pSvcLocator);
44
45
49 virtual StatusCode initialize() override;
50
51
55 virtual StatusCode execute (const EventContext& ctx) const override;
56
57
61 virtual StatusCode finalize() override;
62
63
64private:
66 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfoKey{this, "EvtInfo", "EventInfo", "EventInfo name"};
69};
70
71
72} // namespace DMTest
73
74
75#endif // not DATAMODELTESTDATACOMMON_XAODTESTWRITECINFO_H
Class used for testing xAOD data reading/writing.
Class used for testing xAOD data reading/writing.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
xAODTestWriteCInfo(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
SG::WriteHandleKey< DMTest::C > m_cinfoKey
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition B.h:23