From d680136b42f76242c160b6bd969b014c26aafa81 Mon Sep 17 00:00:00 2001
From: wfan <wenqing.fan@cern.ch>
Date: Tue, 5 Oct 2021 09:55:29 -0700
Subject: [PATCH] adding tracking algorithm to save path length out to the
 reconstructed output

---
 benchmarks/tracking/options/track_reconstruction.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/benchmarks/tracking/options/track_reconstruction.py b/benchmarks/tracking/options/track_reconstruction.py
index 7086d8a9..764659b7 100644
--- a/benchmarks/tracking/options/track_reconstruction.py
+++ b/benchmarks/tracking/options/track_reconstruction.py
@@ -36,6 +36,7 @@ from Configurables import Jug__Reco__TrackParamVertexClusterInit as TrackParamVe
 
 from Configurables import Jug__Reco__TrackFindingAlgorithm as TrackFindingAlgorithm
 from Configurables import Jug__Reco__ParticlesFromTrackFit as ParticlesFromTrackFit
+from Configurables import Jug__Reco__TrajectoryFromTrackFit as TrajectoryFromTrackFit
 
 from Configurables import Jug__Reco__SimpleClustering as SimpleClustering
 
@@ -154,6 +155,12 @@ parts_from_fit = ParticlesFromTrackFit("parts_from_fit",
         #OutputLevel=DEBUG)
 algorithms.append( parts_from_fit )
 
+trajs_from_fit = TrajectoryFromTrackFit("trajs_from_fit",
+inputTrajectories = trk_find_alg.outputTrajectories,
+outputTrajectoryParameters = "outputTrajectoryParameters")
+        #OutputLevel=DEBUG)
+algorithms.append(trajs_from_fit)
+
 #types = []
 ## this printout is useful to check that the type information is passed to python correctly
 #print("---------------------------------------\n")
-- 
GitLab