ATLAS Offline Software
xAODTestWriteHVec.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 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
14 #ifndef DATAMODELTESTDATAWRITE_XAODTESTWRITEHVEC_H
15 #define DATAMODELTESTDATAWRITE_XAODTESTWRITEHVEC_H
16 
17 
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:
52  { this, "HVecKey", "hvec", "" };
54  { this, "HViewKey", "hview", "" };
55 };
56 
57 
58 } // namespace DMTest
59 
60 
61 #endif // not DATAMODELTESTDATAWRITE_XAODTESTWRITEHVEC_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DMTest::xAODTestWriteHVec::m_hviewKey
SG::WriteHandleKey< DMTest::HView > m_hviewKey
Definition: xAODTestWriteHVec.h:54
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
HVec.h
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::xAODTestWriteHVec
Algorithm to test writing xAOD classes for schema evolution (hvec/hview).
Definition: xAODTestWriteHVec.h:33
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
HView.h
DMTest::xAODTestWriteHVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestWriteHVec.cxx:37
DMTest::xAODTestWriteHVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestWriteHVec.cxx:26
DMTest
Definition: B.h:23
DMTest::xAODTestWriteHVec::m_hvecKey
SG::WriteHandleKey< DMTest::HVec > m_hvecKey
Definition: xAODTestWriteHVec.h:52