Commit b279e774 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

Redefine the beampipe so flanges are downstream of HCal

parent 716e7a03
Pipeline #21104 passed with stages
in 3 minutes and 24 seconds
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<define>
<constant name="BeampipeUpstreamStraightLength" value="800.0 * mm"/>
<constant name="BeampipeDownstreamStraightLength" value="670.0 * mm"/>
<constant name="BeampipeDownstreamFlange1Thickness" value="30.0 * mm"/>
<constant name="BeampipeDownstreamFlange2Thickness" value="39.0 * mm"/>
<constant name="BeampipeUpstreamStraightLength" value=" 800.0 * mm"/>
<constant name="BeampipeDownstreamStraightLength" value=" 670.0 * mm"/>
<constant name="BeampipeDownstreamTotalLength" value="5040.0 * mm"/>
<constant name="BeampipeDownstreamExpansionAngle" value="2.0 * abs(CrossingAngle)"/>
<!-- FIXME avoid overlap with TrackerEndcapP_Outer_layer3 by moving flange 40 mm in z -->
<constant name="BeampipeDownstreamFlange1_zmin" value="1240.00 * mm"/>
<constant name="BeampipeDownstreamFlange1Length" value=" 40.0 * mm"/>
<constant name="BeampipeDownstreamFlange1Thickness" value=" 30.0 * mm"/>
<!-- FIXME avoid overlap with TrackerEndcapP_Outer_layer3 by decreasing OD by 1 mm -->
<constant name="BeampipeDownstreamODatFlange1" value="(BeampipeDownstreamFlange1_zmin - BeampipeDownstreamStraightLength) * tan(BeampipeDownstreamExpansionAngle) - 1.0 * mm"/>
<constant name="BeampipeDownstreamFlange2_zmin" value="5000.0 * mm"/>
<constant name="BeampipeDownstreamFlange2Length" value=" 40.0 * mm"/>
<constant name="BeampipeDownstreamFlange2Thickness" value=" 39.0 * mm"/>
<constant name="BeampipeDownstreamODatFlange2" value="(BeampipeDownstreamFlange2_zmin - BeampipeDownstreamStraightLength) * tan(BeampipeDownstreamExpansionAngle)"/>
</define>
<display>
......@@ -52,32 +65,38 @@
subtract_matter="true">
<incoming_lepton thickness="1.0*mm">
<zplane z="BeampipeDownstreamStraightLength" OD="BeampipeOD"/>
<zplane z="4484.25 * mm" OD="BeampipeOD"/>
<zplane z="BeampipeDownstreamTotalLength" OD="BeampipeOD"/>
</incoming_lepton>
<outgoing_hadron thickness="4.0*mm"
axis_intersection="670.0 * mm"
axis_intersection="BeampipeDownstreamStraightLength"
crossing_angle="CrossingAngle">
<!-- avoid overlap with IP beampipe by starting slightly displaced -->
<zplane z="BeampipeDownstreamStraightLength + 0.5 * BeampipeOD * tan(abs(CrossingAngle))" OD="BeampipeOD"/>
<!-- FIXME avoid overlap with TrackerEndcapP_Outer_layer3 by moving flange 40 mm in z -->
<!-- FIXME avoid overlap with TrackerEndcapP_Outer_layer3 by changing OD -->
<zplane z="1240.00 * mm" OD=" 92.06 * mm - 1.0 * mm"/>
<zplane z="1240.01 * mm" OD=" 92.06 * mm + 2.0 * BeampipeDownstreamFlange1Thickness"
<zplane z="BeampipeDownstreamStraightLength + 0.5 * BeampipeOD * tan(abs(CrossingAngle))"
OD="BeampipeOD"/>
<zplane z="BeampipeDownstreamFlange1_zmin - 0.1 * mm"
OD="BeampipeDownstreamODatFlange1"/>
<zplane z="BeampipeDownstreamFlange1_zmin"
OD="BeampipeDownstreamODatFlange1 + 2.0 * BeampipeDownstreamFlange1Thickness"
extra_thickness="BeampipeDownstreamFlange1Thickness"/>
<zplane z="1280.00 * mm" OD=" 92.06 * mm + 2.0 * BeampipeDownstreamFlange1Thickness"
<zplane z="BeampipeDownstreamFlange1_zmin + BeampipeDownstreamFlange1Length"
OD="BeampipeDownstreamODatFlange1 + 2.0 * BeampipeDownstreamFlange1Thickness"
extra_thickness="BeampipeDownstreamFlange1Thickness"/>
<zplane z="1280.01 * mm" OD=" 92.06 * mm"/>
<zplane z="4455.80 * mm" OD="257.92 * mm"/>
<zplane z="4455.81 * mm" OD="257.92 * mm + 2.0 * BeampipeDownstreamFlange2Thickness"
<zplane z="BeampipeDownstreamFlange1_zmin + BeampipeDownstreamFlange1Length + 0.1 * mm"
OD="BeampipeDownstreamODatFlange1"/>
<zplane z="BeampipeDownstreamFlange2_zmin - 0.1 * mm"
OD="BeampipeDownstreamODatFlange2"/>
<zplane z="BeampipeDownstreamFlange2_zmin"
OD="BeampipeDownstreamODatFlange2 + 2.0 * BeampipeDownstreamFlange2Thickness"
extra_thickness="BeampipeDownstreamFlange2Thickness"/>
<zplane z="4484.25 * mm" OD="257.92 * mm + 2.0 * BeampipeDownstreamFlange2Thickness"
<zplane z="BeampipeDownstreamFlange2_zmin + BeampipeDownstreamFlange2Length"
OD="BeampipeDownstreamODatFlange2 + 2.0 * BeampipeDownstreamFlange2Thickness"
extra_thickness="BeampipeDownstreamFlange2Thickness"/>
</outgoing_hadron>
<additional_subtraction thickness="4.0*mm"
crossing_angle="CrossingAngle">
<!-- these are somewhat arbitrary to get the right hole shape -->
<zplane z="BeampipeDownstreamStraightLength" OD="32. * mm"/>
<zplane z="4484.25 * mm" OD="120. * mm"/>
<zplane z="BeampipeDownstreamTotalLength" OD="120. * mm"/>
</additional_subtraction>
</downstream>
</detector>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment