ATLAS Offline Software
xAODTestWriteCVec.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_XAODTESTWRITECVEC_H
14 #define DATAMODELTESTDATACOMMON_XAODTESTWRITECVEC_H
15 
16 
22 
23 
24 namespace DMTest {
25 
26 
31  : public AthReentrantAlgorithm
32 {
33 public:
39  xAODTestWriteCVec (const std::string &name, ISvcLocator *pSvcLocator);
40 
41 
45  virtual StatusCode initialize() override;
46 
47 
51  virtual StatusCode execute (const EventContext& ctx) const override;
52 
53 
54 private:
56  { this, "CVecKey", "cvec" };
58  { this, "CVecDecorKey", "" };
59 };
60 
61 
62 } // namespace DMTest
63 
64 
65 #endif // not DATAMODELTESTDATACOMMON_XAODTESTWRITECVEC_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition: StoreGate/StoreGate/WriteDecorHandleKey.h:89
DMTest::xAODTestWriteCVec::xAODTestWriteCVec
xAODTestWriteCVec(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: xAODTestWriteCVec.cxx:31
DMTest::xAODTestWriteCVec::m_cvecDecorKey
SG::WriteDecorHandleKey< DMTest::CVec > m_cvecDecorKey
Definition: xAODTestWriteCVec.h:58
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.
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DMTest::xAODTestWriteCVec
Algorithm for creating test aux data.
Definition: xAODTestWriteCVec.h:32
DMTest::xAODTestWriteCVec::m_cvecKey
SG::WriteHandleKey< DMTest::CVec > m_cvecKey
Definition: xAODTestWriteCVec.h:56
DMTest::xAODTestWriteCVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestWriteCVec.cxx:56
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
DMTest::xAODTestWriteCVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestWriteCVec.cxx:41
DMTest
Definition: B.h:23