Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Dec 12, 2024
1 parent a09328e commit 9d1ed29
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions Examples/Scripts/Python/digitization.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ def runDigitization(
)
s.addReader(evGen)

s.addWhiteboardAlias(
"particles_generated_selected", evGen.config.outputParticles
)

outputDir = Path(outputDir)
addFatras(
s,
Expand Down
20 changes: 10 additions & 10 deletions Examples/Scripts/Python/seeding.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 9d1ed29

Please sign in to comment.