From 0a619272c25d0d8c96ab963ed5f8a67014da25a6 Mon Sep 17 00:00:00 2001
From: "se.gorbunov" <se.gorbunov@gsi.de>
Date: Tue, 5 Mar 2024 14:18:47 +0000
Subject: [PATCH] CA: separate cuts on chi2 in X ynd Y

---
 algo/ca/core/tracking/CaTripletConstructor.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/algo/ca/core/tracking/CaTripletConstructor.cxx b/algo/ca/core/tracking/CaTripletConstructor.cxx
index abb6514e5f..d5c61e62c2 100644
--- a/algo/ca/core/tracking/CaTripletConstructor.cxx
+++ b/algo/ca/core/tracking/CaTripletConstructor.cxx
@@ -811,7 +811,7 @@ void TripletConstructor::CollectHits(const TrackParamV& Tr, const int iSta, cons
         }
         continue;
       }
-      if (chi2x[0] + chi2u[0] > chi2Cut) {
+      if (chi2u[0] > chi2Cut) {
         if constexpr (fDebugCollectHits) {
           LOG(info) << "   hit chi2U is too large";
         }
-- 
GitLab