Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <!-- SPDX-License-Identifier: LGPL-3.0-or-later -->
0002 <!-- Copyright (C) 2022 Jaroslav Adam, Jakub Ceska -->
0003 
0004 <lccdd>
0005 
0006   <define>
0007 
0008     <!-- electron beam pipe wall thickness at positive z -->
0009     <constant name="Beampipe_cen_pos_Thickness" value="1.0*mm"/>
0010 
0011     <!-- end of central section -->
0012     <constant name="Beampipe_cen_pos_EndZ" value="4484.25*mm"/>
0013     <constant name="Beampipe_cen_pos_r1" value="BeampipeOD/2."/>
0014 
0015     <!-- Q0eF quadrupole magnet -->
0016     <constant name="Q0EF_StartZ" value="7000.*mm"/>
0017     <constant name="Q0EF_EndZ" value="5800.*mm"/>
0018     <!--<constant name="Q0EF_InnerRadius" value="25.*mm"/>-->
0019 
0020     <!-- Q1eF quadrupole magnet -->
0021     <constant name="Q1EF_StartZ" value="12370.*mm"/>
0022     <constant name="Q1EF_EndZ" value="10760.*mm"/>
0023     <!--<constant name="Q1EF_InnerRadius" value="63*mm"/>-->
0024 
0025     <!-- beam section at forward region to +15 meters -->
0026     <constant name="Beampipe_fwd_pos_EndZ" value="15000.*mm"/>
0027 
0028   </define>
0029 
0030   <detectors>
0031 
0032     <!-- Beam Pipe from central section at positive z to +15 meters -->
0033     <detector
0034       name="Pipe_cen_to_pos"
0035       type="BeamPipeChain"
0036       wall_thickness="Beampipe_cen_pos_Thickness">
0037 
0038       <pipe id="0" name="Pipe_to_Q0EF"
0039         xcenter="0" zcenter="(Q0EF_EndZ+Beampipe_cen_pos_EndZ)/2."
0040         length="Q0EF_EndZ-Beampipe_cen_pos_EndZ" theta="0"
0041         rout1="Q0EF_InnerRadius" rout2="Beampipe_cen_pos_r1">
0042       </pipe>
0043 
0044       <pipe id="1" name="Pipe_Q0EF_to_Q1EF"
0045         xcenter="0" zcenter="(Q1EF_EndZ+Q0EF_StartZ)/2."
0046         length="Q1EF_EndZ-Q0EF_StartZ" theta="0"
0047         rout1="Q1EF_InnerRadius" rout2="Q0EF_InnerRadius">
0048       </pipe>
0049 
0050       <pipe id="2" name="Pipe_Q1EF_to_pos"
0051       xcenter="0" zcenter="(Beampipe_fwd_pos_EndZ+Q1EF_StartZ)/2."
0052       length="Beampipe_fwd_pos_EndZ-Q1EF_StartZ" theta="0"
0053       rout1="Q1EF_InnerRadius" rout2="Q1EF_InnerRadius">
0054       </pipe>
0055 
0056     </detector>
0057 
0058     <!-- Q0eF magnet -->
0059     <detector name="Q0EF" type="ip6_CylindricalDipoleMagnet" vis="RedVis">
0060       <placement  x="0" y="0" z="(Q0EF_StartZ+Q0EF_EndZ)/2." theta="0"/>
0061       <dimensions x="Q0EF_InnerRadius*4" y="Q0EF_InnerRadius*4" z="Q0EF_StartZ-Q0EF_EndZ" r="1.9*Q0EF_InnerRadius" />
0062       <apperture  x="Q0EF_InnerRadius*2" y="Q0EF_InnerRadius*2" r="Q0EF_InnerRadius" />
0063       <coil dx="2*cm" dy="1.5*cm" />!--unchecked--
0064     </detector>
0065 
0066     <!-- inner vacuum for Q0eF -->
0067     <detector name="Q0EF_vac" type="DD4hep_TubeSegment" vis="VisFwElInvisible">
0068       <material name="Vacuum"/>
0069       <tubs rmin="0" rmax="Q0EF_InnerRadius" zhalf="(Q0EF_StartZ-Q0EF_EndZ)/2."/>
0070       <position x="0" y="0" z="(Q0EF_StartZ+Q0EF_EndZ)/2."/>
0071       <rotation x="0" y="0" z="0"/>
0072     </detector>
0073 
0074     <!-- Q1eF magnet -->
0075     <detector name="Q1EF" type="ip6_CylindricalDipoleMagnet" vis="RedVis">
0076       <placement  x="0" y="0" z="(Q1EF_StartZ+Q1EF_EndZ)/2." theta="0"/>
0077       <dimensions x="Q1EF_InnerRadius*4" y="Q1EF_InnerRadius*4" z="Q1EF_StartZ-Q1EF_EndZ" r="1.9*Q1EF_InnerRadius" />
0078       <apperture  x="Q1EF_InnerRadius*2" y="Q1EF_InnerRadius*2" r="Q1EF_InnerRadius" />
0079       <coil dx="2*cm" dy="1.5*cm" />!--unchecked--
0080     </detector>
0081 
0082     <!-- inner vacuum for Q1eF -->
0083     <detector name="Q1EF_vac" type="DD4hep_TubeSegment" vis="VisFwElInvisible">
0084       <material name="Vacuum"/>
0085       <tubs rmin="0" rmax="Q1EF_InnerRadius" zhalf="(Q1EF_StartZ-Q1EF_EndZ)/2."/>
0086       <position x="0" y="0" z="(Q1EF_StartZ+Q1EF_EndZ)/2."/>
0087       <rotation x="0" y="0" z="0"/>
0088     </detector>
0089 
0090   </detectors>
0091 
0092   <fields>
0093 
0094     <!-- Q0eF quadrupole field -->
0095     <field name="Q0EF_field" type="MultipoleMagnet">
0096       <shape type="Tube" rmax="Q0EF_InnerRadius" dz="(Q0EF_StartZ-Q0EF_EndZ)/2."/>
0097       <position x="0" y="0" z="(Q0EF_StartZ+Q0EF_EndZ)/2."/>
0098       <coefficient/>
0099       <coefficient coefficient="-13.0961*tesla/meter"/>
0100     </field>
0101 
0102     <!-- Q1eF quadrupole field -->
0103     <field name="Q1EF_field" type="MultipoleMagnet">
0104       <shape type="Tube" rmax="Q1EF_InnerRadius" dz="(Q1EF_StartZ-Q1EF_EndZ)/2."/>
0105       <position x="0" y="0" z="(Q1EF_StartZ+Q1EF_EndZ)/2."/>
0106       <coefficient/>
0107       <coefficient coefficient="6.0639*tesla/meter"/>
0108     </field>
0109 
0110   </fields>
0111 
0112 </lccdd>