From 1d8552c0227e602a76f424e4c31aa408809ee005 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Thu, 17 Oct 2013 14:42:21 +0000
Subject: [PATCH]  - workaround for seg fault with Segmentation:     use
 RegularNgonCartesianGridXY for now     -> should be (Non)ProjectiveCylinder
 really     -> needs fixes

---
 examples/noviceN04/compact/N04.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/examples/noviceN04/compact/N04.xml b/examples/noviceN04/compact/N04.xml
index 051b5ea93..f15577b8f 100644
--- a/examples/noviceN04/compact/N04.xml
+++ b/examples/noviceN04/compact/N04.xml
@@ -170,12 +170,14 @@
     </readout>
 
     <readout name="CalorimeterCollection">
-      <segmentation type="NonProjectiveCylinder" gridSizePhi="caloCell_dphi" gridSizeZ="caloRing_dz" />
+      <segmentation type="RegularNgonCartesianGridXY" gridSizeY="30.0*mm" gridSizeZ="30.0*mm" />
+      <!--FIXME: should actually be (seg faults):  segmentation type="NonProjectiveCylinder" gridSizePhi="caloCell_dphi" gridSizeZ="caloRing_dz" /-->
       <id>system:6,stave:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
     </readout>
 
     <readout name="MuonCollection">
-      <segmentation type="ProjectiveCylinder" gridSizeY="30.0*mm" gridSizeZ="30.0*mm" />
+      <segmentation type="RegularNgonCartesianGridXY" gridSizeY="30.0*mm" gridSizeZ="30.0*mm" />
+      <!--FIXME: should actually be (seg faults):  segmentation type="ProjectiveCylinder" gridSizeY="30.0*mm" gridSizeZ="30.0*mm" /-->
       <id>system:6,stave:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
     </readout>
 
-- 
GitLab