From 08b00e43fdf551c182fe7b0951f5a9e57efb9aa4 Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Wed, 11 Jun 2014 12:25:52 +0000
Subject: [PATCH]    - replace one Box with a Trap for debugging ( change l.66
 to #ifdef 1)

---
 examples/ILDExDet/src/ILDExSIT_geo.cpp | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/examples/ILDExDet/src/ILDExSIT_geo.cpp b/examples/ILDExDet/src/ILDExSIT_geo.cpp
index 087f2e4bc..c55b65712 100644
--- a/examples/ILDExDet/src/ILDExSIT_geo.cpp
+++ b/examples/ILDExDet/src/ILDExSIT_geo.cpp
@@ -61,7 +61,24 @@ static Ref_t create_element(LCDD& lcdd, xml_h e, SensitiveDetector sens)  {
     Material sensmat =  lcdd.material( x_ladder.materialStr() );
 
     Volume      laddervol (layername+"_ladder",ladderbox , suppmat );
+
+#if 0 /// debug: replacing Box with Trap ...
+    Trap sensbox( zhalf,
+		  0.0,
+		  0.0,
+		  width/2.,
+		  sens_thick/2.,
+		  sens_thick/2.,
+		  0.0,
+		  width/2.,
+		  sens_thick/2.,
+		  sens_thick/2.,
+		  0.0 ) ;
+#else
     Box         sensbox   (sens_thick/2.,width/2.,zhalf);
+#endif
+
+
     Volume      sensvol   (layername+"_sens",sensbox, sensmat );
     Box         suppbox   (supp_thick/2.,width/2.,zhalf);
     Volume      suppvol   (layername+"_supp",suppbox,lcdd.material(x_support.materialStr()));
-- 
GitLab