k4SimGeant4
Loading...
Searching...
No Matches
SimG4OpticalPhysicsList.h
Go to the documentation of this file.
1#ifndef SimG4OpticalPhysicsList_h
2#define SimG4OpticalPhysicsList_h 1
3
4// Gaudi
5#include "GaudiKernel/AlgTool.h"
6#include "GaudiKernel/ToolHandle.h"
7
8// FCCSW
9#include "k4Interface/ISimG4PhysicsList.h"
10
23class SimG4OpticalPhysicsList : public AlgTool, virtual public ISimG4PhysicsList {
24public:
25 explicit SimG4OpticalPhysicsList(const std::string& aType, const std::string& aName, const IInterface* aParent);
27
28 virtual StatusCode initialize();
29 virtual StatusCode finalize();
30 virtual G4VModularPhysicsList* physicsList();
31 Gaudi::Property<bool> SetCerenkov{this, "SetCerenkov", true, "Bool variable that enables Cerenkov process. Default true."};
32 Gaudi::Property<bool> SetScintillation{this, "SetScintillation", true, "Bool variable that enables Scintillation process. Default true."};
33 Gaudi::Property<bool> SetTransitionRadiation{this, "SetTransitionRadiation", false, "Bool variable that enables transition_radiation process. Default false."};
34private:
36 ToolHandle<ISimG4PhysicsList> m_physicsListTool{"SimG4FtfpBert", this, true};
37};
38
39#endif
abstract interface to load physics lists
Definition ISimG4PhysicsList.h:17
FTFP_BERT physics list + Optical photons physics lists tool.
Definition SimG4OpticalPhysicsList.h:23
virtual ~SimG4OpticalPhysicsList()
Definition SimG4OpticalPhysicsList.cpp:16
virtual StatusCode initialize()
Definition SimG4OpticalPhysicsList.cpp:18
virtual G4VModularPhysicsList * physicsList()
get initilization hook for the physics list
Definition SimG4OpticalPhysicsList.cpp:29
SimG4OpticalPhysicsList(const std::string &aType, const std::string &aName, const IInterface *aParent)
Definition SimG4OpticalPhysicsList.cpp:10
Gaudi::Property< bool > SetTransitionRadiation
Definition SimG4OpticalPhysicsList.h:33
virtual StatusCode finalize()
Definition SimG4OpticalPhysicsList.cpp:27
ToolHandle< ISimG4PhysicsList > m_physicsListTool
Handle for the full physics list tool.
Definition SimG4OpticalPhysicsList.h:36
Gaudi::Property< bool > SetCerenkov
Definition SimG4OpticalPhysicsList.h:31
Gaudi::Property< bool > SetScintillation
Definition SimG4OpticalPhysicsList.h:32