ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExStoreGateExample
src
HandleTestTool3.cxx
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration.
3
*/
10
11
#include "
HandleTestTool3.h
"
12
13
14
namespace
AthEx
{
15
16
StatusCode
HandleTestTool3::initialize
()
17
{
18
ATH_CHECK
(
m_rhKey
.initialize() );
19
ATH_CHECK
(
m_rdhKey
.initialize() );
20
ATH_CHECK
(
m_whKey
.initialize() );
21
ATH_CHECK
(
m_wdhKey
.initialize() );
22
ATH_CHECK
(
m_wdhKey2
.initialize() );
23
24
ATH_MSG_INFO
(
"RHKey : "
<<
m_rhKey
);
25
ATH_MSG_INFO
(
"RDecorKey: "
<<
m_rdhKey
<<
" "
<<
m_rdhKey
.contHandleKey());
26
ATH_MSG_INFO
(
"WHKey : "
<<
m_whKey
);
27
ATH_MSG_INFO
(
"WDecorKey: "
<<
m_wdhKey
<<
" "
<<
m_wdhKey
.contHandleKey());
28
ATH_MSG_INFO
(
"WDecorKey2: "
<<
m_wdhKey2
<<
" "
<<
m_wdhKey2
.contHandleKey());
29
30
return
StatusCode::SUCCESS;
31
}
32
33
34
}
// namespace AthEx
ATH_CHECK
#define ATH_CHECK
Evaluate an expression and check for errors.
Definition
AthCheckMacros.h:40
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition
AthMsgStreamMacros.h:31
HandleTestTool3.h
Test for DecorHandleKey depending on a regular handle key.
AthEx::HandleTestTool3::m_rdhKey
SG::ReadDecorHandleKey< MyDataObj > m_rdhKey
Definition
HandleTestTool3.h:39
AthEx::HandleTestTool3::m_whKey
SG::WriteHandleKey< MyDataObj > m_whKey
Definition
HandleTestTool3.h:42
AthEx::HandleTestTool3::initialize
virtual StatusCode initialize() override
Definition
HandleTestTool3.cxx:16
AthEx::HandleTestTool3::m_wdhKey
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey
Definition
HandleTestTool3.h:45
AthEx::HandleTestTool3::m_wdhKey2
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey2
Definition
HandleTestTool3.h:48
AthEx::HandleTestTool3::m_rhKey
SG::ReadHandleKey< MyDataObj > m_rhKey
Definition
HandleTestTool3.h:36
AthEx
Definition
Hist.h:25
Generated on
for ATLAS Offline Software by
1.14.0