ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4ShowerLibSvc
src
LArG4ShowerLibSvcTest.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4SHOWERLIBSVC_G4SHOWERLIBSVCTEST_H
6
#define G4SHOWERLIBSVC_G4SHOWERLIBSVCTEST_H
7
8
#include "
AthenaBaseComps/AthAlgorithm.h
"
9
#include "GaudiKernel/ServiceHandle.h"
10
#include "
LArG4ShowerLibSvc/ILArG4ShowerLibSvc.h
"
11
12
class
LArG4ShowerLibSvcTest
:
public
AthAlgorithm
{
13
14
public
:
15
16
LArG4ShowerLibSvcTest
(
const
std::string& name, ISvcLocator* pSvcLocator);
17
virtual
~LArG4ShowerLibSvcTest
() =
default
;
18
19
virtual
StatusCode
initialize
()
override
;
20
virtual
StatusCode
finalize
()
override
;
21
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
22
23
private
:
24
ServiceHandle<ILArG4ShowerLibSvc>
m_showerLibSvc
{
this
,
"LArG4ShowerLibSvc"
,
"LArG4ShowerLibSvc"
};
25
};
26
27
#endif
// G4SHOWERLIBSVC_G4SHOWERLIBSVCTEST_H
AthAlgorithm.h
ILArG4ShowerLibSvc.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::~LArG4ShowerLibSvcTest
virtual ~LArG4ShowerLibSvcTest()=default
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
ServiceHandle
Definition
ClusterMakerTool.h:36
Generated on
for ATLAS Offline Software by
1.17.0