Back to home page

EIC code displayed by LXR

 
 

    


Warning, /epic/compact/far_backward/beamline_extension_hadron.xml is written in an unsupported language. File is not indexed.

0001 <!-- SPDX-License-Identifier: LGPL-3.0-or-later -->
0002 <!-- Copyright (C) 2022 Simon Gardner, Dhevan Gangadharan -->
0003 
0004 <lccdd>
0005 
0006   <comment>
0007      Incident hadron beam pipes
0008      Implemented to allow overlap checks with the far backwards systems
0009   </comment>
0010 
0011   <detectors>
0012 
0013 
0014     <comment> Hadron side beam magnet volumes </comment>
0015 
0016     <detector name="Magnet_Q2PR" type="ip6_CylindricalDipoleMagnet" vis="RedVis">
0017       <placement  x="(Q2PR_StartX+Q2PR_EndX)/2" y="0" z="(Q2PR_StartZ+Q2PR_EndZ)/2" theta="Q1BPR_Theta"/>
0018       <dimensions x="Q2PR_InnerRadius*4" y="Q2PR_InnerRadius*4" z="Q2PR_Length" r="2.0*Q2PR_InnerRadius"/>
0019       <apperture  x="Q2PR_InnerRadius*2" y="Q2PR_InnerRadius*2" r="Q2PR_InnerRadius"/>
0020       <coil dx="2*cm" dy="1.5*cm" />
0021     </detector>
0022 
0023     <detector
0024     name="Magnets_Q3PR_to_B1PR"
0025     type="CylindricalMagnetChain"
0026     vis="FFMagnetVis">
0027       <magnet id="0" name="Magnet_Q3PR"
0028         x="(Q3PR_StartX+Q3PR_EndX)/2" y="0" z="(Q3PR_StartZ+Q3PR_EndZ)/2" theta="Q3PR_Theta"
0029         length="Q3PR_Length" rin="Q3PR_InnerRadius" rout="Q3PR_OuterRadius">
0030       </magnet>
0031       <magnet id="0" name="Magnet_Crab1PR"
0032         x="Crab1PR_CenterX" y="0" z="Crab1PR_CenterZ" theta="Crab1PR_Theta"
0033         length="Crab1PR_Length" rin="Crab1PR_InnerRadius" rout="Crab1PR_OuterRadius">
0034       </magnet>
0035       <magnet id="0" name="Magnet_Crab2PR"
0036         x="Crab2PR_CenterX" y="0" z="Crab2PR_CenterZ" theta="Crab2PR_Theta"
0037         length="Crab2PR_Length" rin="Crab2PR_InnerRadius" rout="Crab2PR_OuterRadius">
0038       </magnet>
0039       <magnet id="0" name="Magnet_Crab3PR"
0040         x="Crab3PR_CenterX" y="0" z="Crab3PR_CenterZ" theta="Crab3PR_Theta"
0041         length="Crab3PR_Length" rin="Crab3PR_InnerRadius" rout="Crab3PR_OuterRadius">
0042       </magnet>
0043       <magnet id="0" name="Magnet_Q4PR"
0044         x="Q4PR_CenterX" y="0" z="Q4PR_CenterZ" theta="Q4PR_Theta"
0045         length="Q4PR_Length" rin="Q4PR_InnerRadius" rout="Q4PR_OuterRadius">
0046       </magnet>
0047       <magnet id="0" name="Magnet_B1PR"
0048         x="B1PR_CenterX" y="0" z="B1PR_CenterZ" theta="B1PR_Theta"
0049         length="B1PR_Length" rin="B1PR_InnerRadius" rout="B1PR_OuterRadius">
0050       </magnet>
0051      </detector>
0052 
0053 
0054     <comment> Hadron side beam pipe volumes </comment>
0055 
0056     <detector
0057     name="Pipe_Q1APR_to_B1PR"
0058     type="BeamPipeChain"
0059     wall_thickness="2*mm">
0060       <pipe id="0" name="Pipe_to_Q1APR"
0061         xcenter="(Hadron_Beampipe_End*sin(CrossingAngle) + Q1APR_StartX)/2." zcenter="(Hadron_Beampipe_End + Q1APR_StartZ)/2."
0062         length="(Hadron_Beampipe_End - Q1APR_StartZ)/cos(CrossingAngle)" theta="CrossingAngle"
0063         rout1="Hadron_Beampipe_Rad/2." rout2="Hadron_Beampipe_Rad/2.">
0064       </pipe>
0065       <pipe id="1" name="Pipe_in_Q1APR"
0066         xcenter="(Q1APR_StartX + Q1APR_EndX)/2." zcenter="(Q1APR_StartZ + Q1APR_EndZ)/2."
0067         length="Q1APR_Length" theta="Q1APR_Theta"
0068         rout1="Q1APR_InnerRadius/2." rout2="Q1APR_InnerRadius">
0069       </pipe>
0070       <pipe id="2" name="Pipe_Q1APR_to_Q1BPR"/>
0071       <pipe id="3" name="Pipe_in_Q1BPR"
0072         xcenter="(Q1BPR_StartX + Q1BPR_EndX)/2." zcenter="(Q1BPR_StartZ + Q1BPR_EndZ)/2."
0073         length="Q1BPR_Length" theta="Q1BPR_Theta"
0074         rout1="Q1BPR_InnerRadius" rout2="Q1BPR_InnerRadius">
0075       </pipe>
0076       <pipe id="4" name="Pipe_Q1BPR_to_Q2PR"/>
0077       <pipe id="5" name="Pipe_in_Q2PR"
0078         xcenter="(Q2PR_StartX + Q2PR_EndX)/2." zcenter="(Q2PR_StartZ + Q2PR_EndZ)/2."
0079         length="Q2PR_Length" theta="Q2PR_Theta"
0080         rout1="Q2PR_InnerRadius" rout2="Q2PR_InnerRadius">
0081       </pipe>
0082       <pipe id="6" name="Pipe_Q2PR_to_Q3PR"/>
0083       <pipe id="7" name="Pipe_in_Q3PR"
0084         xcenter="Q3PR_CenterX" zcenter="Q3PR_CenterZ"
0085         length="Q3PR_Length" theta="Q3PR_Theta"
0086         rout1="Q3PR_InnerRadius" rout2="Q3PR_InnerRadius">
0087       </pipe>
0088       <pipe id="8" name="Pipe_Q3PR_to_Crab1PR"/>
0089       <pipe id="9" name="Pipe_in_Crab1PR"
0090         xcenter="Crab1PR_CenterX" zcenter="Crab1PR_CenterZ"
0091         length="Crab1PR_Length" theta="Crab1PR_Theta"
0092         rout1="Crab1PR_InnerRadius" rout2="Crab1PR_InnerRadius">
0093       </pipe>
0094       <pipe id="10" name="Pipe_in_Crab2PR"
0095         xcenter="Crab2PR_CenterX" zcenter="Crab2PR_CenterZ"
0096         length="Crab2PR_Length" theta="Crab2PR_Theta"
0097         rout1="Crab2PR_InnerRadius" rout2="Crab2PR_InnerRadius">
0098       </pipe>
0099       <pipe id="11" name="Pipe_Crab2PR_to_Crab3PR"/>
0100       <pipe id="12" name="Pipe_in_Crab3PR"
0101         xcenter="Crab3PR_CenterX" zcenter="Crab3PR_CenterZ"
0102         length="Crab3PR_Length" theta="Crab3PR_Theta"
0103         rout1="Crab3PR_InnerRadius" rout2="Crab3PR_InnerRadius">
0104       </pipe>
0105       <pipe id="13" name="Pipe_Crab3PR_to_Q4PR"/>
0106       <pipe id="14" name="Pipe_in_Q4PR"
0107         xcenter="Q4PR_CenterX" zcenter="Q4PR_CenterZ"
0108         length="Q4PR_Length" theta="Q4PR_Theta"
0109         rout1="Q4PR_InnerRadius" rout2="Q4PR_InnerRadius">
0110       </pipe>
0111       <pipe id="15" name="Pipe_Q4PR_to_B1PR"/>
0112       <pipe id="16" name="Pipe_in_B1PR"
0113         xcenter="B1PR_CenterX" zcenter="B1PR_CenterZ"
0114         length="B1PR_Length" theta="B1PR_Theta"
0115         rout1="B1PR_InnerRadius" rout2="B1PR_InnerRadius">
0116       </pipe>
0117     </detector>
0118 
0119   </detectors>
0120 </lccdd>