ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataWrite
src
xAODTestWriteCInfoTool.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-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
14
15
16
#ifndef DATAMODELTESTDATAWRITE_XAODTESTWRITECINFOTOOL_H
17
#define DATAMODELTESTDATAWRITE_XAODTESTWRITECINFOTOOL_H
18
19
20
#include "
DataModelTestDataCommon/C.h
"
21
#include "
DataModelTestDataCommon/CVec.h
"
22
#include "
DataModelTestDataCommon/ITestTool.h
"
23
#include "
AthenaBaseComps/AthAlgTool.h
"
24
#include "
StoreGate/WriteHandleKey.h
"
25
#include "
StoreGate/ReadHandleKey.h
"
26
27
28
namespace
DMTest
{
29
30
34
class
xAODTestWriteCInfoTool
35
:
public
extends<AthAlgTool, ITestTool>
36
{
37
public
:
44
xAODTestWriteCInfoTool
(
const
std::string&
type
,
45
const
std::string& name,
46
const
IInterface* parent);
47
48
52
virtual
StatusCode
initialize
()
override
;
53
54
58
virtual
StatusCode
doit
(
const
EventContext& ctx)
const override
;
59
60
61
private
:
62
SG::ReadHandleKey<DMTest::CVec>
m_cvecKey
;
63
SG::WriteHandleKey<DMTest::C>
m_cinfoKey
;
64
};
65
66
67
}
// namespace DMTest
68
69
70
#endif
// not DATAMODELTESTDATAWRITE_XAODTESTWRITECINFOTOOL_H
AthAlgTool.h
CVec.h
Class used for testing xAOD data reading/writing.
C.h
Class used for testing xAOD data reading/writing.
ITestTool.h
Base class for testing SG access from tools.
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.
DMTest::xAODTestWriteCInfoTool::initialize
virtual StatusCode initialize() override
Tool initialization; called at the beginning of the job.
Definition
xAODTestWriteCInfoTool.cxx:45
DMTest::xAODTestWriteCInfoTool::m_cinfoKey
SG::WriteHandleKey< DMTest::C > m_cinfoKey
Definition
xAODTestWriteCInfoTool.h:63
DMTest::xAODTestWriteCInfoTool::xAODTestWriteCInfoTool
xAODTestWriteCInfoTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition
xAODTestWriteCInfoTool.cxx:29
DMTest::xAODTestWriteCInfoTool::doit
virtual StatusCode doit(const EventContext &ctx) const override
Tool event processing.
Definition
xAODTestWriteCInfoTool.cxx:56
DMTest::xAODTestWriteCInfoTool::m_cvecKey
SG::ReadHandleKey< DMTest::CVec > m_cvecKey
Definition
xAODTestWriteCInfoTool.h:62
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
type
Generated on
for ATLAS Offline Software by
1.17.0