Skip to content

[do-not-merge] Alter Geant4 Msc Process Energy Limit

Simon Spannagel requested to merge p-switch-g4-threshold into master

This is not to be merged.

This implements a new parameter

[Depositiongeant4]
msc_energy_limit = 200MeV

which changes the energy limit of msc models in the Geant4 electromagnetic constructor.

Use the following setup to see if the setting is properly applied:

[GeometryBuilderGeant4]
log_level_g4cout = INFO
log_level_g4cerr = INFO

[DepositionGeant4]
msc_energy_limit = 200MeV
geant4_processtable_verbosity = 1

should produce a table like this:

                                  =======================================================================
                                  ======                 Multiple Scattering Parameters          ========
                                  =======================================================================
                                  Type of msc step limit algorithm for e+-           2
   [...]
                                  Upper energy limit for e+- multiple scattering     200 MeV
   [...]   

@ldesilva @kevin

Merge request reports