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-2019 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 
57  virtual StatusCode finalize() override;
58 
59 
60 private:
63 };
64 
65 
66 } // namespace DMTest
67 
68 
69 #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:39
DMTest::xAODTestWriteCVec::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition: xAODTestWriteCVec.cxx:135
DMTest::xAODTestWriteCVec::m_cvecDecorKey
SG::WriteDecorHandleKey< DMTest::CVec > m_cvecDecorKey
Definition: xAODTestWriteCVec.h:62
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:61
DMTest::xAODTestWriteCVec::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestWriteCVec.cxx:67
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:195
DMTest::xAODTestWriteCVec::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestWriteCVec.cxx:52
DMTest
Definition: B.h:23