k4SimGeant4
Loading...
Searching...
No Matches
SimG4FastSimPhysicsList.h
Go to the documentation of this file.
1#ifndef SIMG4FAST_G4FASTSIMPHYSICSLIST_H
2#define SIMG4FAST_G4FASTSIMPHYSICSLIST_H
3
4// Gaudi
5#include "GaudiKernel/AlgTool.h"
6#include "GaudiKernel/ToolHandle.h"
7
8// FCCSW
10
19class SimG4FastSimPhysicsList : public AlgTool, virtual public ISimG4PhysicsList {
20public:
21 explicit SimG4FastSimPhysicsList(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_G4FASTSIMPHYSICSLIST_H */
abstract interface to load physics lists
Definition ISimG4PhysicsList.h:17
Fast simulation physics list tool.
Definition SimG4FastSimPhysicsList.h:19
ToolHandle< ISimG4PhysicsList > m_physicsListTool
Handle for the full physics list tool.
Definition SimG4FastSimPhysicsList.h:39
virtual G4VModularPhysicsList * physicsList()
Get the physics list.
Definition SimG4FastSimPhysicsList.cpp:31
virtual ~SimG4FastSimPhysicsList()
Definition SimG4FastSimPhysicsList.cpp:19
virtual StatusCode initialize()
Initialize.
Definition SimG4FastSimPhysicsList.cpp:21
virtual StatusCode finalize()
Finalize.
Definition SimG4FastSimPhysicsList.cpp:29
SimG4FastSimPhysicsList(const std::string &aType, const std::string &aName, const IInterface *aParent)
Definition SimG4FastSimPhysicsList.cpp:12