ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
xAODTestReadJVec.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_XAODTESTREADJVEC_H
14
#define DATAMODELTESTDATACOMMON_XAODTESTREADJVEC_H
15
16
17
#include "
DataModelTestDataCommon/JVec.h
"
18
#include "
DataModelTestDataCommon/JVecContainer.h
"
19
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
20
#include "
StoreGate/ReadHandleKey.h
"
21
#include "
StoreGate/ReadDecorHandleKey.h
"
22
23
24
namespace
DMTest
{
25
26
30
class
xAODTestReadJVec
31
:
public
AthReentrantAlgorithm
32
{
33
public
:
34
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
35
36
40
virtual
StatusCode
initialize
()
override
;
41
42
46
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
47
48
49
private
:
53
StatusCode
dumpJVec
(
const
JVec
& jvec)
const
;
54
55
59
StatusCode
dumpDecor
(
const
EventContext& ctx,
60
const
JVec
& jvec)
const
;
61
62
66
StatusCode
dumpInfoDecor
(
const
EventContext& ctx,
67
const
JVec
& jvec)
const
;
68
69
70
SG::ReadHandleKey<DMTest::JVecContainer>
m_jvecContainerKey
71
{
this
,
"JVecContainerKey"
,
"jvecContainer"
,
"JVec container key"
};
72
73
SG::ReadHandleKey<DMTest::JVec>
m_jvecInfoKey
74
{
this
,
"JVecInfoKey"
,
"jvecInfo"
,
"Standalone JVec object key"
};
75
76
SG::ReadDecorHandleKey<DMTest::JVecContainer>
m_jvecDecorKey
77
{
this
,
"JVecDecorKey"
,
"jvecContainer.decorJVec"
,
""
};
78
79
SG::ReadDecorHandleKey<DMTest::JVec>
m_jvecInfoDecorKey
80
{
this
,
"JVecInfoDecorKey"
,
"jvecInfo.decorJVec"
,
""
};
81
};
82
83
84
}
// namespace DMTest
85
86
87
#endif
// not DATAMODELTESTDATACOMMON_XAODTESTREADJVEC_H
AthReentrantAlgorithm.h
JVecContainer.h
For testing jagged vectors.
JVec.h
For testing jagged vectors.
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DMTest::xAODTestReadJVec
Test reading jagged vectors.
Definition
xAODTestReadJVec.h:32
DMTest::xAODTestReadJVec::m_jvecContainerKey
SG::ReadHandleKey< DMTest::JVecContainer > m_jvecContainerKey
Definition
xAODTestReadJVec.h:71
DMTest::xAODTestReadJVec::m_jvecInfoDecorKey
SG::ReadDecorHandleKey< DMTest::JVec > m_jvecInfoDecorKey
Definition
xAODTestReadJVec.h:80
DMTest::xAODTestReadJVec::dumpJVec
StatusCode dumpJVec(const JVec &jvec) const
Dump a JVec object.
Definition
xAODTestReadJVec.cxx:139
DMTest::xAODTestReadJVec::m_jvecInfoKey
SG::ReadHandleKey< DMTest::JVec > m_jvecInfoKey
Definition
xAODTestReadJVec.h:74
DMTest::xAODTestReadJVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestReadJVec.cxx:101
DMTest::xAODTestReadJVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
xAODTestReadJVec.cxx:114
DMTest::xAODTestReadJVec::dumpInfoDecor
StatusCode dumpInfoDecor(const EventContext &ctx, const JVec &jvec) const
Dump decorations from a standalone JVec object.
Definition
xAODTestReadJVec.cxx:173
DMTest::xAODTestReadJVec::dumpDecor
StatusCode dumpDecor(const EventContext &ctx, const JVec &jvec) const
Dump decorations from a JVec object.
Definition
xAODTestReadJVec.cxx:155
DMTest::xAODTestReadJVec::m_jvecDecorKey
SG::ReadDecorHandleKey< DMTest::JVecContainer > m_jvecDecorKey
Definition
xAODTestReadJVec.h:77
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
DMTest
Definition
B.h:23
DMTest::JVec
JVec_v1 JVec
Definition
JVec.h:23
Generated on
for ATLAS Offline Software by
1.17.0