13#ifndef DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
14#define DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
35 using AthReentrantAlgorithm::AthReentrantAlgorithm;
47 virtual StatusCode
execute (
const EventContext& ctx)
const override;
53 const EventContext& ctx)
const;
56 {
this,
"CVecKey",
"cvec",
"" };
58 {
this,
"CTrigKey",
"ctrig",
"" };
60 {
this,
"GVecKey",
"gvec",
"" };
62 {
this,
"CVecWDKey",
"cvecWD",
"" };
Test writing a container with metadata.
Class used for testing xAOD data reading/writing.
Property holding a SG store/key/clid from which a ReadHandle 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.
Algorithm for creating test aux data.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
SG::WriteHandleKey< DMTest::CVec > m_ctrigKey
SG::WriteHandleKey< DMTest::GVec > m_gvecKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
StatusCode write_cvec_with_data(unsigned int count, const EventContext &ctx) const
Test writing container with additional data.
SG::WriteHandleKey< DMTest::CVecWithData > m_cvecWDKey
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
int count(std::string s, const std::string ®x)
count how many occurances of a regx are in a string