k4SimGeant4
Loading...
Searching...
No Matches
SimG4UserLimitPhysicsList.h
Go to the documentation of this file.
1#ifndef SIMG4FAST_G4USERLIMITPHYSICSLIST_H
2#define SIMG4FAST_G4USERLIMITPHYSICSLIST_H
3
4// Gaudi
5#include "GaudiKernel/AlgTool.h"
6#include "GaudiKernel/ToolHandle.h"
7
8// FCCSW
10
19class SimG4UserLimitPhysicsList : public AlgTool, virtual public ISimG4PhysicsList {
20public:
21 explicit SimG4UserLimitPhysicsList(const std::string& aType, const std::string& aName, const IInterface* aParent);
23
27 virtual StatusCode initialize();
31 virtual StatusCode finalize();
35 virtual G4VModularPhysicsList* physicsList();
36
37private:
39 ToolHandle<ISimG4PhysicsList> m_physicsListTool{"SimG4FtfpBert", this, true};
40};
41
42#endif /* SIMG4FAST_G4USERLIMITPHYSICSLIST_H */
abstract interface to load physics lists
Definition ISimG4PhysicsList.h:17
User limits physics list tool.
Definition SimG4UserLimitPhysicsList.h:19
virtual StatusCode finalize()
Finalize.
Definition SimG4UserLimitPhysicsList.cpp:29
ToolHandle< ISimG4PhysicsList > m_physicsListTool
Handle for the full physics list tool.
Definition SimG4UserLimitPhysicsList.h:39
virtual G4VModularPhysicsList * physicsList()
Get the physics list.
Definition SimG4UserLimitPhysicsList.cpp:31
SimG4UserLimitPhysicsList(const std::string &aType, const std::string &aName, const IInterface *aParent)
Definition SimG4UserLimitPhysicsList.cpp:12
virtual StatusCode initialize()
Initialize.
Definition SimG4UserLimitPhysicsList.cpp:21
virtual ~SimG4UserLimitPhysicsList()
Definition SimG4UserLimitPhysicsList.cpp:19