CbmRoot
|
User interface class to define the Geant4 simulation settings. More...
#include <CbmGeant4Settings.h>
Public Member Functions | |
CbmGeant4Settings ()=default | |
~CbmGeant4Settings ()=default | |
CbmGeant4Settings (const CbmGeant4Settings &)=delete | |
CbmGeant4Settings & | operator= (const CbmGeant4Settings &)=delete |
void | Init (TVirtualMC *) |
Set all parameters defined in this class. | |
void | SetG4RunConfig (std::string navigationEngine, std::string physicsLists, std::string specialProcesses) |
Define the Geant4 run configuration. | |
std::array< std::string, 3 > | GetG4RunConfig () |
Get the Geant4 run configuration. | |
Int_t | GetG4Seed () |
Get the Geant4 random seed. | |
void | SetG4Command (std::string command) |
Set a new command which should be passsed to Geant4. The call will remove the current list of commands. | |
void | AddG4Command (std::string command) |
Add a new command which should be passsed to Geant4 to the existing list of commands. | |
std::vector< std::string > | GetG4Commands () |
Get the Geant4 commands. | |
void | SetMaximumNumberOfSteps (Int_t numSteps) |
Set the maximum number of steps after which the transport is stopped list of commands. | |
Int_t | GetMaximumNumberOfSteps () |
Get the maximum number of steps. | |
void | SetProcessPairProduction (Int_t val) |
Control the pair production process. | |
void | SetProcessComptonScattering (Int_t val) |
Control the Compton scattering process. | |
void | SetProcessPhotoEffect (Int_t val) |
Control the photo-electric effect. | |
void | SetProcessPhotoFission (Int_t val) |
Control the process of nuclear fission induced by a photon. | |
void | SetProcessDeltaRay (Int_t val) |
Control the delta ray production. | |
void | SetProcessAnnihilation (Int_t val) |
Control the positron annihilation process. | |
void | SetProcessBremsstrahlung (Int_t val) |
Control the process of bremsstrahlung. | |
void | SetProcessHadronicInteraction (Int_t val) |
Control the hadronic interactions. | |
void | SetProcessMuonNuclearInteraction (Int_t val) |
Control the muon-nucleus interaction. | |
void | SetProcessDecay (Int_t val) |
Control the decay of particles in flight. | |
void | SetProcessEnergyLossModel (Int_t val) |
Control the continuous enery loss process. | |
void | SetProcessMultipleScattering (Int_t val) |
Control the multiple scattering process. | |
void | SetEnergyCutGammas (Double_t val) |
Set the energy threshold for the transport of gammas. | |
void | SetEnergyCutElectrons (Double_t val) |
Set the energy threshold for the transport of electros and positrons. | |
void | SetEnergyCutNeutralHadrons (Double_t val) |
Set the energy threshold for the transport of neutral hadrons. | |
void | SetEnergyCutChargedHadrons (Double_t val) |
Set the energy threshold for the transport of charged hadrons and ions. | |
void | SetEnergyCutMuons (Double_t val) |
Set the energy threshold for the transport of muons. | |
void | SetEnergyCutElectronBremsstrahlung (Double_t val) |
Set the energy threshold for photons produced by electron bremsstrahlung. | |
void | SetEnergyCutMuonHadronBremsstrahlung (Double_t val) |
Set the energy threshold for photons produced by muon bremsstrahlung. | |
void | SetEnergyCutElectronDeltaRay (Double_t val) |
Set the energy threshold for electrons produced by electron delta-rays. | |
void | SetEnergyCutMuonDeltaRay (Double_t val) |
Set the energy threshold for electrons produced by muon or hadron delta-rays. | |
void | SetEnergyCutMuonPairProduction (Double_t val) |
Set the energy threshold for e+e- direct pair production by muons. | |
void | SetTimeCutTof (Double_t val) |
Set the time of flight threshold from the primary interaction time. | |
Private Member Functions | |
ClassDef (CbmGeant4Settings, 4) | |
User interface class to define the Geant4 simulation settings.
Definition at line 27 of file CbmGeant4Settings.h.
|
default |
|
default |
|
delete |
|
inline |
Add a new command which should be passsed to Geant4 to the existing list of commands.
[in] | Geant4 | command string |
Definition at line 78 of file CbmGeant4Settings.h.
References fG4Commands.
|
private |
|
inline |
Get the Geant4 commands.
Definition at line 84 of file CbmGeant4Settings.h.
References fG4Commands.
|
inline |
Get the Geant4 run configuration.
Definition at line 56 of file CbmGeant4Settings.h.
References fG4RunConfig.
Referenced by CbmTransport::ConfigureVMC().
|
inline |
Get the Geant4 random seed.
Definition at line 62 of file CbmGeant4Settings.h.
References fRandomSeed.
|
inline |
Get the maximum number of steps.
Definition at line 95 of file CbmGeant4Settings.h.
References fMaxNumSteps.
void CbmGeant4Settings::Init | ( | TVirtualMC * | vmc | ) |
Set all parameters defined in this class.
[in] | vmc | Pointer to the VirtualMC class |
Definition at line 16 of file CbmGeant4Settings.cxx.
References buffer, fG4Commands, fMaxNumSteps, fRandomSeed, and CbmVMCSettings::Init().
Referenced by CbmTransport::ConfigureVMC().
|
delete |
|
inlineinherited |
Set the energy threshold for the transport of charged hadrons and ions.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 276 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutChargedHadrons.
|
inlineinherited |
Set the energy threshold for photons produced by electron bremsstrahlung.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 298 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutElectronBremsstrahlung.
|
inlineinherited |
Set the energy threshold for electrons produced by electron delta-rays.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 320 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutElectronDeltaRay.
|
inlineinherited |
Set the energy threshold for the transport of electros and positrons.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 254 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutElectrons.
|
inlineinherited |
Set the energy threshold for the transport of gammas.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 243 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutGammas.
|
inlineinherited |
Set the energy threshold for electrons produced by muon or hadron delta-rays.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 331 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutMuonDeltaRay.
|
inlineinherited |
Set the energy threshold for photons produced by muon bremsstrahlung.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 309 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutMuonHadronBremsstrahlung.
|
inlineinherited |
Set the energy threshold for e+e- direct pair production by muons.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 342 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutMuonPairProduction.
|
inlineinherited |
Set the energy threshold for the transport of muons.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 287 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutMuons.
|
inlineinherited |
Set the energy threshold for the transport of neutral hadrons.
[in] | val | Value to be set |
The parameter is the kinetic energy in GeV
Definition at line 265 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fEnergyCutNeutralHadrons.
|
inline |
Set a new command which should be passsed to Geant4. The call will remove the current list of commands.
[in] | Geant4 | command string |
Definition at line 68 of file CbmGeant4Settings.h.
References fG4Commands.
|
inline |
Define the Geant4 run configuration.
[in] | navigationEngine | Define geometry input and navigation (default geomROOT) |
[in] | physicsLists | Define the physiscs lists (default QGSP_BERT_EMV+optical) @Param[in] specialProcesses Define special processes (default stepLimiter) |
Definition at line 45 of file CbmGeant4Settings.h.
References fG4RunConfig.
|
inline |
Set the maximum number of steps after which the transport is stopped list of commands.
[in] | Number | of steps |
Definition at line 90 of file CbmGeant4Settings.h.
References fMaxNumSteps.
|
inlineinherited |
Control the positron annihilation process.
[in] | val | Value to be set |
Definition at line 134 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessAnnihilation.
|
inlineinherited |
Control the process of bremsstrahlung.
[in] | val | Value to be set |
Definition at line 149 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessBremsstrahlung.
|
inlineinherited |
Control the Compton scattering process.
[in] | val | Value to be set |
Definition at line 74 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessComptonScattering.
|
inlineinherited |
Control the decay of particles in flight.
[in] | val | Value to be set |
Definition at line 196 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessDecay.
|
inlineinherited |
Control the delta ray production.
[in] | val | Value to be set |
Definition at line 119 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessDeltaRay.
|
inlineinherited |
Control the continuous enery loss process.
[in] | val | Value to be set |
Definition at line 216 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessEnergyLossModel.
|
inlineinherited |
Control the hadronic interactions.
[in] | val | Value to be set |
Definition at line 166 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessHadronicInteraction.
|
inlineinherited |
Control the multiple scattering process.
[in] | val | Value to be set |
Definition at line 232 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessMultipleScattering.
|
inlineinherited |
Control the muon-nucleus interaction.
[in] | val | Value to be set |
Definition at line 181 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessMuonNuclearInteraction.
|
inlineinherited |
Control the pair production process.
[in] | val | Value to be set |
Definition at line 59 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessPairProduction.
|
inlineinherited |
Control the photo-electric effect.
[in] | val | Value to be set |
Definition at line 89 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessPhotoEffect.
|
inlineinherited |
Control the process of nuclear fission induced by a photon.
[in] | val | Value to be set |
Definition at line 104 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fProcessPhotoFission.
|
inlineinherited |
Set the time of flight threshold from the primary interaction time.
[in] | val | Value to be set |
The parameter is the time in s
Definition at line 353 of file CbmVMCSettings.h.
References CheckValueInRange(), and CbmVMCSettings::fTimeCutTof.
|
privateinherited |
Definition at line 376 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutChargedHadrons().
|
privateinherited |
Definition at line 378 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutElectronBremsstrahlung().
|
privateinherited |
Definition at line 380 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutElectronDeltaRay().
|
privateinherited |
Definition at line 374 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutElectrons().
|
privateinherited |
Definition at line 373 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutGammas().
|
privateinherited |
Definition at line 381 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutMuonDeltaRay().
|
privateinherited |
Definition at line 379 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutMuonHadronBremsstrahlung().
|
privateinherited |
Definition at line 382 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutMuonPairProduction().
|
privateinherited |
Definition at line 377 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutMuons().
|
privateinherited |
Definition at line 375 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetEnergyCutNeutralHadrons().
|
private |
Definition at line 105 of file CbmGeant4Settings.h.
Referenced by AddG4Command(), GetG4Commands(), Init(), and SetG4Command().
|
private |
Definition at line 98 of file CbmGeant4Settings.h.
Referenced by GetG4RunConfig(), and SetG4RunConfig().
|
private |
Definition at line 113 of file CbmGeant4Settings.h.
Referenced by GetMaximumNumberOfSteps(), Init(), and SetMaximumNumberOfSteps().
|
privateinherited |
Definition at line 365 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessAnnihilation().
|
privateinherited |
Definition at line 366 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessBremsstrahlung().
|
privateinherited |
Definition at line 361 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessComptonScattering().
|
privateinherited |
Definition at line 369 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessDecay().
|
privateinherited |
Definition at line 364 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessDeltaRay().
|
privateinherited |
Definition at line 370 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessEnergyLossModel().
|
privateinherited |
Definition at line 367 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessHadronicInteraction().
|
privateinherited |
Definition at line 371 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessMultipleScattering().
|
privateinherited |
Definition at line 368 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessMuonNuclearInteraction().
|
privateinherited |
Definition at line 360 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessPairProduction().
|
privateinherited |
Definition at line 362 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessPhotoEffect().
|
privateinherited |
Definition at line 363 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetProcessPhotoFission().
|
private |
Definition at line 115 of file CbmGeant4Settings.h.
Referenced by GetG4Seed(), and Init().
|
privateinherited |
Definition at line 384 of file CbmVMCSettings.h.
Referenced by CbmVMCSettings::Init(), and CbmVMCSettings::SetTimeCutTof().