ATLAS Offline Software
xAODTestWriteCView.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_XAODTESTWRITECVIEW_H
17 #define DATAMODELTESTDATAWRITE_XAODTESTWRITECVIEW_H
18 
19 
26 
27 
28 namespace DMTest {
29 
30 
35  : public AthReentrantAlgorithm
36 {
37 public:
43  xAODTestWriteCView (const std::string &name, ISvcLocator *pSvcLocator);
44 
45 
49  virtual StatusCode initialize() override;
50 
51 
55  virtual StatusCode execute (const EventContext& ctx) const override;
56 
57 
61  virtual StatusCode finalize() override;
62 
63 
64 private:
67 };
68 
69 
70 } // namespace DMTest
71 
72 
73 #endif // not DATAMODELTESTDATAWRITE_XAODTESTWRITECVIEW_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
DMTest::xAODTestWriteCView::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestWriteCView.cxx:55
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
DMTest::xAODTestWriteCView::m_cvecKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
Definition: xAODTestWriteCView.h:65
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
DMTest::xAODTestWriteCView
Algorithm to test writing an xAOD view vector (cview)
Definition: xAODTestWriteCView.h:36
DMTest::xAODTestWriteCView::m_cviewKey
SG::WriteHandleKey< ConstDataVector< DMTest::CView > > m_cviewKey
Definition: xAODTestWriteCView.h:66
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthReentrantAlgorithm.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
CView.h
Class used for testing ViewVector reading/writing.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
DMTest::xAODTestWriteCView::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition: xAODTestWriteCView.cxx:72
DMTest::xAODTestWriteCView::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestWriteCView.cxx:44
DMTest::xAODTestWriteCView::xAODTestWriteCView
xAODTestWriteCView(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: xAODTestWriteCView.cxx:30
DMTest
Definition: B.h:23