BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
g4Config.C File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void Config ()

Function Documentation

◆ Config()

void Config ( )

Create the run configuration In constructor user has to specify the geometry input and select geometry navigation via the following options:

  • geomVMCtoGeant4 - geometry defined via VMC, G4 native navigation
  • geomVMCtoRoot - geometry defined via VMC, Root navigation
  • geomRoot - geometry defined via Root, Root navigation
  • geomRootToGeant4 - geometry defined via Root, G4 native navigation
  • geomGeant4 - geometry defined via Geant4, G4 native navigation

The second argument in the constructor selects physics list:

  • emStandard - standard em physics (default)
  • emStandard+optical - standard em physics + optical physics
  • XYZ - selected hadron physics list ( XYZ = LHEP, QGSP, ...)
  • XYZ+optical - selected hadron physics list + optical physics

The third argument activates the special processes in the TG4SpecialPhysicsList, which implement VMC features:

  • stepLimiter - step limiter (default)
  • specialCuts - VMC cuts
  • specialControls - VMC controls for activation/inactivation selected processes
  • stackPopper - stackPopper process When more than one options are selected, they should be separated with '+' character: eg. stepLimit+specialCuts.

Create the G4 VMC

Create the Specific stack

Customise Geant4 setting (verbose level, global range cut, ..)

Definition at line 2 of file g4Config.C.

References TString::Data(), and CbmStack::StoreSecondaries().

Here is the call graph for this function: