ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4ShowerLibSvc
src
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
5
#include "
LArG4ShowerLibSvcTest.h
"
6
7
LArG4ShowerLibSvcTest::LArG4ShowerLibSvcTest
(
const
std::string& name, ISvcLocator* pSvcLocator)
8
:
AthAlgorithm
(name, pSvcLocator)
9
{
10
}
11
12
StatusCode
LArG4ShowerLibSvcTest::initialize
()
13
{
14
ATH_MSG_INFO
(
"Initializing"
);
15
ATH_CHECK
(
m_showerLibSvc
.retrieve());
16
return
StatusCode::SUCCESS;
17
}
18
19
StatusCode
LArG4ShowerLibSvcTest::finalize
()
20
{
21
ATH_MSG_INFO
(
"Finalized"
);
22
return
StatusCode::SUCCESS;
23
}
24
25
StatusCode
LArG4ShowerLibSvcTest::execute
(
const
EventContext&
/*ctx*/
)
26
{
27
ATH_MSG_INFO
(
"execute: stub"
);
28
return
StatusCode::SUCCESS;
29
}
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
LArG4ShowerLibSvcTest.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
LArG4ShowerLibSvcTest::LArG4ShowerLibSvcTest
LArG4ShowerLibSvcTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition
LArG4ShowerLibSvcTest.cxx:7
LArG4ShowerLibSvcTest::m_showerLibSvc
ServiceHandle< ILArG4ShowerLibSvc > m_showerLibSvc
Definition
LArG4ShowerLibSvcTest.h:24
LArG4ShowerLibSvcTest::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
LArG4ShowerLibSvcTest.cxx:25
LArG4ShowerLibSvcTest::finalize
virtual StatusCode finalize() override
Definition
LArG4ShowerLibSvcTest.cxx:19
LArG4ShowerLibSvcTest::initialize
virtual StatusCode initialize() override
Definition
LArG4ShowerLibSvcTest.cxx:12
Generated on
for ATLAS Offline Software by
1.17.0