ATLAS Offline Software
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  */
13 #ifndef DATAMODELTESTDATACOMMON_XAODTESTREADJVEC_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTREADJVEC_H
15 
16 
22 
23 
24 namespace DMTest {
25 
26 
31  : public AthReentrantAlgorithm
32 {
33 public:
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 
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DMTest::xAODTestReadJVec::dumpInfoDecor
StatusCode dumpInfoDecor(const EventContext &ctx, const JVec &jvec) const
Dump decorations from a standalone JVec object.
Definition: xAODTestReadJVec.cxx:173
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
JVec.h
For testing jagged vectors.
DMTest::xAODTestReadJVec::m_jvecInfoDecorKey
SG::ReadDecorHandleKey< DMTest::JVec > m_jvecInfoDecorKey
Definition: xAODTestReadJVec.h:80
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_jvecContainerKey
SG::ReadHandleKey< DMTest::JVecContainer > m_jvecContainerKey
Definition: xAODTestReadJVec.h:71
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
JVecContainer.h
For testing jagged vectors.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
DMTest::JVec_v1
For testing jagged vectors.
Definition: JVec_v1.h:36
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
DMTest::xAODTestReadJVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestReadJVec.cxx:114
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
DMTest::xAODTestReadJVec::m_jvecDecorKey
SG::ReadDecorHandleKey< DMTest::JVecContainer > m_jvecDecorKey
Definition: xAODTestReadJVec.h:77
DMTest::xAODTestReadJVec::dumpJVec
StatusCode dumpJVec(const JVec &jvec) const
Dump a JVec object.
Definition: xAODTestReadJVec.cxx:139
DMTest::xAODTestReadJVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestReadJVec.cxx:101
DMTest::xAODTestReadJVec
Test reading jagged vectors.
Definition: xAODTestReadJVec.h:32
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition: StoreGate/StoreGate/ReadDecorHandleKey.h:85
DMTest::xAODTestReadJVec::m_jvecInfoKey
SG::ReadHandleKey< DMTest::JVec > m_jvecInfoKey
Definition: xAODTestReadJVec.h:74
DMTest
Definition: B.h:23