diff --git a/Examples/Scripts/Python/digitization.py b/Examples/Scripts/Python/digitization.py index 2eb375c099d..9d59e75cf50 100755 --- a/Examples/Scripts/Python/digitization.py +++ b/Examples/Scripts/Python/digitization.py @@ -53,6 +53,10 @@ def runDigitization( ) s.addReader(evGen) + s.addWhiteboardAlias( + "particles_generated_selected", evGen.config.outputParticles + ) + outputDir = Path(outputDir) addFatras( s, diff --git a/Examples/Scripts/Python/seeding.py b/Examples/Scripts/Python/seeding.py index 0c7cb1d9857..c225ec0190e 100755 --- a/Examples/Scripts/Python/seeding.py +++ b/Examples/Scripts/Python/seeding.py @@ -89,16 +89,6 @@ def runSeeding( rnd=rnd, ) - addDigiParticleSelection( - s, - ParticleSelectorConfig( - pt=(1.0 * u.GeV, None), - eta=(-2.5, 2.5), - measurements=(9, None), - removeNeutral=True, - ), - ) - srcdir = Path(__file__).resolve().parent.parent.parent.parent addDigitization( s, @@ -109,6 +99,16 @@ def runSeeding( rnd=rnd, ) + addDigiParticleSelection( + s, + ParticleSelectorConfig( + pt=(1.0 * u.GeV, None), + eta=(-2.5, 2.5), + measurements=(9, None), + removeNeutral=True, + ), + ) + from acts.examples.reconstruction import ( addSeeding, SeedFinderConfigArg,