diff --git a/compact/ci_GEM.xml b/compact/ci_GEM.xml
index a42a38e2967632a00dc4f780b96328b9acc27596..f564d86cf5a28fda1dfbaeba5b05d373e61e2fdc 100644
--- a/compact/ci_GEM.xml
+++ b/compact/ci_GEM.xml
@@ -42,7 +42,7 @@
     <comment>
       Central Ion GEM
     </comment>
-    <detector id="ci_GEM_id" name="ci_GEM" type="ci_GEM" insideTrackingVolume="false" vis="ci_GEMVis">
+    <detector id="ci_GEM_id" name="ci_GEM" type="ci_GEM" insideTrackingVolume="false" vis="ci_GEMVis" readout="ci_GEM_Hits">
 	    <material name="Ar10CO2"/>  
       <dimensions rmin="ci_GEM_rin" rmax="ci_GEM_rout" z_length="ci_GEM_sizez" z_offset="ci_GEM_shiftz"	z="ci_GEM_posz" x="ci_GEM_posx" number="ci_GEM_nlayers" rmax1="ci_HCAL_lay_rin -1*cm"/>
       <layer id="0" z="-ci_GEM_sizez * 0.5 + (5 + 3. * 0) * cm" inner_r="ci_GEM_rin + (1. + 0.5 * 0) * cm" outer_r="ci_GEM_rout + (-25. + 2. * 0) * cm" dz="1 * cm" />
@@ -55,6 +55,13 @@
       <layer id="7" z="-ci_GEM_sizez * 0.5 + (5 + 3. * 7) * cm" inner_r="ci_GEM_rin + (1. + 0.5 * 7) * cm" outer_r="ci_GEM_rout + (-25. + 2. * 7) * cm" dz="1 * cm" />
     </detector>
   </detectors>
+  <readouts>
+    <readout name="ci_GEM_Hits">
+      <segmentation type="CartesianGridXY" grid_size_x="1.0*mm" grid_size_y="1.0*mm" />
+      <id>system:8,layer:8,x:32:-16,y:-16</id>  
+    </readout>
+  </readouts>
+
 
   <plugins>
   </plugins>
diff --git a/compact/ci_HCAL.xml b/compact/ci_HCAL.xml
index 923be2cc873ff4f58bcbf7f974a7ba3279e4034b..65589d6cbc12cd7020db290602fbb82f236bfc24 100644
--- a/compact/ci_HCAL.xml
+++ b/compact/ci_HCAL.xml
@@ -28,7 +28,7 @@
     <comment>
       Central Ion HCAL
     </comment>
-    <detector id="ci_HCAL_id" name="ci_HCAL" type="ci_HCAL" insideTrackingVolume="false" vis="ci_HCALVis">
+    <detector id="ci_HCAL_id" name="ci_HCAL" type="ci_HCAL" insideTrackingVolume="false" vis="ci_HCALVis" readout="ci_HCAL_Hits">
 	    <material name="Iron"/>	    
       <dimensions rmin="ci_HCAL_rin" rmax="ci_HCAL_rout" z_length="ci_HCAL_sizez" z_offset="ci_HCAL_shiftz"	z="ci_HCAL_posz" x="ci_HCAL_posx" number="ci_HCAL_nlayers" rmin1="ci_HCAL_lay_rin" rmax1="ci_HCAL_lay_rout" dz="ci_HCAL_lay_thickness"/>
       <layer id="0"  z="-ci_HCAL_sizez * 0.5 + (1 + 0) * ci_HCAL_lay_thickness + (1 + 0) * 5 * cm"   inner_r="ci_HCAL_lay_rin" outer_r="ci_HCAL_lay_rout" dz="ci_HCAL_lay_thickness" />
@@ -53,6 +53,13 @@
       <layer id="19" z="-ci_HCAL_sizez * 0.5 + (1 + 19) * ci_HCAL_lay_thickness + (1 + 19) * 5 * cm" inner_r="ci_HCAL_lay_rin" outer_r="ci_HCAL_lay_rout" dz="ci_HCAL_lay_thickness" />
     </detector>
   </detectors>
+  <readouts>
+    <readout name="ci_HCAL_Hits">
+      <segmentation type="CartesianGridXY" grid_size_x="1.0*mm" grid_size_y="1.0*mm" />
+      <id>system:8,layer:8,x:32:-16,y:-16</id>  
+    </readout>
+  </readouts>
+
 
   <plugins>
   </plugins>
diff --git a/reference_detector.xml b/reference_detector.xml
index 914a54229a98c084adcaa6078a33a35c350cc6d9..ae1b686aa25bbedfd40582abfda6c81a225013d1 100644
--- a/reference_detector.xml
+++ b/reference_detector.xml
@@ -114,52 +114,24 @@
   <include ref="reference_detector/vertex_tracker.xml"/>
   <include ref="compact/silicon_tracker.xml"/>
   -->
-<<<<<<< HEAD
-  <!--
-=======
-  
->>>>>>> accc12d945b665ea0ea64496ddc2f0177aa5e3a9
   <include ref="ip6/beampipe.xml"/>
-  -->
   <include ref="compact/solenoid.xml"/>
-
-  <!--
   <include ref="compact/ecal.xml"/>
   <include ref="compact/cb_CTD_Si.xml"/>
   <include ref="compact/ce_mrich.xml"/>
-<<<<<<< HEAD
   <include ref="compact/ce_GEM.xml"/>
   <include ref="compact/ffi_ZDC.xml"/>
-  -->
-=======
-
 	<include ref="compact/ci_HCAL.xml"/>
   <include ref="compact/ci_GEM.xml"/>
-  
->>>>>>> accc12d945b665ea0ea64496ddc2f0177aa5e3a9
+
   <!--
   <include ref="compact/forward_rich.xml"/>
   <include ref="compact/hcal.xml"/>
-  -->
-<<<<<<< HEAD
-	<include ref="compact/ci_HCAL.xml"/>
-  <!--
-  <include ref="compact/ci_GEM.xml"/>
-  -->
-  
-  <!--
   <include ref="compact/roman_pots.xml"/>
   -->
-<!--
   <include ref="eic/forward_ion_beamline.xml"/>
--->
 
-=======
-<!--
-  <include ref="eic/forward_ion_beamline.xml"/>
--->  
   
->>>>>>> accc12d945b665ea0ea64496ddc2f0177aa5e3a9
 
   <detectors>
   </detectors>
diff --git a/src/ci_GEM.cpp b/src/ci_GEM.cpp
index 73cb6363eb225fd84c85d682f729f2ce6ceb1c63..2bd5ab042f7df9df7ce078ecc9af109a1ef08e4e 100644
--- a/src/ci_GEM.cpp
+++ b/src/ci_GEM.cpp
@@ -36,6 +36,8 @@ static Ref_t createDetector(Detector& desc, xml_h handle, SensitiveDetector sens
 
   	Volume layer_vol(layer_name, Tube(x_layer.inner_r(), outer_r, x_layer.dz()), mat);
   	layer_vol.setVisAttributes(desc.visAttributes(detElem.visStr()));
+  	sens.setType("tracker");
+    layer_vol.setSensitiveDetector(sens);
   	Position layer_pos(0, 0, x_layer.z());
   	PlacedVolume layer_phv = detVol.placeVolume(layer_vol, layer_pos);
   	layer_phv.addPhysVolID("layer", x_layer.id());