From 29e7d3e64974f524c6d12aa868b8b6cfc11b81a6 Mon Sep 17 00:00:00 2001
From: Chao Peng <cpeng@anl.gov>
Date: Sat, 17 Jul 2021 16:54:25 -0500
Subject: [PATCH] add field ids

---
 benchmarks/imaging_ecal/options/hybrid_cluster.py | 5 ++++-
 benchmarks/imaging_ecal/options/scfi_cluster.py   | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/benchmarks/imaging_ecal/options/hybrid_cluster.py b/benchmarks/imaging_ecal/options/hybrid_cluster.py
index 75705fc0..7912a330 100644
--- a/benchmarks/imaging_ecal/options/hybrid_cluster.py
+++ b/benchmarks/imaging_ecal/options/hybrid_cluster.py
@@ -105,6 +105,8 @@ scfi_barrel_reco = CalHitReco("scfi_barrel_reco",
         outputHitCollection="EcalBarrelScFiHitsReco",
         thresholdFactor=5.0,
         readoutClass="EcalBarrelScFiHits",
+        layerField="layer",
+        sectorField="module",
         localDetFields=["system", "module"], # use local coordinates in each module (stave)
         **scfi_barrel_daq)
 
@@ -123,7 +125,8 @@ scfi_barrel_cl = IslandCluster("scfi_barrel_cl",
         outputHitCollection="EcalBarrelScFiClusterHits",
         splitCluster=False,
         minClusterCenterEdep=10.*MeV,
-        localDistXZ=[30*mm, 30*mm])
+        localDistXZ=[30*mm, 30*mm]
+        sectorDist=5.*cm)
 
 scfi_barrel_clreco = RecoCoG("scfi_barrel_clreco",
        inputHitCollection="EcalBarrelScFiClusterHits",
diff --git a/benchmarks/imaging_ecal/options/scfi_cluster.py b/benchmarks/imaging_ecal/options/scfi_cluster.py
index 6775a0aa..3ab0d5cc 100644
--- a/benchmarks/imaging_ecal/options/scfi_cluster.py
+++ b/benchmarks/imaging_ecal/options/scfi_cluster.py
@@ -52,6 +52,8 @@ scfi_barrel_reco = CalHitReco("scfi_barrel_reco",
         outputHitCollection="EcalBarrelScFiHitsReco",
         thresholdFactor=5.0,
         readoutClass="EcalBarrelScFiHits",
+        layerField="layer",
+        sectorField="module",
         localDetFields=["system", "module"], # use local coordinates in each module (stave)
         **scfi_barrel_daq)
 
-- 
GitLab