13#ifndef DATAMODELTESTDATACOMMON_XAODTESTWRITEJVEC_H
14#define DATAMODELTESTDATACOMMON_XAODTESTWRITEJVEC_H
36 using AthReentrantAlgorithm::AthReentrantAlgorithm;
48 virtual StatusCode
execute (
const EventContext& ctx)
const override;
52 StatusCode
fillJVec (
const std::string& key1,
const CVec& cvec1,
53 size_t ndx,
JVec& jvec)
const;
56 StatusCode
decorJVec (
const EventContext& ctx)
const;
59 {
this,
"CVecKey",
"cvec",
"CVec object to target by links" };
62 {
this,
"JVecContainerKey",
"jvecContainer",
"JVec container object to create" };
65 {
this,
"JVecInfoKey",
"jvecInfo",
"Standalone JVec object to create" };
68 {
this,
"JVecDecorKey",
"jvecContainer.decorJVec",
"" };
71 {
this,
"JVecInfoDecorKey",
"jvecInfo.decorJVec",
"" };
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.