ATLAS Offline Software
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 
9 #include "GaudiKernel/ServiceHandle.h"
11 
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() override;
22 
23 private:
24  ServiceHandle<ILArG4ShowerLibSvc> m_showerLibSvc{this, "LArG4ShowerLibSvc", "LArG4ShowerLibSvc"};
25 };
26 
27 #endif // G4SHOWERLIBSVC_G4SHOWERLIBSVCTEST_H
LArG4ShowerLibSvcTest::execute
virtual StatusCode execute() override
Definition: LArG4ShowerLibSvcTest.cxx:25
LArG4ShowerLibSvcTest::m_showerLibSvc
ServiceHandle< ILArG4ShowerLibSvc > m_showerLibSvc
Definition: LArG4ShowerLibSvcTest.h:24
LArG4ShowerLibSvcTest
Definition: LArG4ShowerLibSvcTest.h:12
LArG4ShowerLibSvcTest::~LArG4ShowerLibSvcTest
virtual ~LArG4ShowerLibSvcTest()=default
LArG4ShowerLibSvcTest::LArG4ShowerLibSvcTest
LArG4ShowerLibSvcTest(const std::string &name, ISvcLocator *pSvcLocator)
Definition: LArG4ShowerLibSvcTest.cxx:7
AthAlgorithm.h
ILArG4ShowerLibSvc.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
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
ServiceHandle< ILArG4ShowerLibSvc >