ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
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
20
#include "
xAODEventInfo/EventInfo.h
"
21
#include "
DataModelTestDataCommon/C.h
"
22
#include "
DataModelTestDataCommon/CVec.h
"
23
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
24
#include "
StoreGate/WriteHandleKey.h
"
25
#include "
StoreGate/ReadHandleKey.h
"
26
27
28
namespace
DMTest
{
29
30
34
class
xAODTestWriteCInfo
35
:
public
AthReentrantAlgorithm
36
{
37
public
:
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
64
private
:
65
int
m_offset
;
66
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EvtInfo"
,
"EventInfo"
,
"EventInfo name"
};
67
SG::ReadHandleKey<DMTest::CVec>
m_cvecKey
;
68
SG::WriteHandleKey<DMTest::C>
m_cinfoKey
;
69
};
70
71
72
}
// namespace DMTest
73
74
75
#endif
// not DATAMODELTESTDATACOMMON_XAODTESTWRITECINFO_H
AthReentrantAlgorithm.h
CVec.h
Class used for testing xAOD data reading/writing.
C.h
Class used for testing xAOD data reading/writing.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DMTest::xAODTestWriteCInfo::m_offset
int m_offset
Definition
xAODTestWriteCInfo.h:65
DMTest::xAODTestWriteCInfo::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
xAODTestWriteCInfo.cxx:55
DMTest::xAODTestWriteCInfo::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestWriteCInfo.cxx:43
DMTest::xAODTestWriteCInfo::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition
xAODTestWriteCInfo.h:66
DMTest::xAODTestWriteCInfo::xAODTestWriteCInfo
xAODTestWriteCInfo(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
xAODTestWriteCInfo.cxx:28
DMTest::xAODTestWriteCInfo::m_cvecKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
Definition
xAODTestWriteCInfo.h:67
DMTest::xAODTestWriteCInfo::m_cinfoKey
SG::WriteHandleKey< DMTest::C > m_cinfoKey
Definition
xAODTestWriteCInfo.h:68
DMTest::xAODTestWriteCInfo::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition
xAODTestWriteCInfo.cxx:92
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
DMTest
Definition
B.h:23
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0