ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTestWriteJVec.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_XAODTESTWRITEJVEC_H
14#define DATAMODELTESTDATACOMMON_XAODTESTWRITEJVEC_H
15
16
24
25
26namespace DMTest {
27
28
34{
35public:
36 using AthReentrantAlgorithm::AthReentrantAlgorithm;
37
38
42 virtual StatusCode initialize() override;
43
44
48 virtual StatusCode execute (const EventContext& ctx) const override;
49
50
51private:
52 StatusCode fillJVec (const std::string& key1, const CVec& cvec1,
53 size_t ndx, JVec& jvec) const;
54
55
56 StatusCode decorJVec (const EventContext& ctx) const;
57
59 { this, "CVecKey", "cvec", "CVec object to target by links" };
60
62 { this, "JVecContainerKey", "jvecContainer", "JVec container object to create" };
63
65 { this, "JVecInfoKey", "jvecInfo", "Standalone JVec object to create" };
66
68 { this, "JVecDecorKey", "jvecContainer.decorJVec", "" };
69
71 { this, "JVecInfoDecorKey", "jvecInfo.decorJVec", "" };
72};
73
74
75} // namespace DMTest
76
77
78#endif // not DATAMODELTESTDATACOMMON_XAODTESTWRITEJVEC_H
Class used for testing xAOD data reading/writing.
For testing jagged vectors.
For testing jagged vectors.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Test writing jagged vectors.
SG::WriteDecorHandleKey< DMTest::JVecContainer > m_jvecDecorKey
SG::WriteDecorHandleKey< DMTest::JVec > m_jvecInfoDecorKey
SG::WriteHandleKey< DMTest::JVecContainer > m_jvecContainerKey
StatusCode fillJVec(const std::string &key1, const CVec &cvec1, size_t ndx, JVec &jvec) const
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
SG::WriteHandleKey< DMTest::JVec > m_jvecInfoKey
StatusCode decorJVec(const EventContext &ctx) const
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition B.h:23
CVec_v1 CVec
Definition CVec.h:26
JVec_v1 JVec
Definition JVec.h:23