ATLAS Offline Software
Loading...
Searching...
No Matches
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
22
23
24namespace DMTest {
25
26
32{
33public:
34 using AthReentrantAlgorithm::AthReentrantAlgorithm;
35
36
40 virtual StatusCode initialize() override;
41
42
46 virtual StatusCode execute (const EventContext& ctx) const override;
47
48
49private:
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
71 { this, "JVecContainerKey", "jvecContainer", "JVec container key" };
72
74 { this, "JVecInfoKey", "jvecInfo", "Standalone JVec object key" };
75
77 { this, "JVecDecorKey", "jvecContainer.decorJVec", "" };
78
80 { this, "JVecInfoDecorKey", "jvecInfo.decorJVec", "" };
81};
82
83
84} // namespace DMTest
85
86
87#endif // not DATAMODELTESTDATACOMMON_XAODTESTREADJVEC_H
For testing jagged vectors.
For testing jagged vectors.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Test reading jagged vectors.
SG::ReadHandleKey< DMTest::JVecContainer > m_jvecContainerKey
SG::ReadDecorHandleKey< DMTest::JVec > m_jvecInfoDecorKey
StatusCode dumpJVec(const JVec &jvec) const
Dump a JVec object.
SG::ReadHandleKey< DMTest::JVec > m_jvecInfoKey
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
StatusCode dumpInfoDecor(const EventContext &ctx, const JVec &jvec) const
Dump decorations from a standalone JVec object.
StatusCode dumpDecor(const EventContext &ctx, const JVec &jvec) const
Dump decorations from a JVec object.
SG::ReadDecorHandleKey< DMTest::JVecContainer > m_jvecDecorKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition B.h:23
JVec_v1 JVec
Definition JVec.h:23