ATLAS Offline Software
xAODTestWritePVec.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_XAODTESTWRITEPVEC_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTWRITEPVEC_H
15 
16 
20 
21 
22 namespace DMTest {
23 
24 
29  : public AthReentrantAlgorithm
30 {
31 public:
33 
34 
38  virtual StatusCode initialize() override;
39 
40 
44  virtual StatusCode execute (const EventContext& ctx) const override;
45 
46 
47 private:
49  { this, "PVecKey", "pvec", };
50 };
51 
52 
53 } // namespace DMTest
54 
55 
56 #endif // not DATAMODELTESTDATACOMMON_XAODTESTWRITEPVEC_H
DMTest::xAODTestWritePVec
Algorithm to test writing xAOD data with packed containers.
Definition: xAODTestWritePVec.h:30
PVec.h
Class used for testing xAOD data reading/writing with packed containers.
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::xAODTestWritePVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestWritePVec.cxx:36
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
DMTest::xAODTestWritePVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestWritePVec.cxx:46
DMTest::xAODTestWritePVec::m_pvecKey
SG::WriteHandleKey< DMTest::PVec > m_pvecKey
Definition: xAODTestWritePVec.h:49
DMTest
Definition: B.h:23