Go to the documentation of this file.
6 #ifndef CBMGEANT4SETTINGS_H
7 #define CBMGEANT4SETTINGS_H 1
34 void Init(TVirtualMC*);
42 std::string physicsLists,
43 std::string specialProcesses) {
78 {
"geomRoot",
"QGSP_BERT_EMV+optical",
"stepLimiter"}};
81 "/process/optical/verbose 0",
82 "/process/optical/defaults/cerenkov/setMaxPhotons 20",
83 "/process/optical/defaults/cerenkov/setMaxBetaChange 0.1",
84 "/process/optical/setTrackSecondariesFirst Cerenkov false"};
~CbmGeant4Settings()=default
void SetG4Command(std::string command)
Set a new command which should be passsed to Geant4. The call will remove the current list of command...
ClassDef(CbmGeant4Settings, 3)
std::vector< std::string > fG4Commands
void SetG4RunConfig(std::string navigationEngine, std::string physicsLists, std::string specialProcesses)
Define the Geant4 run configuration.
CbmGeant4Settings & operator=(const CbmGeant4Settings &)=delete
CbmGeant4Settings()=default
CbmGeant4Settings(const CbmGeant4Settings &)=delete
void SetMaximumNumberOfSteps(Int_t numSteps)
Set the maximum number of steps after which the transport is stopped list of commands.
std::array< std::string, 3 > fG4RunConfig
void Init(TVirtualMC *)
Set all parameters defined in this class.
void AddG4Command(std::string command)
Add a new command which should be passsed to Geant4 to the existing list of commands.
User interface class to define the Geant4 simulation settings.
User interface class to define the transport simulation settings which are common for both used trans...
std::array< std::string, 3 > GetG4RunConfig()
Get the Geant4 run configuration.