ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataRead
src
xAODTestShallowCopyHVec.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-2020 CERN for the benefit of the ATLAS collaboration
4
*/
11
12
13
#ifndef DATAMODELTESTDATAREAD_XAODTESTSHALLOWCOPYHVEC_H
14
#define DATAMODELTESTDATAREAD_XAODTESTSHALLOWCOPYHVEC_H
15
16
17
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
18
#include "
DataModelTestDataRead/HVec.h
"
19
#include "
StoreGate/ReadHandleKey.h
"
20
#include "
StoreGate/WriteHandleKey.h
"
21
#include "
StoreGate/WriteDecorHandleKey.h
"
22
#include "
StoreGate/ShallowCopyDecorDeps.h
"
23
24
25
namespace
DMTest
{
26
27
31
class
xAODTestShallowCopyHVec
32
:
public
AthReentrantAlgorithm
33
{
34
public
:
35
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
36
37
41
virtual
StatusCode
initialize
()
override
;
42
43
47
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
48
49
50
private
:
51
SG::ReadHandleKey<DMTest::HVec>
m_readKey
52
{
this
,
"ReadKey"
,
"hvec"
,
"Key for object read from SG"
};
53
54
SG::WriteHandleKey<DMTest::HVec>
m_writeKey
55
{
this
,
"WriteKey"
,
"scopy_hvec"
,
"Key for object written to SG"
};
56
57
SG::WriteDecorHandleKey<DMTest::HVec>
m_aFloat20Key
58
{
this
,
"AFloat20Key"
,
"scopy_hvec.aFloat20"
,
"Key for aFloat20 decoration"
};
59
};
60
61
62
}
// namespace DMTest
63
64
65
#endif
// not DATAMODELTESTDATAREAD_XAODTESTSHALLOWCOPYHVEC_H
AthReentrantAlgorithm.h
HVec.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ShallowCopyDecorDeps.h
Helper to propagate decoration dependencies to a shallow copy.
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::xAODTestShallowCopyHVec
Algorithm to do a shallow copy of HVec types.
Definition
xAODTestShallowCopyHVec.h:33
DMTest::xAODTestShallowCopyHVec::m_aFloat20Key
SG::WriteDecorHandleKey< DMTest::HVec > m_aFloat20Key
Definition
xAODTestShallowCopyHVec.h:58
DMTest::xAODTestShallowCopyHVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
xAODTestShallowCopyHVec.cxx:42
DMTest::xAODTestShallowCopyHVec::m_writeKey
SG::WriteHandleKey< DMTest::HVec > m_writeKey
Definition
xAODTestShallowCopyHVec.h:55
DMTest::xAODTestShallowCopyHVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestShallowCopyHVec.cxx:30
DMTest::xAODTestShallowCopyHVec::m_readKey
SG::ReadHandleKey< DMTest::HVec > m_readKey
Definition
xAODTestShallowCopyHVec.h:52
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
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