10#ifndef CBMGEANT4SETTINGS_H
11#define CBMGEANT4SETTINGS_H 1
38 void Init(TVirtualMC*);
45 void SetG4RunConfig(std::string navigationEngine, std::string physicsLists, std::string specialProcesses)
98 std::array<std::string, 3>
fG4RunConfig {{
"geomRoot",
"QGSP_BERT_EMV+optical",
"stepLimiter"}};
105 std::vector<std::string>
fG4Commands {
"/process/optical/verbose 0",
106 "/process/optical/cerenkov/setMaxPhotons 20",
107 "/process/optical/cerenkov/setMaxBetaChange 0.1",
108 "/process/optical/cerenkov/setTrackSecondariesFirst true",
109 "/process/optical/processActivation Cerenkov true",
110 "/process/optical/processActivation OpAbsorption true",
111 "/process/optical/processActivation OpBoundary true"};
User interface class to define the Geant4 simulation settings.
Int_t GetMaximumNumberOfSteps()
Get the maximum number of steps.
CbmGeant4Settings(const CbmGeant4Settings &)=delete
std::array< std::string, 3 > GetG4RunConfig()
Get the Geant4 run configuration.
void SetMaximumNumberOfSteps(Int_t numSteps)
Set the maximum number of steps after which the transport is stopped list of commands.
void SetG4Command(std::string command)
Set a new command which should be passsed to Geant4. The call will remove the current list of command...
std::vector< std::string > GetG4Commands()
Get the Geant4 commands.
void Init(TVirtualMC *)
Set all parameters defined in this class.
CbmGeant4Settings()=default
~CbmGeant4Settings()=default
void SetG4RunConfig(std::string navigationEngine, std::string physicsLists, std::string specialProcesses)
Define the Geant4 run configuration.
void AddG4Command(std::string command)
Add a new command which should be passsed to Geant4 to the existing list of commands.
CbmGeant4Settings & operator=(const CbmGeant4Settings &)=delete
Int_t GetG4Seed()
Get the Geant4 random seed.
std::vector< std::string > fG4Commands
std::array< std::string, 3 > fG4RunConfig
ClassDef(CbmGeant4Settings, 4)
User interface class to define the transport simulation settings which are common for both used trans...