From cd4729c3e084b4711ad88c344f2c5381124f964a Mon Sep 17 00:00:00 2001
From: "s.zharko@gsi.de" <s.zharko@gsi.de>
Date: Mon, 28 Aug 2023 15:09:27 +0200
Subject: [PATCH] [bugfix] CA: parameter configuration fix

---
 macro/L1/configs/ca_params_sts.yaml | 2 +-
 reco/L1/L1Algo/L1ConfigRW.cxx       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/macro/L1/configs/ca_params_sts.yaml b/macro/L1/configs/ca_params_sts.yaml
index f3d4618549..4172e54cbf 100644
--- a/macro/L1/configs/ca_params_sts.yaml
+++ b/macro/L1/configs/ca_params_sts.yaml
@@ -48,7 +48,7 @@ ca:
     
     # Developement flags
     dev:
-      ignore_hit_search_areas:      true
+      ignore_hit_search_areas:      false
       use_of_original_field:        false
       match_doublets_via_mc:        false
       match_triplets_via_mc:        false
diff --git a/reco/L1/L1Algo/L1ConfigRW.cxx b/reco/L1/L1Algo/L1ConfigRW.cxx
index e2fd919656..328ebc7bd3 100644
--- a/reco/L1/L1Algo/L1ConfigRW.cxx
+++ b/reco/L1/L1Algo/L1ConfigRW.cxx
@@ -315,7 +315,7 @@ L1CAIteration L1ConfigRW::ReadSingleCAIteration(const YAML::Node& node, const L1
     iter.SetPrimaryFlag(node["is_primary"].as<bool>(defaultIter.GetPrimaryFlag()));
     iter.SetElectronFlag(node["is_electron"].as<bool>(defaultIter.GetElectronFlag()));
     iter.SetTrackFromTripletsFlag(node["is_track_from_triplets"].as<bool>(defaultIter.GetTrackFromTripletsFlag()));
-    iter.SetExtendTracksFlag(node["if_extend_tracks"].as<bool>(defaultIter.GetExtendTracksFlag()));
+    iter.SetExtendTracksFlag(node["is_extend_tracks"].as<bool>(defaultIter.GetExtendTracksFlag()));
     iter.SetJumpedFlag(node["is_jumped"].as<bool>(defaultIter.GetJumpedFlag()));
     iter.SetMinNhits(node["min_n_hits"].as<int>(defaultIter.GetMinNhits()));
     iter.SetMinNhitsStation0(node["min_n_hits_station_0"].as<int>(defaultIter.GetMinNhitsStation0()));
-- 
GitLab