13#ifndef DATAMODELTESTDATACOMMON_XAODTESTWRITEPLINKS_H
14#define DATAMODELTESTDATACOMMON_XAODTESTWRITEPLINKS_H
36 using AthReentrantAlgorithm::AthReentrantAlgorithm;
51 virtual StatusCode
execute (
const EventContext& ctx)
const override;
57 const std::string& key2,
62 StatusCode
fillPLinks (
const std::string& key1,
64 const std::string& key2,
70 const std::string& key1,
72 const std::string& key2,
73 const CVec& cvec2)
const;
76 {
this,
"CVecKey",
"cvec",
"CVec object to target by links" };
78 {
this,
"CTrigKey",
"ctrig",
"Another CVec object to target by links" };
81 {
this,
"PLinksContainerKey",
"plinksContainer",
"PLinks container object to create" };
84 {
this,
"PLinksInfoKey",
"plinksInfo",
"Standalone PLinks object to create" };
87 {
this,
"PLinksDecorLinkKey",
"plinksContainer.decorLink",
"" };
90 {
this,
"PLinksDecorVLinksKey",
"plinksContainer.decorVLinks",
"" };
93 {
this,
"PLinksInfoDecorLinkKey",
"plinksInfo.decorLink",
"" };
96 {
this,
"PLinksInfoDecorVLinksKey",
"plinksInfo.decorVLinks",
"" };
Class used for testing xAOD data reading/writing.
For testing packed links.
For testing packed links.
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 packed links.
SG::WriteDecorHandleKey< DMTest::PLinks > m_plinksInfoDecorVLinksKey
SG::WriteHandleKey< DMTest::PLinks > m_plinksInfoKey
StatusCode decorPLinks(const EventContext &ctx, const std::string &key1, const CVec &cvec1, const std::string &key2, const CVec &cvec2) const
StatusCode fillPLinks(const std::string &key1, const CVec &cvec1, const std::string &key2, const CVec &cvec2, size_t ndx, PLinks &plinks) const
SG::WriteDecorHandleKey< DMTest::PLinks > m_plinksInfoDecorLinkKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
SG::WriteDecorHandleKey< DMTest::PLinksContainer > m_plinksDecorLinkKey
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
SG::WriteHandleKey< DMTest::PLinksContainer > m_plinksContainerKey
EL makeLink(const std::string &key1, const CVec &cvec1, const std::string &key2, const CVec &cvec2, size_t ndx) const
SG::WriteDecorHandleKey< DMTest::PLinksContainer > m_plinksDecorVLinksKey
SG::ReadHandleKey< DMTest::CVec > m_ctrigKey
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
ElementLink implementation for ROOT usage.
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.
This module defines the arguments passed from the BATCH driver to the BATCH worker.