ATLAS Offline Software
xAODTestReadCVec.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 DATAMODELTESTDATACOMMON_XAODTESTREADCVEC_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTREADCVEC_H
15 
16 
21 
22 
23 namespace DMTest {
24 
25 
30  : public AthReentrantAlgorithm
31 {
32 public:
34 
35 
39  virtual StatusCode initialize() override;
40 
41 
45  virtual StatusCode execute (const EventContext& ctx) const override;
46 
47 
48 private:
50  { this, "CVecKey", "cvec", "" };
51 
53  { this, "WriteKey", "", "" };
54 
55  BooleanProperty m_brief
56  { this, "Brief", false, "" };
57 };
58 
59 
60 } // namespace DMTest
61 
62 
63 #endif // not DATAMODELTESTDATACOMMON_XAODTESTREADCVEC_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DMTest::xAODTestReadCVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestReadCVec.cxx:50
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
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
DMTest::xAODTestReadCVec::m_writeKey
SG::WriteHandleKey< DMTest::CVec > m_writeKey
Definition: xAODTestReadCVec.h:53
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DMTest::xAODTestReadCVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestReadCVec.cxx:34
DMTest::xAODTestReadCVec::m_brief
BooleanProperty m_brief
Definition: xAODTestReadCVec.h:56
DMTest::xAODTestReadCVec
Algorithm to test reading xAOD data (CVec).
Definition: xAODTestReadCVec.h:31
DMTest::xAODTestReadCVec::m_cvecKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
Definition: xAODTestReadCVec.h:50
DMTest
Definition: B.h:23