Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Nov 28, 2024
1 parent e10cd54 commit a7afcdc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Examples/Python/python/acts/examples/reconstruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -1283,6 +1283,7 @@ def addKalmanTracks(
clusters: str = None,
calibrator: acts.examples.MeasurementCalibrator = acts.examples.makePassThroughCalibrator(),
logLevel: Optional[acts.logging.Level] = None,
whiteboardAliasTracks: str = "tracks",
) -> None:
customLogLevel = acts.examples.defaultLogging(s, logLevel)

Expand Down Expand Up @@ -1319,7 +1320,7 @@ def addKalmanTracks(
calibrator=calibrator,
)
s.addAlgorithm(fitAlg)
s.addWhiteboardAlias("tracks", fitAlg.config.outputTracks)
s.addWhiteboardAlias(whiteboardAliasTracks, fitAlg.config.outputTracks)

matchAlg = acts.examples.TrackTruthMatcher(
level=customLogLevel(),
Expand Down Expand Up @@ -1418,6 +1419,7 @@ def addCKFTracks(
writePerformance: bool = True,
writeCovMat=False,
logLevel: Optional[acts.logging.Level] = None,
whiteboardAliasTracks: str = "tracks",
) -> None:
"""This function steers the seeding
Expand Down Expand Up @@ -1520,7 +1522,7 @@ def addCKFTracks(
),
)
s.addAlgorithm(trackFinder)
s.addWhiteboardAlias("tracks", trackFinder.config.outputTracks)
s.addWhiteboardAlias(whiteboardAliasTracks, trackFinder.config.outputTracks)

matchAlg = acts.examples.TrackTruthMatcher(
level=customLogLevel(),
Expand Down Expand Up @@ -1568,6 +1570,7 @@ def addGx2fTracks(
clusters: str = None,
calibrator: acts.examples.MeasurementCalibrator = acts.examples.makePassThroughCalibrator(),
logLevel: Optional[acts.logging.Level] = None,
whiteboardAliasTracks: str = "tracks",
) -> None:
customLogLevel = acts.examples.defaultLogging(s, logLevel)

Expand All @@ -1594,7 +1597,7 @@ def addGx2fTracks(
calibrator=calibrator,
)
s.addAlgorithm(fitAlg)
s.addWhiteboardAlias("tracks", fitAlg.config.outputTracks)
s.addWhiteboardAlias(whiteboardAliasTracks, fitAlg.config.outputTracks)

matchAlg = acts.examples.TrackTruthMatcher(
level=customLogLevel(),
Expand Down

0 comments on commit a7afcdc

Please sign in to comment.