ATLAS Offline Software
xAODTestReadCView.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 DATAMODELTESTDATAREAD_XAODTESTREADCVIEW_H
17 #define DATAMODELTESTDATAREAD_XAODTESTREADCVIEW_H
18 
19 
24 
25 
26 namespace DMTest {
27 
28 
33  : public AthReentrantAlgorithm
34 {
35 public:
41  xAODTestReadCView (const std::string &name, ISvcLocator *pSvcLocator);
42 
43 
47  virtual StatusCode initialize() override;
48 
49 
53  virtual StatusCode execute (const EventContext& ctx) const override;
54 
55 
59  virtual StatusCode finalize() override;
60 
61 
62 private:
65 };
66 
67 
68 } // namespace DMTest
69 
70 
71 #endif // not DATAMODELTESTDATAREAD_XAODTESTREADCVIEW_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
DMTest::xAODTestReadCView::xAODTestReadCView
xAODTestReadCView(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition: xAODTestReadCView.cxx:31
DMTest::xAODTestReadCView::m_writeKey
SG::WriteHandleKey< DMTest::CView > m_writeKey
Definition: xAODTestReadCView.h:64
DMTest::xAODTestReadCView::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition: xAODTestReadCView.cxx:45
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition: StoreGate/StoreGate/ReadHandleKey.h:39
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
DMTest::xAODTestReadCView::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition: xAODTestReadCView.cxx:57
DMTest::xAODTestReadCView::m_cviewKey
SG::ReadHandleKey< DMTest::CView > m_cviewKey
Definition: xAODTestReadCView.h:63
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
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:221
DMTest::xAODTestReadCView
Algorithm to test reading xAOD data (CView).
Definition: xAODTestReadCView.h:34
DMTest::xAODTestReadCView::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition: xAODTestReadCView.cxx:83
DMTest
Definition: B.h:23