From cc4bd23ff809a9edd01df9aa2b6cb896b9e3719f Mon Sep 17 00:00:00 2001
From: Valentina <v.akishina@gsi.de>
Date: Tue, 11 Aug 2020 09:22:59 +0200
Subject: [PATCH] Revert unnecessary changes to L1Algo

---
 reco/L1/L1Algo/L1Algo.h            | 2 +-
 reco/L1/L1Algo/L1CATrackFinder.cxx | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/reco/L1/L1Algo/L1Algo.h b/reco/L1/L1Algo/L1Algo.h
index 1cc72921..3d82474a 100644
--- a/reco/L1/L1Algo/L1Algo.h
+++ b/reco/L1/L1Algo/L1Algo.h
@@ -878,7 +878,7 @@ private:
 #else
 
   enum {
-    fNFindIterations = 1
+    fNFindIterations = 4
   };  // TODO investigate kAllPrimJumpIter & kAllSecJumpIter
 
 
diff --git a/reco/L1/L1Algo/L1CATrackFinder.cxx b/reco/L1/L1Algo/L1CATrackFinder.cxx
index 8cfeee96..7535b34f 100644
--- a/reco/L1/L1Algo/L1CATrackFinder.cxx
+++ b/reco/L1/L1Algo/L1CATrackFinder.cxx
@@ -1952,6 +1952,8 @@ void L1Algo::CATrackFinder() {
 
   for (isec = 0; isec < fNFindIterations; ++isec)  // all finder
   {
+    if (fmCBMmode) if (isec!=0) continue;
+      
     n_g1.assign(n_g1.size(), Portion);
 
     for (int n = 0; n < nTh; n++)
-- 
GitLab