Skip to content

Commit

Permalink
Adjust full_chain_itk configuration for updated vertex fitting algori…
Browse files Browse the repository at this point in the history
…thm.

The vertex fitting algorithm does not perform a track selection anymore
but expects preselected track parameters as input.
  • Loading branch information
Goetz Gaycken committed Oct 31, 2022
1 parent 5c07814 commit 3746b08
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions Examples/Scripts/Python/full_chain_itk.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
ParticleSelectorConfig,
addDigitization,
)
from acts.examples import TrackSelector
from acts.examples.reconstruction import (
addSeeding,
TruthSeedRanges,
Expand Down Expand Up @@ -93,13 +94,24 @@
outputDirRoot=outputDir,
)

ckfTrackParameters = "fittedTrackParameters"
vtxTrackParameters = "vtxTrackParameters"
trackSelector = TrackSelector(
level=acts.logging.INFO,
inputTrackParameters=ckfTrackParameters,
outputTrackParameters=vtxTrackParameters,
removeNeutral=True,
ptMin=1.0 * u.GeV,
absEtaMax=4.0,
)
s.addAlgorithm(trackSelector)
addVertexFitting(
s,
field,
TrackSelectorRanges(pt=(1.0 * u.GeV, None), absEta=(None, 4.0), removeNeutral=True),
vertexFinder=VertexFinder.Iterative,
outputDirRoot=outputDir,
trajectories="trajectories",
trajectories=None,
trackParameters=vtxTrackParameters,
)

s.run()

0 comments on commit 3746b08

Please sign in to comment.