Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/DDDetectors/compact/SiD/SiD_Beampipe.xml is written in an unsupported language. File is not indexed.

0001 <!-- ====================================================================== -->
0002 <!--                                                                        -->
0003 <!--    XML description of the complete SiD beampipe                        -->
0004 <!--    of the SiD linear collider detector design.                         -->
0005 <!--                                                                        -->
0006 <!--    Contained are the required                                          -->
0007 <!--      ++ global constants used uniquely by this module                  -->
0008 <!--      ++ visualization attributes                                       -->
0009 <!--      ++ the definition of the readout structure and the                -->
0010 <!--         readout segmentation (if necessary)                            -->
0011 <!--      ++ the include statements for the sensitive detectors and         -->
0012 <!--         the corresponding support structure(s)                         -->
0013 <!--                                                                        -->
0014 <!--                                                                        -->
0015 <!--   @author  M.Frank                                                     -->
0016 <!--   @date    14/11/2014                                                  -->
0017 <!--                                                                        -->
0018 <!-- ====================================================================== -->
0019 
0020 <lccdd>
0021   <!--  Definition of global dictionary constants          -->
0022   <define>
0023   </define>
0024 
0025   <!--  Definition of the used visualization attributes    -->
0026   <display>
0027     <vis name="BeamPipeVis" r="0.0" g="0.99" b="0.0" showDaughters="false" visible="true"/>
0028   </display>
0029 
0030   <detectors>
0031     <comment>Beampipe</comment> 
0032 
0033     <detector name="Beampipe" type="DD4hep_PolyconeSupport" insideTrackingVolume="true" vis="BeamPipeVis">
0034 
0035       <comment>Central Be Beampipe</comment>
0036 
0037       <material name="Beryllium"/>
0038       <zplane rmin="CentralBeamPipe_rmin" rmax="CentralBeamPipe_rmax" z="-CentralBeamPipe_zmax"/>
0039       <zplane rmin="CentralBeamPipe_rmin" rmax="CentralBeamPipe_rmax" z="CentralBeamPipe_zmax" />
0040     </detector>
0041 
0042     <detector name="SteelConeZbackward" type="DD4hep_PolyconeSupport" insideTrackingVolume="true" vis="BeamPipeVis">
0043       <material name="Iron"/>            
0044       <zplane rmin="BeamPipe_rmax - BeamPipe_thickness"
0045               rmax="BeamPipe_rmax"
0046               z="-tracking_region_zmax" /> 
0047       <zplane rmin="CentralBeamPipe_rmin"
0048               rmax="(BeamPipe_zmin - CentralBeamPipe_zmax)*bp_cone_slope + CentralBeamPipe_rmax"
0049               z="-BeamPipe_zmin" />
0050       <zplane rmin="CentralBeamPipe_rmin"
0051               rmax="CentralBeamPipe_rmax"
0052               z="-CentralBeamPipe_zmax"/>
0053     </detector>
0054 
0055     <detector name="SteelConeZbackward2" type="DD4hep_PolyconeSupport" insideTrackingVolume="false" vis="BeamPipeVis">
0056       <material name="Iron"/>            
0057       <zplane rmin="BeamPipe_rmax - BeamPipe_thickness"
0058               rmax="BeamPipe_rmax"
0059               z="-(tracking_region_zmax + 0.01*cm)" /> 
0060       <zplane rmin="BeamPipe_rmax - BeamPipe_thickness"
0061               rmax="BeamPipe_rmax"
0062               z="- BeamPipe_zmax" />
0063       <zplane rmin="LumiCal_rmin - 2*BeamPipe_endThickness"
0064               rmax="BeamPipe_rmax"
0065               z="- (LumiCal_zmin - 2*BeamPipe_endThickness)" />
0066       <zplane rmin="LumiCal_rmin - 2*BeamPipe_endThickness"
0067               rmax="LumiCal_rmin - BeamPipe_endThickness"
0068               z="- (LumiCal_zmin - BeamPipe_endThickness)" />
0069       <zplane rmin="LumiCal_rmin - 2*BeamPipe_endThickness"
0070               rmax="LumiCal_rmin - BeamPipe_endThickness"
0071               z="- (ForwardMask_zmin - BeamPipe_endThickness)" />
0072     </detector>
0073 
0074     <detector name="SteelConeZforward" type="DD4hep_PolyconeSupport" insideTrackingVolume="true" vis="BeamPipeVis">
0075       <material name="Iron"/>
0076       <zplane rmin="CentralBeamPipe_rmin"
0077               rmax="CentralBeamPipe_rmax"
0078               z="CentralBeamPipe_zmax"/>            
0079       <zplane rmin="CentralBeamPipe_rmin"
0080               rmax="(BeamPipe_zmin - CentralBeamPipe_zmax)*bp_cone_slope + CentralBeamPipe_rmax"
0081               z="BeamPipe_zmin" /> 
0082       <zplane rmin="BeamPipe_rmax - BeamPipe_thickness"
0083               rmax="BeamPipe_rmax"
0084               z="tracking_region_zmax" />
0085     </detector>
0086 
0087     <detector name="SteelConeZforward2" type="DD4hep_PolyconeSupport" insideTrackingVolume="false" vis="BeamPipeVis">
0088       <material name="Iron"/>            
0089       <zplane rmin="BeamPipe_rmax - BeamPipe_thickness"
0090               rmax="BeamPipe_rmax"
0091               z="tracking_region_zmax + 0.01*cm" /> 
0092       <zplane rmin="BeamPipe_rmax - BeamPipe_thickness"
0093               rmax="BeamPipe_rmax"
0094               z="BeamPipe_zmax" />
0095       <zplane rmin="LumiCal_rmin - 2*BeamPipe_endThickness"
0096               rmax="BeamPipe_rmax"
0097               z="LumiCal_zmin - 2*BeamPipe_endThickness" />
0098       <zplane rmin="LumiCal_rmin - 2*BeamPipe_endThickness"
0099               rmax="LumiCal_rmin - BeamPipe_endThickness"
0100               z="LumiCal_zmin - BeamPipe_endThickness" />
0101       <zplane rmin="LumiCal_rmin - 2*BeamPipe_endThickness"
0102               rmax="LumiCal_rmin - BeamPipe_endThickness"
0103               z="ForwardMask_zmin - BeamPipe_endThickness" />
0104     </detector>
0105 
0106     <detector name="NorthIncomingBeampipe" type="DD4hep_TubeSegment" vis="BeamPipeVis">
0107       <material name="Iron" />
0108       <tubs rmin="IncomingBP_radius - IncomingBP_thickness" rmax="IncomingBP_radius" zhalf="(MuonEndcap_zmax - ForwardMask_zmin)/2.0" />
0109       <position x="-((ForwardMask_zmin + MuonEndcap_zmax)/2.0*tan(CrossingAngle/rad)/2.0)" y="0" z="(ForwardMask_zmin + MuonEndcap_zmax)/2.0" />
0110       <rotation x="0.0" y="CrossingAngle/2.0/rad" z="0.0" />
0111     </detector>
0112 
0113 
0114     <detector name="SouthIncomingBeampipe" type="DD4hep_TubeSegment" vis="BeamPipeVis">
0115       <material name="Iron" />
0116       <tubs rmin="IncomingBP_radius - IncomingBP_thickness" rmax="IncomingBP_radius" zhalf="(MuonEndcap_zmax - ForwardMask_zmin)/2.0" />
0117       <position x="-((ForwardMask_zmin + MuonEndcap_zmax)/2.0*tan(CrossingAngle/rad)/2.0)" y="0" z="- (ForwardMask_zmin + MuonEndcap_zmax)/2.0" />
0118       <rotation x="0.0" y="-CrossingAngle/2.0/rad" z="0.0" />
0119     </detector>
0120 
0121     <detector name="NorthOutgoingBeampipe" type="DD4hep_TubeSegment" vis="BeamPipeVis">
0122       <material name="Iron" />
0123       <tubs rmin="OutgoingBP_radius - OutgoingBP_thickness" rmax="OutgoingBP_radius" zhalf="(MuonEndcap_zmax - ForwardMask_zmin)/2.0" />
0124       <position x="((ForwardMask_zmin + MuonEndcap_zmax)/2.0*tan(CrossingAngle/rad)/2.0)" y="0" z="(ForwardMask_zmin + MuonEndcap_zmax)/2.0" />
0125       <rotation x="0.0" y="-CrossingAngle/2.0/rad" z="0.0" />
0126     </detector>
0127 
0128     <detector name="SouthOutgoingBeampipe" type="DD4hep_TubeSegment" vis="BeamPipeVis">
0129       <material name="Iron" />
0130       <tubs rmin="OutgoingBP_radius - OutgoingBP_thickness" rmax="OutgoingBP_radius" zhalf="(MuonEndcap_zmax - ForwardMask_zmin)/2.0" />
0131       <position x="((ForwardMask_zmin + MuonEndcap_zmax)/2.0*tan(CrossingAngle/rad)/2.0)" y="0" z="- (ForwardMask_zmin + MuonEndcap_zmax)/2.0" />
0132       <rotation x="0.0" y="CrossingAngle/2.0/rad" z="0.0" />
0133     </detector>
0134 
0135     <!-- Beam pipe liner is not needed, use thicker conical steel pipe instead
0136          <detector name="BeamPipeLiner" type="DD4hep_PolyconeSupport" insideTrackingVolume="true" vis="InvisibleNoDaughters">
0137          <comment>BeamPipe Liner to shield bremsstrahlung photons</comment>
0138          <material name="Titanium"/>
0139          <zplane rmin="(tracking_region_zmax - CentralBeamPipe_zmax)*bp_cone_slope + CentralBeamPipe_rmax - BeamPipe_thickness - BeamPipeLiner_thickness" rmax="(tracking_region_zmax - CentralBeamPipe_zmax)*bp_cone_slope + CentralBeamPipe_rmax - BeamPipe_thickness" z="-tracking_region_zmax" />
0140          <zplane rmin="CentralBeamPipe_rmax - BeamPipe_thickness - BeamPipeLiner_thickness" rmax="CentralBeamPipe_rmax - BeamPipe_thickness"  z="-(CentralBeamPipe_zmax + 0.01*cm)"/>
0141          <zplane rmin="CentralBeamPipe_rmin - BeamPipeLiner_thickness" rmax="CentralBeamPipe_rmin" z="-CentralBeamPipe_zmax"  />
0142          <zplane rmin="CentralBeamPipe_rmin - BeamPipeLiner_thickness" rmax="CentralBeamPipe_rmin" z="CentralBeamPipe_zmax" />
0143          <zplane rmin="CentralBeamPipe_rmax - BeamPipe_thickness - BeamPipeLiner_thickness" rmax="CentralBeamPipe_rmax - BeamPipe_thickness" z="CentralBeamPipe_zmax + 0.01*cm" />
0144          <zplane rmin="(tracking_region_zmax - CentralBeamPipe_zmax)*bp_cone_slope + CentralBeamPipe_rmax - BeamPipe_thickness - BeamPipeLiner_thickness" rmax="(tracking_region_zmax - CentralBeamPipe_zmax)*bp_cone_slope + CentralBeamPipe_rmax - BeamPipe_thickness" z="tracking_region_zmax" />
0145          </detector>
0146     -->
0147 
0148     <detector name="BeamPipeVacuum" type="DD4hep_PolyconeSupport" insideTrackingVolume="true" vis="InvisibleNoDaughters">
0149 
0150       <comment>Vacuum inside beampipe</comment>
0151 
0152       <material name="Vacuum"/>
0153       <zplane rmin="0.*cm"
0154               rmax="BeamPipe_rmax - BeamPipe_thickness - BeamPipeLiner_thickness"
0155               z="-tracking_region_zmax" />
0156       <zplane rmin="0.*cm"
0157               rmax="CentralBeamPipe_rmin - BeamPipeLiner_thickness"
0158               z="-BeamPipe_zmin"  />
0159       <zplane rmin="0.*cm"
0160               rmax="CentralBeamPipe_rmin - BeamPipeLiner_thickness"
0161               z="BeamPipe_zmin" />
0162       <zplane rmin="0.*cm"
0163               rmax="BeamPipe_rmax - BeamPipe_thickness - BeamPipeLiner_thickness"
0164               z="tracking_region_zmax" />
0165     </detector>
0166 
0167     <detector name="ForwardVacuum" type="DD4hep_PolyconeSupport" insideTrackingVolume="false" vis="InvisibleNoDaughters">
0168       <material name="Vacuum"/>
0169       <zplane rmin="0.*cm"
0170               rmax="BeamPipe_rmax - BeamPipe_thickness"
0171               z="tracking_region_zmax + 0.01*cm" /> 
0172       <zplane rmin="0.*cm"
0173               rmax="BeamPipe_rmax - BeamPipe_thickness"
0174               z="BeamPipe_zmax" />
0175       <zplane rmin="0.*cm"
0176               rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
0177               z="LumiCal_zmin - 2*BeamPipe_endThickness" />
0178       <zplane rmin="0.*cm"
0179               rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
0180               z="LumiCal_zmin - BeamPipe_endThickness" />
0181       <zplane rmin="0.*cm"
0182               rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
0183               z="ForwardMask_zmin - BeamPipe_endThickness" />
0184     </detector> 
0185 
0186     <detector name="BackwardVacuum" type="DD4hep_PolyconeSupport" insideTrackingVolume="false" vis="InvisibleNoDaughters">
0187       <material name="Vacuum"/>
0188       <zplane rmin="0.*cm"
0189               rmax="BeamPipe_rmax - BeamPipe_thickness"
0190               z="- (tracking_region_zmax + 0.01*cm)" /> 
0191       <zplane rmin="0.*cm"
0192               rmax="BeamPipe_rmax - BeamPipe_thickness"
0193               z="- BeamPipe_zmax" />
0194       <zplane rmin="0.*cm"
0195               rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
0196               z="- (LumiCal_zmin - 2*BeamPipe_endThickness)" />
0197       <zplane rmin="0.*cm"
0198               rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
0199               z="- (LumiCal_zmin - BeamPipe_endThickness)" />
0200       <zplane rmin="0.*cm"
0201               rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
0202               z="- (ForwardMask_zmin - BeamPipe_endThickness)" />
0203     </detector>
0204   </detectors>
0205 </lccdd>