diff --git a/compact/definitions.xml b/compact/definitions.xml index 5b7f7253d73e0d019c9093f04cb8e047291d3d52..7ed1747211834300d388ed800f25b735420d14ee 100644 --- a/compact/definitions.xml +++ b/compact/definitions.xml @@ -240,9 +240,11 @@ Zero Degree Cal. ID: 160 </comment> - <constant name="ForwardRomanPot_ID" value="150"/> - <constant name="B0Tracker_ID" value="151"/> - <constant name="ffi_ZDC_ID" value="160"/> + <constant name="B0Tracker_ID" value="150"/> + <constant name="ForwardRomanPotA_ID" value="155"/> + <constant name="ForwardRomanPotB_ID" value="156"/> + <constant name="ForwardRomanPotC_ID" value="157"/> + <constant name="ffi_ZDC_ID" value="160"/> <comment> ===================================== diff --git a/compact/forward_romanpot.xml b/compact/forward_romanpot.xml new file mode 100644 index 0000000000000000000000000000000000000000..141b326d94544b785436a0f2c4c9bc1996a88282 --- /dev/null +++ b/compact/forward_romanpot.xml @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8"?> +<lccdd> + <define> + <comment> + --------------------------------- + Far Forward B0 Tracker Parameters + --------------------------------- + </comment> + <constant name="ForwardRomanPotA_zpos" value="B1APF_CenterPosition + B1APF_Length/2.0 + 20.0*cm"/> + <constant name="ForwardRomanPotA_xpos" value="B1APF_XPosition"/> + <constant name="ForwardRomanPotB_zpos" value="B2PF_CenterPosition - B2PF_Length/2.0 - 20.0*cm"/> + <constant name="ForwardRomanPotB_xpos" value="B2PF_XPosition "/> + </define> + + <detectors> + <detector + id="ForwardRomanPotA_ID" + name="ForwardRomanPotA" + readout="ForwardRomanPotHits" + type="ref_RectangularTracker" + insideTrackingVolume="true" + reflect="false" + vis="Argonne_Red"> + <position x="ForwardRomanPotA_xpos" y="0" z="ForwardRomanPotA_zpos"/> + <layer id="1" + vis="Argonne_Blue" + x="20.0*cm" + y="10.0*cm" > + <slice material="Air" thickness="1.0*cm" vis="Argonne_Blue" sensitive="true" /> + <slice material="Air" thickness="1.0*cm" vis="Argonne_Blue" sensitive="true" /> + <slice material="Air" thickness="1.0*cm" vis="Argonne_Blue" sensitive="true" /> + <slice material="Air" thickness="1.0*cm" vis="Argonne_Blue" sensitive="true" /> + </layer> + </detector> + <detector + id="ForwardRomanPotB_ID" + name="ForwardRomanPotB" + readout="ForwardRomanPotHits" + type="ref_RectangularTracker" + insideTrackingVolume="true" + reflect="false" + vis="Argonne_Red"> + <position x="ForwardRomanPotB_xpos" y="0" z="ForwardRomanPotB_zpos"/> + <layer id="1" + vis="Argonne_Blue" + x="20.0*cm" + y="10.0*cm" > + <slice material="Air" thickness="1.0*cm" vis="Argonne_Blue" sensitive="true" /> + <slice material="Air" thickness="1.0*cm" vis="Argonne_Blue" sensitive="true" /> + <slice material="Air" thickness="1.0*cm" vis="Argonne_Blue" sensitive="true" /> + <slice material="Air" thickness="1.0*cm" vis="Argonne_Blue" sensitive="true" /> + </layer> + </detector> + </detectors> + + <readouts> + <readout name="ForwardRomanPotHits"> + <segmentation type="CartesianGridXY" grid_size_x="1.0*mm" grid_size_y="1.0*mm" /> + <id>system:8,barrel:3,layer:4,slice:4,x:32:-16,y:-16</id> + </readout> + </readouts> + +</lccdd> diff --git a/reference_detector.xml b/reference_detector.xml index 518c5ff1cc56ef89927f12e8a05934503baf1902..04a2fe70c3000615dcd1865a8c329d1a09d3ec6d 100644 --- a/reference_detector.xml +++ b/reference_detector.xml @@ -125,6 +125,7 @@ <include ref="compact/hcal.xml"/> <include ref="compact/forward_trd.xml"/> <include ref="compact/B0_tracker.xml"/> + <include ref="compact/forward_romanpot.xml"/> <include ref="compact/cb_VTX_Barrel.xml"/> <!-- <include ref="compact/ci_HCAL.xml"/>