diff --git a/compact/ffi_ZDC_HCAL.xml b/compact/ffi_ZDC_HCAL.xml index 7a8ea14dcb2f8faae5fe827b4ea9c481143092a8..6ac0f3c2b04b03d64b64ba55885cfb5183428173 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 26ae650121be1a0df172f4af92c4a353cf854bb0..336d2124c91588d6f1a2be2fe40778ff52d7f4d9 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));