ATLAS Offline Software
Loading...
Searching...
No Matches
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
14namespace AthEx {
15
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
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
Test for DecorHandleKey depending on a regular handle key.
SG::ReadDecorHandleKey< MyDataObj > m_rdhKey
SG::WriteHandleKey< MyDataObj > m_whKey
virtual StatusCode initialize() override
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey2
SG::ReadHandleKey< MyDataObj > m_rhKey
Definition Hist.h:25