From 4a5b7f0434ea999cba741795b3be384e8d0f8bbd Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Mon, 7 Aug 2023 22:58:08 +0000
Subject: [PATCH] fix: rename imaging/scfi module to sector

---
 options/reconstruction.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/options/reconstruction.py b/options/reconstruction.py
index f384bc47..670b043f 100644
--- a/options/reconstruction.py
+++ b/options/reconstruction.py
@@ -595,7 +595,7 @@ if has_ecal_barrel_imaging:
         samplingFraction=img_barrel_sf,
         readoutClass="EcalBarrelImagingHits",  # readout class
         layerField="layer",  # field to get layer id
-        sectorField="module",  # field to get sector id
+        sectorField="sector",  # field to get sector id
         **img_barrel_daq,
     )
     algorithms.append(img_barrel_reco)
@@ -640,11 +640,11 @@ if has_ecal_barrel_imaging:
         samplingFraction=scifi_barrel_sf,
         readoutClass="EcalBarrelScFiHits",
         layerField="layer",
-        sectorField="module",
+        sectorField="sector",
         localDetFields=[
             "system",
-            "module",
-        ],  # use local coordinates in each module (stave)
+            "sector",
+        ],  # use local coordinates in each sector
         **scfi_barrel_daq,
     )
     algorithms.append(scfi_barrel_reco)
-- 
GitLab