Skip to content

Commit

Permalink
fix: Let addGeant4 respect particle selection (#1792)
Browse files Browse the repository at this point in the history
Fix the addGeant4 python function. With this fix the input of the geant4 simulation is changed to `particles_selected` which mean that the particle selector won't be ignored anymore.
  • Loading branch information
Corentin-Allaire committed Jan 23, 2023
1 parent 3ce8b23 commit 7a3761d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/Python/python/acts/examples/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ def addGeant4(
g4conf = geant4SimulationConfig(
level=customLogLevel(),
detector=g4detectorConstruction,
inputParticles="particles_input",
inputParticles=particles_selected,
trackingGeometry=trackingGeometry,
magneticField=field,
volumeMappings=volumeMappings,
Expand Down

0 comments on commit 7a3761d

Please sign in to comment.