ATLAS Offline Software
HandleTestAlg.cxx
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration.
3  */
13 #include "HandleTestAlg.h"
14 
15 
16 namespace AthEx {
17 
18 
20 {
21  ATH_CHECK( m_tool1.retrieve() );
22  ATH_CHECK( m_tool2.retrieve() );
23  return StatusCode::SUCCESS;
24 }
25 
26 
27 StatusCode HandleTestAlg::execute (const EventContext&) const
28 {
29  return StatusCode::SUCCESS;
30 }
31 
32 
33 } // namespace AthEx
HandleTestAlg.h
Test for cross-component circular dependency warning suppression of WriteDecorHandleKey.
AthEx::HandleTestAlg::m_tool1
ToolHandle< IHandleTestTool > m_tool1
Definition: HandleTestAlg.h:39
AthEx::HandleTestAlg::initialize
virtual StatusCode initialize() override
Definition: HandleTestAlg.cxx:19
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::HandleTestAlg::m_tool2
ToolHandle< IHandleTestTool > m_tool2
Definition: HandleTestAlg.h:41
AthEx::HandleTestAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition: HandleTestAlg.cxx:27