ATLAS Offline Software
LArG4ShowerLibSvcTest.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 LArG4ShowerLibSvcTest::LArG4ShowerLibSvcTest (const std::string& name, ISvcLocator* pSvcLocator)
8  : AthAlgorithm(name, pSvcLocator)
9 {
10 }
11 
13 {
14  ATH_MSG_INFO("Initializing");
15  ATH_CHECK(m_showerLibSvc.retrieve());
16  return StatusCode::SUCCESS;
17 }
18 
20 {
21  ATH_MSG_INFO("Finalized");
22  return StatusCode::SUCCESS;
23 }
24 
26 {
27  ATH_MSG_INFO("execute: stub");
28  return StatusCode::SUCCESS;
29 }
LArG4ShowerLibSvcTest::execute
virtual StatusCode execute() override
Definition: LArG4ShowerLibSvcTest.cxx:25
LArG4ShowerLibSvcTest::m_showerLibSvc
ServiceHandle< ILArG4ShowerLibSvc > m_showerLibSvc
Definition: LArG4ShowerLibSvcTest.h:24
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
LArG4ShowerLibSvcTest::LArG4ShowerLibSvcTest
LArG4ShowerLibSvcTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArG4ShowerLibSvcTest.cxx:7
LArG4ShowerLibSvcTest.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
LArG4ShowerLibSvcTest::finalize
virtual StatusCode finalize() override
Definition: LArG4ShowerLibSvcTest.cxx:19
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
LArG4ShowerLibSvcTest::initialize
virtual StatusCode initialize() override
Definition: LArG4ShowerLibSvcTest.cxx:12