ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
xAODTestWriteCVec.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
* Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
4
*/
11
12
13
#ifndef DATAMODELTESTDATACOMMON_XAODTESTWRITECVEC_H
14
#define DATAMODELTESTDATACOMMON_XAODTESTWRITECVEC_H
15
16
17
#include "
DataModelTestDataCommon/CVec.h
"
18
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
19
#include "
StoreGate/WriteHandleKey.h
"
20
#include "
StoreGate/WriteDecorHandleKey.h
"
21
#include "
StoreGate/ReadHandleKey.h
"
22
23
24
namespace
DMTest
{
25
26
30
class
xAODTestWriteCVec
31
:
public
AthReentrantAlgorithm
32
{
33
public
:
39
xAODTestWriteCVec
(
const
std::string &name, ISvcLocator *pSvcLocator);
40
41
45
virtual
StatusCode
initialize
()
override
;
46
47
51
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
52
53
54
private
:
55
SG::WriteHandleKey<DMTest::CVec>
m_cvecKey
56
{
this
,
"CVecKey"
,
"cvec"
};
57
SG::WriteDecorHandleKey<DMTest::CVec>
m_cvecDecorKey
58
{
this
,
"CVecDecorKey"
,
""
};
59
};
60
61
62
}
// namespace DMTest
63
64
65
#endif
// not DATAMODELTESTDATACOMMON_XAODTESTWRITECVEC_H
AthReentrantAlgorithm.h
CVec.h
Class used for testing xAOD data reading/writing.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle 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::xAODTestWriteCVec::m_cvecDecorKey
SG::WriteDecorHandleKey< DMTest::CVec > m_cvecDecorKey
Definition
xAODTestWriteCVec.h:58
DMTest::xAODTestWriteCVec::m_cvecKey
SG::WriteHandleKey< DMTest::CVec > m_cvecKey
Definition
xAODTestWriteCVec.h:56
DMTest::xAODTestWriteCVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
xAODTestWriteCVec.cxx:56
DMTest::xAODTestWriteCVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestWriteCVec.cxx:41
DMTest::xAODTestWriteCVec::xAODTestWriteCVec
xAODTestWriteCVec(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
xAODTestWriteCVec.cxx:31
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
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
Generated on
for ATLAS Offline Software by
1.17.0