ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
DataModelTest
DataModelTestDataCommon
src
xAODTestDecor.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-2022 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
14
15
16
#ifndef DATAMODELTESTDATACOMMON_XAODTESTDECOR_H
17
#define DATAMODELTESTDATACOMMON_XAODTESTDECOR_H
18
19
20
#include "
DataModelTestDataCommon/C.h
"
21
#include "
DataModelTestDataCommon/CVec.h
"
22
#include "
xAODEventInfo/EventInfo.h
"
23
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
24
#include "
StoreGate/WriteDecorHandleKey.h
"
25
#include "
StoreGate/ReadHandleKey.h
"
26
27
28
namespace
DMTest
{
29
30
34
class
xAODTestDecor
35
:
public
AthReentrantAlgorithm
36
{
37
public
:
43
xAODTestDecor
(
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
:
66
std::string
m_readPrefix
;
67
69
std::string
m_decorName
;
70
72
int
m_offset
;
73
75
bool
m_doCVec
;
76
bool
m_doCInfo
;
77
bool
m_doCTrig
;
78
80
SG::ReadHandleKey<xAOD::EventInfo>
m_eventInfoKey
{
this
,
"EvtInfo"
,
"EventInfo"
,
"EventInfo name"
};
81
SG::WriteDecorHandleKey<CVec>
m_cvecDecorKey
;
82
SG::WriteDecorHandleKey<C>
m_cinfoDecorKey
;
83
SG::WriteDecorHandleKey<SG::AuxElement>
m_objDecorKey
;
84
SG::WriteDecorHandleKey<CVec>
m_ctrigDecorKey
;
85
};
86
87
88
}
// namespace DMTest
89
90
91
#endif
// not DATAMODELTESTDATACOMMON_XAODTESTDECOR_H
AthReentrantAlgorithm.h
CVec.h
Class used for testing xAOD data reading/writing.
C.h
Class used for testing xAOD data reading/writing.
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
DMTest::xAODTestDecor::m_doCInfo
bool m_doCInfo
Definition
xAODTestDecor.h:76
DMTest::xAODTestDecor::m_doCTrig
bool m_doCTrig
Definition
xAODTestDecor.h:77
DMTest::xAODTestDecor::finalize
virtual StatusCode finalize() override
Algorithm finalization; called at the end of the job.
Definition
xAODTestDecor.cxx:116
DMTest::xAODTestDecor::execute
virtual StatusCode execute(const EventContext &ctx) const override
Algorithm event processing.
Definition
xAODTestDecor.cxx:70
DMTest::xAODTestDecor::m_ctrigDecorKey
SG::WriteDecorHandleKey< CVec > m_ctrigDecorKey
Definition
xAODTestDecor.h:84
DMTest::xAODTestDecor::m_doCVec
bool m_doCVec
Flags.
Definition
xAODTestDecor.h:75
DMTest::xAODTestDecor::m_decorName
std::string m_decorName
Parameter: Name of the decoration.
Definition
xAODTestDecor.h:69
DMTest::xAODTestDecor::m_cinfoDecorKey
SG::WriteDecorHandleKey< C > m_cinfoDecorKey
Definition
xAODTestDecor.h:82
DMTest::xAODTestDecor::m_cvecDecorKey
SG::WriteDecorHandleKey< CVec > m_cvecDecorKey
Definition
xAODTestDecor.h:81
DMTest::xAODTestDecor::initialize
virtual StatusCode initialize() override
Algorithm initialization; called at the beginning of the job.
Definition
xAODTestDecor.cxx:51
DMTest::xAODTestDecor::m_readPrefix
std::string m_readPrefix
Parameter: Prefix for names read from SG.
Definition
xAODTestDecor.h:66
DMTest::xAODTestDecor::xAODTestDecor
xAODTestDecor(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
xAODTestDecor.cxx:29
DMTest::xAODTestDecor::m_offset
int m_offset
Parameter: Offset to be applied to decoration.
Definition
xAODTestDecor.h:72
DMTest::xAODTestDecor::m_objDecorKey
SG::WriteDecorHandleKey< SG::AuxElement > m_objDecorKey
Definition
xAODTestDecor.h:83
DMTest::xAODTestDecor::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Handles for writing decorations.
Definition
xAODTestDecor.h:80
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
DMTest
Definition
B.h:23
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0