Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes the following bug: physics lists options were not being read. Options such as "ARM" of DecayPhysics were not working.
Updates to low energy physics: Previously some options were enabled by default:
I found out the option
pixe
is responsible for a significant increase of simulation time in latest versions of Geant4, due to a lot of very low energy e- being produced. (this is the cause why the 08.Alphas example runs so slow in the pipeline).The changes in this PR make possible for the user to specify these 3 options as options in the EM physics list. For example:
The default value for options
fluo
andauger
is left astrue
, so the behaviour is the same as previously if not changed. However the optionpixe
new default value isfalse
, in order to reduce simulation time.I have modified examples to explictly enabled
pixe
in order not to modify the validation scripts, however they will be mofied in the future in order to speed them up.