ATLAS Offline Software
Loading...
Searching...
No Matches
xAODTestRead.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-2020 CERN for the benefit of the ATLAS collaboration
4*/
11
12
13#ifndef DATAMODELTESTDATAREAD_XAODTESTREAD_H
14#define DATAMODELTESTDATAREAD_XAODTESTREAD_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
53 virtual StatusCode finalize() override;
54
55
56private:
58 StatusCode read_cvec_with_data (const EventContext& ctx) const;
59
61 StatusCode read_gvec (const EventContext& ctx) const;
62
64 //StatusCode read_cview() const;
65
67 { this, "CTrigReadKey", "ctrig", "" };
68
70 { this, "GVecReadKey", "gvec", "" };
71
73 { this, "CVecWDReadKey", "cvecWD", "" };
74
76 { this, "CTrigWriteKey", "", "" };
77
79 { this, "GVecWriteKey", "", "" };
80
82 { this, "CVecWDWriteKey", "", "" };
83};
84
85
86} // namespace DMTest
87
88
89#endif // not DATAMODELTESTDATAREAD_XAODTESTREAD_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 to test reading xAOD data.
StatusCode read_cvec_with_data(const EventContext &ctx) const
Test reading container with additional data.
SG::WriteHandleKey< DMTest::CVec > m_ctrigWriteKey
SG::WriteHandleKey< DMTest::GVec > m_gvecWriteKey
SG::ReadHandleKey< DMTest::GVec > m_gvecReadKey
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
SG::WriteHandleKey< DMTest::CVecWithData > m_cvecWDWriteKey
StatusCode read_gvec(const EventContext &ctx) const
Test reading GVec object.
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
SG::ReadHandleKey< DMTest::CVecWithData > m_cvecWDReadKey
SG::ReadHandleKey< DMTest::CVec > m_ctrigReadKey
Test reading view container.
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.
Definition B.h:23