ATLAS Offline Software
xAODTestWriteCVecConst.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-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // $Id$
16 #ifndef DATAMODELTESTDATAWRITE_XAODTESTWRITECVECCONST_H
17 #define DATAMODELTESTDATAWRITE_XAODTESTWRITECVECCONST_H
18 
19 
23 
24 
25 namespace DMTest {
26 
27 
32  : public AthReentrantAlgorithm
33 {
34 public:
40  xAODTestWriteCVecConst (const std::string &name, ISvcLocator *pSvcLocator);
41 
42 
46  virtual StatusCode initialize() override;
47 
48 
52  virtual StatusCode execute (const EventContext& ctx) const override;
53 
54 
58  virtual StatusCode finalize() override;
59 
60 
61 private:
63 };
64 
65 
66 } // namespace DMTest
67 
68 
69 #endif // not DATAMODELTESTDATAWRITE_XAODTESTWRITECVECCONST_H
DMTest::xAODTestWriteCVecConst::m_cvecKey
SG::WriteHandleKey< DMTest::CVec > m_cvecKey
Definition: xAODTestWriteCVecConst.h:62
DMTest::xAODTestWriteCVecConst::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestWriteCVecConst.cxx:42
DMTest::xAODTestWriteCVecConst::xAODTestWriteCVecConst
xAODTestWriteCVecConst(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: xAODTestWriteCVecConst.cxx:30
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DMTest::xAODTestWriteCVecConst::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition: xAODTestWriteCVecConst.cxx:76
DMTest::xAODTestWriteCVecConst
Test recording a const aux obj via WriteHandle.
Definition: xAODTestWriteCVecConst.h:33
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::xAODTestWriteCVecConst::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestWriteCVecConst.cxx:52
DMTest
Definition: B.h:23