ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
xAODTestReadDecor.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
* Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration.
4
*/
5
// $Id$
12
13
14
#ifndef DATAMODELTESTDATACOMMON_XAODTESTREADDECOR_H
15
#define DATAMODELTESTDATACOMMON_XAODTESTREADDECOR_H
16
17
18
#include "
DataModelTestDataCommon/C.h
"
19
#include "
DataModelTestDataCommon/CVec.h
"
20
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
21
#include "
StoreGate/ReadDecorHandleKey.h
"
22
23
24
namespace
DMTest
{
25
26
30
class
xAODTestReadDecor
31
:
public
AthReentrantAlgorithm
32
{
33
public
:
39
xAODTestReadDecor
(
const
std::string &name, ISvcLocator *pSvcLocator);
40
41
45
virtual
StatusCode
initialize
()
override
;
46
47
51
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
52
53
57
virtual
StatusCode
finalize
()
override
;
58
59
60
private
:
62
std::string
m_readPrefix
;
63
65
std::string
m_decorName
;
66
68
std::string
m_cvecName
;
69
std::string
m_cinfoName
;
70
72
SG::ReadDecorHandleKey<CVec>
m_cvecDecorKey
;
73
SG::ReadDecorHandleKey<C>
m_cinfoDecorKey
;
74
SG::ReadDecorHandleKey<C>
m_cinfoBaseDecorKey
;
75
SG::ReadDecorHandleKey<SG::AuxElement>
m_objDecorKey
;
76
};
77
78
79
}
// namespace DMTest
80
81
82
#endif
// not DATAMODELTESTDATACOMMON_XAODTESTREADDECOR_H
AthReentrantAlgorithm.h
CVec.h
Class used for testing xAOD data reading/writing.
C.h
Class used for testing xAOD data reading/writing.
ReadDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DMTest::xAODTestReadDecor::m_cinfoName
std::string m_cinfoName
Definition
xAODTestReadDecor.h:69
DMTest::xAODTestReadDecor::xAODTestReadDecor
xAODTestReadDecor(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
xAODTestReadDecor.cxx:27
DMTest::xAODTestReadDecor::m_readPrefix
std::string m_readPrefix
Parameter: Prefix for names read from SG.
Definition
xAODTestReadDecor.h:62
DMTest::xAODTestReadDecor::m_cinfoDecorKey
SG::ReadDecorHandleKey< C > m_cinfoDecorKey
Definition
xAODTestReadDecor.h:73
DMTest::xAODTestReadDecor::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
xAODTestReadDecor.cxx:68
DMTest::xAODTestReadDecor::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition
xAODTestReadDecor.cxx:112
DMTest::xAODTestReadDecor::m_decorName
std::string m_decorName
Parameter: Name of the decoration.
Definition
xAODTestReadDecor.h:65
DMTest::xAODTestReadDecor::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestReadDecor.cxx:46
DMTest::xAODTestReadDecor::m_objDecorKey
SG::ReadDecorHandleKey< SG::AuxElement > m_objDecorKey
Definition
xAODTestReadDecor.h:75
DMTest::xAODTestReadDecor::m_cvecDecorKey
SG::ReadDecorHandleKey< CVec > m_cvecDecorKey
Handles for reading decorations.
Definition
xAODTestReadDecor.h:72
DMTest::xAODTestReadDecor::m_cvecName
std::string m_cvecName
Parameter: Root names of the objects.
Definition
xAODTestReadDecor.h:68
DMTest::xAODTestReadDecor::m_cinfoBaseDecorKey
SG::ReadDecorHandleKey< C > m_cinfoBaseDecorKey
Definition
xAODTestReadDecor.h:74
SG::ReadDecorHandleKey
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Definition
StoreGate/StoreGate/ReadDecorHandleKey.h:86
DMTest
Definition
B.h:23
Generated on
for ATLAS Offline Software by
1.17.0