From 9d1ed29bc4564039c083229a24d0dd8f5efc70cc Mon Sep 17 00:00:00 2001 From: Andreas Stefl Date: Thu, 12 Dec 2024 11:15:14 +0100 Subject: [PATCH] fix tests --- Examples/Scripts/Python/digitization.py | 4 ++++ Examples/Scripts/Python/seeding.py | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) 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,