ATLAS Offline Software
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 */
13 #ifndef DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
14 #define DATAMODELTESTDATAWRITE_XAODTESTWRITE_H
15 
16 
23 
24 
25 namespace DMTest {
26 
27 
32  : public AthReentrantAlgorithm
33 {
34 public:
36 
37 
41  virtual StatusCode initialize() override;
42 
43 
47  virtual StatusCode execute (const EventContext& ctx) const override;
48 
49 
50 private:
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DMTest::xAODTestWrite::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestWrite.cxx:33
DMTest::xAODTestWrite::m_ctrigKey
SG::WriteHandleKey< DMTest::CVec > m_ctrigKey
Definition: xAODTestWrite.h:58
DMTest::xAODTestWrite::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestWrite.cxx:46
DMTest::xAODTestWrite
Algorithm for creating test aux data.
Definition: xAODTestWrite.h:33
GVec.h
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
XMLtoHeader.count
count
Definition: XMLtoHeader.py:85
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
CVec.h
Class used for testing xAOD data reading/writing.
AthReentrantAlgorithm::AthReentrantAlgorithm
AthReentrantAlgorithm()
Default constructor:
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DMTest::xAODTestWrite::write_cvec_with_data
StatusCode write_cvec_with_data(unsigned int count, const EventContext &ctx) const
Test writing container with additional data.
Definition: xAODTestWrite.cxx:106
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
CVecWithData.h
Test writing a container with metadata.
DMTest::xAODTestWrite::m_cvecWDKey
SG::WriteHandleKey< DMTest::CVecWithData > m_cvecWDKey
Definition: xAODTestWrite.h:62
DMTest::xAODTestWrite::m_cvecKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
Definition: xAODTestWrite.h:56
DMTest::xAODTestWrite::m_gvecKey
SG::WriteHandleKey< DMTest::GVec > m_gvecKey
Definition: xAODTestWrite.h:60
DMTest
Definition: B.h:23