ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTestWrite.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 DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
14#define DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
15
16
23
24
25namespace DMTest {
26
27
33{
34public:
35 using AthReentrantAlgorithm::AthReentrantAlgorithm;
36
37
41 virtual StatusCode initialize() override;
42
43
47 virtual StatusCode execute (const EventContext& ctx) const override;
48
49
50private:
52 StatusCode write_cvec_with_data (unsigned int count,
53 const EventContext& ctx) const;
54
56 { this, "CVecKey", "cvec", "" };
58 { this, "CTrigKey", "ctrig", "" };
60 { this, "GVecKey", "gvec", "" };
62 { this, "CVecWDKey", "cvecWD", "" };
63};
64
65
66} // namespace DMTest
67
68
69#endif // not DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
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 &regx)
count how many occurances of a regx are in a string
Definition hcg.cxx:146
Definition B.h:23