From dbf838e3ab5e5bac01bfcaef6ecd4d2e8885f972 Mon Sep 17 00:00:00 2001
From: Marshall Scott <mbscott@anl.gov>
Date: Thu, 22 Apr 2021 11:50:14 -0400
Subject: [PATCH] Commented out small ZDC in xml file

---
 compact/ffi_ZDC_HCAL.xml | 4 +++-
 src/ffi_ZDC_HCAL.cpp     | 1 -
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/compact/ffi_ZDC_HCAL.xml b/compact/ffi_ZDC_HCAL.xml
index 7a8ea14..6ac0f3c 100644
--- a/compact/ffi_ZDC_HCAL.xml
+++ b/compact/ffi_ZDC_HCAL.xml
@@ -74,6 +74,7 @@
 
   <!-- Define detector -->
   <detectors>
+    <!--
     <detector id="ffi_ZDC_HCAL_ID" name="smallZDC" type="ZDC" readout="ZDCHits" vis="RedVis">
       <position x="ffi_ZDC_HCAL_st_x_pos" y="ffi_ZDC_HCAL_st_y_pos" z="ffi_ZDC_HCAL_st_z_pos"/>
       <dimensions x = "ffi_ZDC_HCAL_st_length" y = "ffi_ZDC_HCAL_st_length"/>
@@ -119,7 +120,8 @@
         <slice name="Tungsten_slice" material="TungstenDens24" thickness="7*mm" vis = "GrayVis"/>
       </layer>
     </detector>
-    <detector id="2" name="largeZDC" type="ZDC" readout="ZDCHits" vis="RedVis">
+  -->
+    <detector id="ffi_ZDC_HCAL_ID" name="largeZDC" type="ZDC" readout="ZDCHits" vis="RedVis">
       <position x="ffi_ZDC_HCAL_lt_x_pos" y="ffi_ZDC_HCAL_lt_y_pos" z="ffi_ZDC_HCAL_lt_z_pos"/>
       <dimensions x = "ffi_ZDC_HCAL_lt_length" y = "ffi_ZDC_HCAL_lt_length"/>
       <layer repeat="2">
diff --git a/src/ffi_ZDC_HCAL.cpp b/src/ffi_ZDC_HCAL.cpp
index 26ae650..336d212 100644
--- a/src/ffi_ZDC_HCAL.cpp
+++ b/src/ffi_ZDC_HCAL.cpp
@@ -39,7 +39,6 @@ static Ref_t createDetector(Detector& lcdd, xml_h e, SensitiveDetector sens) {
 	Box envelope (pixel_x/2.0, pixel_y/2.0,totWidth);
 	Volume envelopeVol(det_name+"_envelope",envelope,air); 
 	PlacedVolume pv;
-	cout << totWidth << endl;
 	
 	xml_comp_t x_layer = x_det.child(_U(layer));
 
-- 
GitLab