ATLAS Offline Software
xAODTestReadPVec.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_XAODTESTREADPVEC_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTREADPVEC_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, "PVecKey", "pvec", "" };
51 
53  { this, "WriteKey", "", "" };
54 };
55 
56 
57 } // namespace DMTest
58 
59 
60 
61 
62 
63 #endif // not DATAMODELTESTDATACOMMON_XAODTESTREADPVEC_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
PVec.h
Class used for testing xAOD data reading/writing with packed containers.
DMTest::xAODTestReadPVec::m_writeKey
SG::WriteHandleKey< DMTest::PVec > m_writeKey
Definition: xAODTestReadPVec.h:53
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DMTest::xAODTestReadPVec::m_pvecKey
SG::ReadHandleKey< DMTest::PVec > m_pvecKey
Definition: xAODTestReadPVec.h:50
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
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::xAODTestReadPVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestReadPVec.cxx:30
DMTest::xAODTestReadPVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestReadPVec.cxx:42
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DMTest::xAODTestReadPVec
Algorithm to test reading xAOD data with packed containers.
Definition: xAODTestReadPVec.h:31
DMTest
Definition: B.h:23