Skip to content
Snippets Groups Projects
Commit 3bfd9e7e authored by Marshall Scott's avatar Marshall Scott
Browse files

Changed ZDC to ffi_ZDC_HCAL

parent d276c7ed
No related branches found
No related tags found
1 merge request!59Resolve "ZDC sampling detector"
Pipeline #10357 passed with warnings
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<!-- Define detector --> <!-- Define detector -->
<detectors> <detectors>
<detector id="ffi_ZDC_HCAL_ID" name="largeZDC" type="ZDC" readout="ZDCHits" vis="RedVis"> <detector id="ffi_ZDC_HCAL_ID" name="largeZDC" type="ffi_ZDC_HCAL" 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"/> <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"/> <dimensions x = "ffi_ZDC_HCAL_lt_length" y = "ffi_ZDC_HCAL_lt_length"/>
<layer repeat="2"> <layer repeat="2">
......
...@@ -36,7 +36,6 @@ static Ref_t createDetector(Detector& lcdd, xml_h e, SensitiveDetector sens) { ...@@ -36,7 +36,6 @@ static Ref_t createDetector(Detector& lcdd, xml_h e, SensitiveDetector sens) {
int layer_num = 1; int layer_num = 1;
int slice_num = 1; int slice_num = 1;
double totWidth = Layering(x_det).totalThickness(); double totWidth = Layering(x_det).totalThickness();
totWidth += 2*13;
Box envelope (pixel_x/2.0, pixel_y/2.0, totWidth/2.0); Box envelope (pixel_x/2.0, pixel_y/2.0, totWidth/2.0);
Volume envelopeVol(det_name+"_envelope", envelope, air); Volume envelopeVol(det_name+"_envelope", envelope, air);
PlacedVolume pv; PlacedVolume pv;
...@@ -95,4 +94,4 @@ static Ref_t createDetector(Detector& lcdd, xml_h e, SensitiveDetector sens) { ...@@ -95,4 +94,4 @@ static Ref_t createDetector(Detector& lcdd, xml_h e, SensitiveDetector sens) {
return det; return det;
} }
DECLARE_DETELEMENT(ZDC, createDetector) DECLARE_DETELEMENT(ffi_ZDC_HCAL, createDetector)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment