ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataRead
src
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$
14
15
16
#ifndef DATAMODELTESTDATAREAD_XAODTESTREADCVIEW_H
17
#define DATAMODELTESTDATAREAD_XAODTESTREADCVIEW_H
18
19
20
#include "
DataModelTestDataCommon/CView.h
"
21
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
22
#include "
StoreGate/ReadHandleKey.h
"
23
#include "
StoreGate/WriteHandleKey.h
"
24
25
26
namespace
DMTest
{
27
28
32
class
xAODTestReadCView
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
:
63
SG::ReadHandleKey<DMTest::CView>
m_cviewKey
;
64
SG::WriteHandleKey<DMTest::CView>
m_writeKey
;
65
};
66
67
68
}
// namespace DMTest
69
70
71
#endif
// not DATAMODELTESTDATAREAD_XAODTESTREADCVIEW_H
AthReentrantAlgorithm.h
CView.h
Class used for testing ViewVector reading/writing.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DMTest::xAODTestReadCView::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition
xAODTestReadCView.cxx:83
DMTest::xAODTestReadCView::xAODTestReadCView
xAODTestReadCView(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
xAODTestReadCView.cxx:31
DMTest::xAODTestReadCView::m_cviewKey
SG::ReadHandleKey< DMTest::CView > m_cviewKey
Definition
xAODTestReadCView.h:63
DMTest::xAODTestReadCView::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestReadCView.cxx:45
DMTest::xAODTestReadCView::m_writeKey
SG::WriteHandleKey< DMTest::CView > m_writeKey
Definition
xAODTestReadCView.h:64
DMTest::xAODTestReadCView::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
xAODTestReadCView.cxx:57
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
DMTest
Definition
B.h:23
Generated on
for ATLAS Offline Software by
1.17.0