ATLAS Offline Software
HandleTestTool3.cxx
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration.
3  */
11 #include "HandleTestTool3.h"
12 
13 
14 namespace AthEx {
15 
17 {
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_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
AthEx::HandleTestTool3::m_whKey
SG::WriteHandleKey< MyDataObj > m_whKey
Definition: HandleTestTool3.h:42
AthEx::HandleTestTool3::m_rdhKey
SG::ReadDecorHandleKey< MyDataObj > m_rdhKey
Definition: HandleTestTool3.h:39
HandleTestTool3.h
Test for DecorHandleKey depending on a regular handle key.
SG::ReadDecorHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthEx
Definition: Hist.h:25
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthEx::HandleTestTool3::m_wdhKey
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey
Definition: HandleTestTool3.h:45
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
AthEx::HandleTestTool3::initialize
virtual StatusCode initialize() override
Definition: HandleTestTool3.cxx:16
SG::WriteDecorHandleKey::contHandleKey
const ReadHandleKey< T > & contHandleKey() const
Return the handle key for the container.
SG::WriteDecorHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
AthEx::HandleTestTool3::m_rhKey
SG::ReadHandleKey< MyDataObj > m_rhKey
Definition: HandleTestTool3.h:36
SG::ReadDecorHandleKey::contHandleKey
const ReadHandleKey< T > & contHandleKey() const
Return the handle key for the container.
AthEx::HandleTestTool3::m_wdhKey2
SG::WriteDecorHandleKey< MyDataObj > m_wdhKey2
Definition: HandleTestTool3.h:48