From ab805278f2b2f11e9709e675ef678520200c2729 Mon Sep 17 00:00:00 2001
From: lintao <lintao51@gmail.com>
Date: Wed, 6 May 2020 20:31:49 +0800
Subject: [PATCH] WIP: using segmentation in the EcalMatrix.

---
 Detector/DetEcalMatrix/compact/det.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Detector/DetEcalMatrix/compact/det.xml b/Detector/DetEcalMatrix/compact/det.xml
index fb39af73..bb4f4863 100644
--- a/Detector/DetEcalMatrix/compact/det.xml
+++ b/Detector/DetEcalMatrix/compact/det.xml
@@ -39,7 +39,11 @@
   
   <readouts>
     <readout name="CaloHitsCollection">
-      <id>system:8</id>
+      <segmentation type="CartesianGridXYZ" 
+                    grid_size_x="1*cm" 
+                    grid_size_y="1*cm" 
+                    grid_size_z="1*cm"/>
+      <id>system:8,x:32:-6,y:-6,z:-6</id>
     </readout>
   </readouts>
 
-- 
GitLab