Commit 36126564 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Update reconstruction.py: try harder

parent 31bc4fdc
Pipeline #26674 passed with stages
in 14 minutes and 58 seconds
......@@ -661,14 +661,24 @@ truth_trk_init = TrackParamTruthInit("truth_trk_init",
algorithms.append(truth_trk_init)
# Tracking algorithms
trk_find_alg = CKFTracking("trk_find_alg",
try:
trk_find_alg = CKFTracking("trk_find_alg",
inputSourceLinks = sourcelinker.outputSourceLinks,
inputMeasurements = sourcelinker.outputMeasurements,
inputInitialTrackParameters = truth_trk_init.outputInitialTrackParameters,
outputTrajectories = "trajectories",
chi2CutOff = [50.]
)
algorithms.append(trk_find_alg)
chi2CutOff = [50.]
)
algorithms.append(trk_find_alg)
except ValueError:
trk_find_alg = CKFTracking("trk_find_alg",
inputSourceLinks = sourcelinker.outputSourceLinks,
inputMeasurements = sourcelinker.outputMeasurements,
inputInitialTrackParameters = truth_trk_init.outputInitialTrackParameters,
outputTrajectories = "trajectories",
chi2CutOff = 50
)
algorithms.append(trk_find_alg)
parts_from_fit = ParticlesFromTrackFit("parts_from_fit",
inputTrajectories = trk_find_alg.outputTrajectories,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment