Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/LHeD/compact/compact_Lhe_dip_sol_ell.xml is written in an unsupported language. File is not indexed.

0001 <!-- ====================================================================== -->
0002 <!--                                                                        -->
0003 <!--    XML description of the complete LHeC detector                       -->
0004 <!--    a detector for a new LHC option using a ERL e-source                -->
0005 <!--                                                                        -->
0006 <!--    Contained are the required                                          -->
0007 <!--      ++ global constants used uniquely by this detector                -->
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 <!--      ++ SurfacePlugin not active                                       -->
0014 <!--                                                                        -->
0015 <!--   @author  P.Kostka                                                    -->
0016 <!--   @date    old version 20.10.2017                                      -->
0017 <!--                                                                        -->
0018 <!-- ====================================================================== -->
0019 
0020 <lccdd xmlns:compact="-"
0021     xmlns:xs="-"
0022     xs:noNamespaceSchemaLocation="-">
0023 
0024     <info name="LHeC_CDR"
0025         title="LHeC Detector - based on CLIC Silicon Detector DD4hep layout"
0026         author="Peter Kostka"
0027         url="http:dummy-url.de"
0028         status="development"
0029         version="$Id: compact.xml 2013-12-13 12:28:53Z peter.kostka@cern.ch $">
0030         <comment> The compact format for the LHeC Detector used for design studies </comment>
0031     </info>
0032 
0033     <includes>
0034         <gdmlFile  ref="${Lhe_Detector_dir}/compact/elements.xml"/>
0035         <gdmlFile  ref="${Lhe_Detector_dir}/compact/materials.xml"/>
0036     </includes>
0037 
0038     <define>
0039         <constant name="Lhe_Detector_dir" value="${DD4hepExamplesINSTALL}/examples/LHeD/" type="string"/>;
0040         <constant name="world_side" value="20.*m"/>
0041         <constant name="world_x" value="world_side"/>
0042         <constant name="world_y" value="world_side"/>
0043         <constant name="world_z" value="world_side"/>
0044 
0045         <constant name="CrossingAngle" value="0.020*rad"/>
0046 
0047         <constant name="tracking_region_radius" value="46.0*cm + 0.8*cm"/>
0048         <constant name="SolenoidalFieldRadius"  value="100.0*cm + 0.2*m"/>
0049 
0050         <constant name="CaloSides" value="12"/>
0051         <constant name="MuonSides" value="8"/>
0052 
0053     <comment> additional defined Parameters  - Lhe add-on </comment>
0054         <constant name="CentralBeamPipe_zmax" value="580.0*cm"/>
0055         <constant name="CentralBeamPipe_rmax" value="2.4*cm"/>
0056         <constant name="CentralBeamPipe_thickness" value="0.40*cm"/>
0057         <constant name="CentralEllBeamPipe_rmax" value="10.0*cm-CentralBeamPipe_thickness"/>
0058         <constant name="CentralBeamPipe_rmin" value="CentralBeamPipe_rmax - CentralBeamPipe_thickness"/>
0059         <constant name="BeamPipe_thickness" value="0.4*cm"/>
0060         <constant name="BeamPipe_endThickness" value="0.1*cm"/>
0061         <constant name="BeamPipe_zmax" value="420.0*cm - 0.5*cm"/>
0062         <constant name="BeamPipe_rmax" value="5.6*cm"/>
0063         <constant name="BeamPipe_rmin" value="BeamPipe_rmax - BeamPipe_thickness"/>
0064 
0065         <constant name="Distance_VXDLayer" value="3.6*cm"/>
0066         <constant name="Distance_VxBG10_in" value="0.03*cm"/>
0067         <constant name="Distance_VxBG10_ou" value="0.03*cm"/>
0068         <constant name="G10thickness" value="0.5*cm"/>
0069         <constant name="VxBar_Env" value="0.5*cm"/>
0070         <constant name="Distance_VxCo_in" value="Distance_VxBG10_ou + 0.01*cm"/>
0071         <constant name="Distance_VxCo_ou" value="Distance_VxBG10_ou + 0.02*cm"/>
0072 
0073         <constant name="VertexBarrel_r0" value="CentralBeamPipe_rmax+ VxBar_Env + 0.5*cm"/>                          
0074         <constant name="VertexBarrel_r1"  value="VertexBarrel_r0 + VxBar_Env + Distance_VXDLayer"/>
0075         <constant name="VertexBarrel_r2"  value="VertexBarrel_r1 + VxBar_Env + Distance_VXDLayer"/>
0076         <constant name="VertexBarrel_r3"  value="VertexBarrel_r2 + VxBar_Env + Distance_VXDLayer"/>
0077 
0078         <constant name="VertexBG10_r0_in" value="VertexBarrel_r0 - 2*VxBar_Env - Distance_VxBG10_in"/>
0079         <constant name="VertexBG10_r1_in" value="VertexBarrel_r1 - 2*VxBar_Env - Distance_VxBG10_in"/>
0080         <constant name="VertexBG10_r2_in" value="VertexBarrel_r2 - 2*VxBar_Env - Distance_VxBG10_in"/>
0081         <constant name="VertexBG10_r3_in" value="VertexBarrel_r3 - 2*VxBar_Env - Distance_VxBG10_in"/>
0082 
0083         <constant name="VertexBG10_r0_ou" value="VertexBarrel_r0 + 2*VxBar_Env + Distance_VxBG10_ou"/>
0084         <constant name="VertexBG10_r1_ou" value="VertexBarrel_r1 + 2*VxBar_Env + Distance_VxBG10_ou"/>
0085         <constant name="VertexBG10_r2_ou" value="VertexBarrel_r2 + 2*VxBar_Env + Distance_VxBG10_ou"/>
0086         <constant name="VertexBG10_r3_ou" value="VertexBarrel_r3 + 2*VxBar_Env + Distance_VxBG10_ou"/>
0087 
0088         <constant name="VertexCo_r0_in" value="VertexBarrel_r0 - VxBar_Env -  Distance_VxCo_in"/>
0089         <constant name="VertexCo_r1_in" value="VertexBarrel_r1 - VxBar_Env -  Distance_VxCo_in"/>
0090         <constant name="VertexCo_r2_in" value="VertexBarrel_r2 - VxBar_Env -  Distance_VxCo_in"/>
0091         <constant name="VertexCo_r3_in" value="VertexBarrel_r3 - VxBar_Env -  Distance_VxCo_in"/>
0092 
0093         <constant name="VertexCo_r0_ou" value="VertexBarrel_r0 + VxBar_Env +  Distance_VxCo_ou"/>
0094         <constant name="VertexCo_r1_ou" value="VertexBarrel_r1 + VxBar_Env +  Distance_VxCo_ou"/>
0095         <constant name="VertexCo_r2_ou" value="VertexBarrel_r2 + VxBar_Env +  Distance_VxCo_ou"/>
0096         <constant name="VertexCo_r3_ou" value="VertexBarrel_r3 + VxBar_Env +  Distance_VxCo_ou"/>
0097         <constant name="Vertex_r_in" value="VertexBarrel_r0"/>
0098         <constant name="Vertex_r_out" value="VertexBarrel_r3 + VxBar_Env +  Distance_VxCo_ou + 0.5*cm"/>
0099 
0100         <constant name="VXD_Ell_Max_r" value="21.16*cm"/>
0101         <constant name="Diff_Radius_SITLayer" value="3.2*cm"/>
0102         <constant name="Distance_SITLayer" value="5.0*cm"/>
0103         <constant name="Radius_SITLayer0" value="VXD_Ell_Max_r + 2.5*cm"/>
0104         <constant name="Radius_SITLayer1" value="Radius_SITLayer0 + Distance_SITLayer"/>
0105         <constant name="Radius_SITLayer2" value="Radius_SITLayer1 + Distance_SITLayer"/>
0106         <constant name="Radius_SITLayer3" value="Radius_SITLayer2 + Distance_SITLayer"/>
0107         <constant name="Radius_SITLayer4" value="Radius_SITLayer3 + Distance_SITLayer"/>
0108 
0109         <constant name="SiMod_w0" value="97.79*mm"/>
0110         <constant name="SiMod_w1" value="97.79*mm"/>
0111         <constant name="SiMod_w2" value="97.79*mm"/>
0112         <constant name="SiMod_w3" value="97.79*mm"/>
0113         <constant name="SiMod_w4" value="97.79*mm"/>
0114         <constant name="SiWafer_w" value="92.031*mm"/>
0115         <constant name="SiMod_l0" value="SiMod_w0"/>
0116         <constant name="SiMod_l1" value="SiMod_w1"/>
0117         <constant name="SiMod_l2" value="SiMod_w2"/>
0118         <constant name="SiMod_l3" value="SiMod_w3"/>
0119         <constant name="SiMod_l4" value="SiMod_w4"/>
0120         <constant name="SiWafer_l" value="92.031*mm"/>
0121 
0122         <constant name="SiMod_z0" value="54.0*cm"/>
0123         <constant name="SiMod_z1" value="64.0*cm"/>
0124         <constant name="SiMod_z2" value="74.0*cm"/>
0125         <constant name="SiMod_z3" value="84.0*cm"/>
0126         <constant name="SiMod_z4" value="94.0*cm"/>
0127 
0128         <constant name="SiVXDEndcap_z0" value="SiMod_z0+0.5*cm"/>
0129         <constant name="SiVXDEndcap_z1" value="SiMod_z2+0.5*cm"/>
0130 
0131         <constant name="SiMod_zi0" value="SiMod_z0 - SiMod_w0 "/>
0132         <constant name="SiMod_zi1" value="SiMod_z1 - SiMod_w1 "/>
0133         <constant name="SiMod_zi2" value="SiMod_z2 - SiMod_w2 "/>
0134         <constant name="SiMod_zi3" value="SiMod_z3 - SiMod_w3 "/>
0135         <constant name="SiMod_zi4" value="SiMod_z4 - SiMod_w4 "/>
0136 
0137       <comment>             FTD parameters             </comment>
0138         <constant name="Ftd_total_cylinder_thickness"          value="1.0*mm"/>
0139         <constant name="Ftd_cables_thickness"                  value="0.08*mm"/>
0140         <constant name="Ftd_Si_thickness1"                     value="0.3*mm"/>
0141         <constant name="Ftd_Si_thickness2"                     value="0.3*mm"/>
0142         <constant name="Ftd_inner_support_thickness"           value="2*mm"/>
0143         <constant name="Ftd_inner_support_length"              value="4*mm"/>
0144         <constant name="Ftd_outer_support_thickness"           value="10*mm"/>
0145         <constant name="Ftd_outer_support_length"              value="4*mm"/>
0146         <constant name="Diff_z_Ftd_disk" value="2.5*cm"/>
0147       <comment>            ftd - pos z  </comment>
0148         <constant name="Ftd_disk_z0"  value="630*mm"/>
0149         <constant name="Ftd_disk_z1"  value="846.2*mm"/>
0150         <constant name="Ftd_disk_z2"  value="1136.7*mm"/>
0151         <constant name="Ftd_disk_z3"  value="1526.8*mm"/>
0152         <constant name="Ftd_disk_z4"  value="2050.8*mm"/>
0153         <constant name="Ftd_disk_z5"  value="2754.6*mm"/>
0154         <constant name="Ftd_disk_z6"  value="3700.0*mm"/>
0155       <comment>            btd - neg z  </comment>
0156         <constant name="Btd_disk_z0"  value="-630*mm"/>
0157         <constant name="Btd_disk_z1"  value="-840.9*mm"/>
0158         <constant name="Btd_disk_z2"  value="-1122.5*mm"/>
0159         <constant name="Btd_disk_z3"  value="-1498.3*mm"/>
0160         <constant name="Btd_disk_z4"  value="-2000.0*mm"/>
0161       <comment>            ftd - rings  </comment>
0162         <constant name="Ftd_sdisk_ri0"  value="86.716*mm"/>
0163         <constant name="Ftd_sdisk_ri1"  value="154.991*mm"/>
0164         <constant name="Ftd_sdisk_ri2"  value="245.180*mm"/>
0165         <constant name="Ftd_sdisk_ri3"  value="328.520*mm"/>
0166         <constant name="Ftd_sdisk_ri4"  value="413.654*mm"/>
0167 
0168         <constant name="EcalBarrel_rmin" value="((Radius_SITLayer4 + 6.0*cm) / (cos(pi/CaloSides)) )" />
0169         <constant name="EcalBarrel_depth" value="40.*cm"/>
0170         <constant name="EcalBarrel_fwd_depth" value="40.*cm"/>
0171         <constant name="EcalBarrel_bwd_depth" value="40.*cm"/>
0172         <constant name="EcalBarrel_rmax" value="( (EcalBarrel_rmin + EcalBarrel_depth + 1.0*cm)/(cos(pi/CaloSides)))"/>
0173         <constant name="EcalBarrel_zmax" value="Ftd_disk_z6-Btd_disk_z4+10*cm "/>
0174         <constant name="EcalBarrel_length" value="EcalBarrel_zmax - Btd_disk_z4 + 5.*cm"/>
0175         <constant name="EcalEndcap_rmin" value="VertexBarrel_r2"/>
0176         <constant name="EcalBarrel_zmin" value="Btd_disk_z4-2*cm "/>
0177         <constant name="EcalEndcap_rmax" value="(EcalBarrel_rmin - 2.0*cm) / (cos(pi/CaloSides))"/>
0178 
0179         <constant name="EcalEndcap_zmin_fwd" value="Ftd_disk_z6+5.0*cm"/>
0180         <constant name="EcalEndcap_length_fwd" value="EcalBarrel_fwd_depth"/>
0181         <constant name="EcalEndcap_length_bwd" value="EcalBarrel_bwd_depth"/>
0182         <constant name="EcalEndcap_zmax_fwd" value="EcalEndcap_zmin_fwd+EcalEndcap_length_fwd"/>
0183         <constant name="EcalEndcap_zmin_bwd" value="EcalBarrel_zmin-EcalEndcap_length_bwd"/>
0184         <constant name="EcalEndcap_zmax_bwd" value="EcalEndcap_zmin_bwd+EcalEndcap_length_bwd"/>
0185 
0186         <constant name="tracking_region_zmax" value="EcalEndcap_zmin_fwd - 1.0*cm"/>
0187         <constant name="VXD_CF_sensor" value="0.026*cm"/>
0188         <constant name="VXD_CF_support" value="0.05*cm"/>
0189 
0190         <constant name="SolenoidBarrelInnerRadius1" value="EcalBarrel_rmax + 12.0*cm"/>
0191         <constant name="SolenoidCoilOuterZ1" value="(EcalEndcap_zmin_fwd-EcalEndcap_zmax_bwd)/2."/>
0192         <constant name="DipoleCoilOuterZ1" value="(EcalEndcap_zmin_fwd-EcalEndcap_zmax_bwd)/2."/>
0193         <constant name="SolenoidBarrelInnerCryostatThickness1" value="3.0*cm"/>
0194         <constant name="SolenoidBarrelInnerAirgapThickness1" value="1.5*cm"/>
0195         <constant name="SolenoidBarrelAlConductorThickness1" value="6.0*cm"/>
0196         <constant name="DipoleBarrelAlConductorThickness" value="1.5*cm"/>
0197         <constant name="SolenoidBarrelQuenchbackThickness1" value="5.*cm"/>
0198         <constant name="SolenoidBarrelOuterAirgapThickness1" value="3.*cm"/>
0199         <constant name="SolenoidBarrelOuterCryostatThickness1" value="4.0*cm"/>
0200         <constant name="SolenoidEndcapCryostatThickness1" value="3.0*cm"/>
0201         <constant name="SolenoidEndcapAirgapThickness1" value="2.7*cm"/>
0202         <constant name="SolenoidBarrelConductorInnerRadius1" value="SolenoidBarrelInnerRadius1 + 2.*SolenoidBarrelInnerCryostatThickness1 + SolenoidBarrelInnerAirgapThickness1"/>
0203         <constant name="SolenoidBarrelOuterZ1" value="SolenoidCoilOuterZ1+SolenoidEndcapAirgapThickness1"/>
0204         <constant name="SolenoidBarrelOuterCryostatInnerRadius1" value="SolenoidBarrelConductorInnerRadius1  + SolenoidBarrelAlConductorThickness1 + SolenoidBarrelQuenchbackThickness1 + DipoleBarrelAlConductorThickness + SolenoidBarrelInnerCryostatThickness1 + 4.*cm"/>
0205         <constant name="SolenoidBarrelOuterRadius1" value="SolenoidBarrelOuterCryostatInnerRadius1 + SolenoidBarrelOuterAirgapThickness1 + SolenoidBarrelOuterCryostatThickness1"/>
0206         <constant name="SolenoidalFieldRadius1" value="(SolenoidBarrelConductorInnerRadius1 + DipoleBarrelAlConductorThickness + SolenoidBarrelAlConductorThickness1 / 2.0)"/>
0207         <constant name="DipoleBarrelAlConductorRadius" value="SolenoidBarrelOuterCryostatInnerRadius1 - SolenoidBarrelOuterAirgapThickness1 - SolenoidBarrelOuterCryostatThickness1"/>
0208 
0209           <constant name="OffsetZ" value="85.*cm"/>    <!-- from geoDisplay - tracker only -->
0210 
0211         <constant name="HcalBarrel_rmin" value="SolenoidBarrelOuterRadius1+5.0*cm"/>
0212         <constant name="HcalBarrel_layers" value="(int) 85"/>
0213         <constant name="HcalBarrel_layer_thickness" value="1.65*cm"/>
0214         <constant name="HcalBarrel_length" value="EcalBarrel_zmax"/>
0215 
0216         <constant name="HcalEndcap_fwd_layers" value="131"/>
0217         <constant name="HcalEndcap_bwd_layers" value="113"/>        
0218         <constant name="HcalEndcap_zmin_fwd" value="EcalBarrel_zmax + 5.0*cm"/> 
0219         <constant name="HcalEndcap_rmin" value="VertexBarrel_r2"/>
0220         <constant name="HcalBarrel_rmax" value="HcalBarrel_rmin+HcalBarrel_layers*HcalBarrel_layer_thickness"/>
0221 
0222         <constant name="HcalEndcap_rmax" value="((HcalBarrel_rmin + HcalBarrel_layers * HcalBarrel_layer_thickness) / (cos(pi/CaloSides)))"/>
0223 
0224         <constant name="HcalEndcap_layer_thickness_fwd" value="1.65*cm"/>
0225         <constant name="HcalEndcap_layer_thickness_bwd" value="1.65*cm"/>
0226         <constant name="HcalEndcap_thickness_fwd" value="HcalEndcap_fwd_layers*HcalEndcap_layer_thickness_fwd"/>
0227         <constant name="HcalEndcap_thickness_bwd" value="HcalEndcap_bwd_layers*HcalEndcap_layer_thickness_bwd"/>
0228         <constant name="HcalEndcap_zmax_fwd" value="HcalEndcap_zmin_fwd + HcalEndcap_thickness_fwd"/>
0229         <constant name="HcalEndcap_zmin_bwd" value="EcalEndcap_zmin_bwd-HcalEndcap_thickness_bwd-4*cm"/>
0230 
0231         <constant name="HcalPlug_fwd_layers" value="154"/>
0232         <constant name="HcalPlug_bwd_layers" value="92"/>
0233         <constant name="HcalPlug_layer_thickness_fwd" value="1.145*cm"/>
0234         <constant name="HcalPlug_layer_thickness_bwd" value="1.6*cm"/>
0235         <constant name="HcalPlug_thickness_fwd" value="HcalPlug_fwd_layers*HcalPlug_layer_thickness_fwd"/>
0236         <constant name="HcalPlug_thickness_bwd" value="HcalPlug_bwd_layers*HcalPlug_layer_thickness_bwd"/>
0237         <constant name="HcalPlug_zmin_bwd" value="EcalBarrel_zmin-EcalEndcap_length_bwd-HcalPlug_thickness_bwd"/>
0238 
0239         <constant name="MuonBarrel_length" value="HcalBarrel_length + HcalEndcap_thickness_fwd + HcalEndcap_thickness_bwd"/>
0240         <constant name="MuonEndcap_layers" value="12"/>
0241         <constant name="MuonEndcap_layer_thickness" value="10.0*cm + 4.0*cm"/>
0242         <constant name="MuonEndcap_thickness" value="MuonEndcap_layers*MuonEndcap_layer_thickness"/>
0243 
0244         <constant name="MuonBarrel_zmin" value="HcalEndcap_zmin_bwd-HcalEndcap_thickness_bwd"/>
0245         <constant name="MuonBarrel_layers" value="6"/>
0246         <constant name="MuonBarrel_layer_thickness" value="10.0*cm + 4.0*cm"/>
0247         <constant name="MuonBarrel_thickness" value="MuonBarrel_layers*MuonBarrel_layer_thickness"/>
0248 
0249         <constant name="MuonBarrel_rmin" value="HcalEndcap_rmax + 2.0*cm"/>
0250         <constant name="MuonBarrel_rmax" value="MuonBarrel_rmin + MuonBarrel_thickness"/>
0251 
0252         <constant name="MuonEndcap_zmin_fwd" value="HcalEndcap_zmax_fwd-MuonEndcap_thickness-EcalEndcap_length_fwd+5.*cm"/> 
0253         <constant name="MuonEndcap_rmax0" value="(HcalBarrel_rmin - 10.0*cm ) / (cos(pi/MuonSides))"/>
0254         <constant name="MuonEndcap_zmin_bwd" value="MuonBarrel_zmin+EcalEndcap_length_bwd"/> 
0255         <constant name="MuonEndcap_rmax1" value="(MuonBarrel_rmax)/(cos(pi/MuonSides))"/> 
0256 
0257         <constant name="LumiCal_rmin" value="6.4*cm"/>
0258         <constant name="LumiCal_rmax" value="EcalEndcap_rmin + 3.0*cm"/>
0259         <constant name="LumiCal_zmin" value="HcalEndcap_zmin_fwd"/>
0260         <constant name="LumiCal_thickness" value="20*0.371*cm + 15*0.643*cm"/>
0261         <constant name="LumiCal_zmax" value="LumiCal_zmin + LumiCal_thickness"/>
0262         <constant name="LumiCalElectronics_rmax" value="LumiCal_rmax+5.0*cm"/>
0263 
0264         <constant name="SupportTube_thickness" value="1.0*cm"/>
0265         <constant name="ForwardVacuumValve_thickness" value="36.0*cm"/>
0266         <constant name="ForwardShielding_thickness" value="5.0*cm"/>
0267         <constant name="ForwardMask_thickness" value="10.0*cm"/>
0268         <constant name="ForwardMask_zmin" value="LumiCal_zmax + ForwardShielding_thickness + ForwardVacuumValve_thickness"/>
0269         <constant name="BeamCal_rmax" value="13.0*cm"/>
0270         <constant name="BeamCal_zmin" value="ForwardMask_zmin + ForwardMask_thickness"/>
0271 
0272         <constant name="VertexSupport_r1" value="Radius_SITLayer1 - 0.5*cm"/>
0273         <constant name="VertexSupport_r2" value="Radius_SITLayer2 - 0.5*cm"/>
0274         <constant name="VertexSupport_zmax" value="52.0*cm"/>
0275 
0276         <constant name="VertexBarrel_zmax" value="25.0*cm"/>
0277 
0278         <constant name="bp_cone_slope" value="(BeamPipe_rmax-CentralBeamPipe_rmax)/(tracking_region_zmax-CentralBeamPipe_zmax)"/>
0279         <constant name="BeamPipe_zmin" value="CentralBeamPipe_zmax + (BeamPipe_thickness - CentralBeamPipe_thickness)/bp_cone_slope"/>
0280         <constant name="BeamPipeLiner_thickness" value="0.0*cm"/>
0281         <constant name="BeamPipeLength" value="EcalBarrel_length"/>
0282 
0283         <constant name="VertexService_zmin" value="SiMod_z4 + 2.0*cm"/>
0284         <constant name="VertexService_zmax" value="VertexService_zmin + 2.0*cm"/>
0285         <constant name="VertexServiceThickness" value="0.3*cm"/>
0286         <constant name="VertexCableThickness" value="0.005*cm"/>
0287 
0288         <constant name="IncomingBP_radius" value="0.25*cm"/>
0289         <constant name="IncomingBP_thickness" value="0.05*cm"/>
0290         <constant name="OutgoingBP_radius" value="tan(CrossingAngle/2/rad)*BeamCal_zmin"/>
0291         <constant name="OutgoingBP_thickness" value="0.1*cm"/>
0292 
0293     </define>
0294     <materials>
0295         <material formula="Si" name="silicon_2.33gccm" state="solid" >
0296           <RL type="X0" unit="cm" value="9.36607" />
0297           <NIL type="lambda" unit="cm" value="45.7531" />
0298           <D type="density" unit="g/cm3" value="2.33" />
0299           <composite n="1" ref="Si" />
0300         </material>
0301 
0302         <material name="silicon_8.72gccm" state="solid" >
0303           <RL type="X0" unit="cm" value="9.36607" />
0304           <NIL type="lambda" unit="cm" value="45.7531" />
0305           <D type="density" unit="g/cm3" value="8.72" />
0306           <composite n="1" ref="Si" />
0307         </material>
0308 
0309         <material formula="W" name="tungsten_19.3gccm" state="solid" >
0310           <RL type="X0" unit="cm" value="0.350418" />
0311           <NIL type="lambda" unit="cm" value="10.3057" />
0312           <D type="density" unit="g/cm3" value="19.3" />
0313           <composite n="1" ref="W" />
0314         </material>
0315         <material name="TungstenDens23">
0316             <D value="17.7" unit="g/cm3"/>
0317             <fraction n="0.925" ref="W"/>
0318             <fraction n="0.066" ref="Ni"/>
0319             <fraction n="0.009" ref="Fe"/>
0320         </material>
0321         <material name="TungstenDens24">
0322             <D value="17.8" unit="g/cm3"/>
0323             <fraction n="0.93" ref="W"/>
0324             <fraction n="0.061" ref="Ni"/>
0325             <fraction n="0.009" ref="Fe"/>
0326         </material>
0327         <material name="TungstenDens25">
0328             <D value="18.2" unit="g/cm3"/>
0329             <fraction n="0.950" ref="W"/>
0330             <fraction n="0.044" ref="Ni"/>
0331             <fraction n="0.006" ref="Fe"/>
0332         </material>
0333         <material name="CarbonFiber_25percent">
0334             <D type="density" value="0.375" unit="g/cm3"/>
0335             <fraction n="1.0" ref="CarbonFiber"/>
0336         </material>
0337         <material name="CarbonFiber_15percent">
0338             <D type="density" value="0.225" unit="g/cm3"/>
0339             <fraction n="1.0" ref="CarbonFiber"/>
0340         </material>
0341         <material name="Rohacell31_50percent">
0342             <D type="density" value="0.016" unit="g/cm3"/>
0343             <fraction n="1.0" ref="Rohacell31"/>
0344         </material>
0345         <material name="Rohacell31_15percent">
0346             <D type="density" value="0.0048" unit="g/cm3"/>
0347             <fraction n="1.0" ref="Rohacell31"/>
0348         </material>
0349         <material name="BoratedPolyethylene5">
0350             <D value="0.93" unit="g/cm3"/>
0351             <fraction n="0.612" ref="C"/>
0352             <fraction n="0.222" ref="O"/>
0353             <fraction n="0.116" ref="H"/>
0354             <fraction n="0.050" ref="B"/>
0355         </material>
0356         <material name="SiliconCarbide">
0357             <D value="3.1" unit="g/cm3"/>
0358             <composite n="1" ref="Si"/>
0359             <composite n="1" ref="C"/>
0360         </material>
0361         <material name="SiliconCarbide_6percent">
0362             <D value="0.186" unit="g/cm3"/>
0363             <fraction n="1.0" ref="SiliconCarbide"/>
0364         </material>
0365         <material name="Graphite">
0366             <D value="1.7" unit="g/cm3"/>
0367             <composite n="1" ref="C"/>
0368         </material>
0369         <material name="Polystyrene">
0370            <D value="1.032" unit="g/cm3"/>
0371            <composite n="19" ref="C"/>
0372            <composite n="21" ref="H"/>
0373         </material>
0374     </materials>
0375     <limits>
0376         <limitset name="cal_limits">
0377             <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0378         </limitset>
0379     <limitset name="SiTrackerBarrelRegionLimitSet">
0380       <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0381       <limit name="track_length_max" particles="*" value="5.0" unit="mm" />
0382       <limit name="time_max" particles="*" value="5.0" unit="ns" />
0383       <limit name="ekin_min" particles="*" value="0.01" unit="MeV" />
0384       <limit name="range_min" particles="*" value="5.0" unit="mm" />
0385     </limitset>
0386     <limitset name="SiVertexBarrelRegionLimitSet">
0387       <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0388       <limit name="track_length_max" particles="*" value="5.0" unit="mm" />
0389       <limit name="time_max" particles="*" value="5.0" unit="ns" />
0390       <limit name="ekin_min" particles="*" value="0.01" unit="MeV" />
0391       <limit name="range_min" particles="*" value="5.0" unit="mm" />
0392     </limitset>
0393     </limits>
0394   <regions>
0395     <region name="SiVertexBarrelRegion" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001">
0396       <limitsetref name="SiVertexBarrelRegionLimitSet"/>
0397     </region>
0398     <region name="SiTrackerBarrelRegion" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001">
0399       <limitsetref name="SiTrackerBarrelRegionLimitSet"/>
0400     </region>
0401   </regions>
0402 
0403     <display>
0404         <vis name="InvisibleNoDaughters"      showDaughters="false" visible="false"/>
0405         <vis name="InvisibleWithDaughters"    showDaughters="true" visible="false"/>
0406         <vis name="SiVertexBarrelModuleVis" alpha="0.6" r="1" g="0" b="0" drawingStyle="solid" showDaughters="true" visible="true"/>
0407         <vis name="SiVertexSensitiveVis" alpha="0.8" r="1" g="0.2" b="0.2" drawingStyle="solid" showDaughters="true" visible="true"/>
0408         <vis name="SiVertexPassiveVis"   alpha="0.5" r="0.2"  g="0"  b="0.62" drawingStyle="solid" showDaughters="true" visible="false"/>
0409         <vis name="SiVertexBarrelLayerVis" alpha="0.2" r="0.1" g="0.1" b="0.6" showDaughters="true" visible="true"/>
0410         <vis name="SiVertexBarrelROVis" alpha="0.2" r="0.2" g="0.4" b="0.4" showDaughters="true" visible="true"/>
0411 
0412         <vis name="SiTrackerBarrelModuleVis" alpha="0.5" r="0.1" g="0.1" b="0.6"  showDaughters="false" visible="true"/>
0413         <vis name="SiTrackerBarrelLayerVis" alpha="0.5" r="1" g="1" b="0.6" showDaughters="true" visible="false"/>
0414 
0415         <vis name="SiTrackerForwardVis" alpha="1" r="1" g="0" b="0" drawingStyle="solid" showDaughters="false" visible="true"/>
0416         <vis name="SiTrackerBackwardVis" alpha="1" r="1" g="0" b="0" drawingStyle="solid" showDaughters="false" visible="true"/>
0417         <vis name="SiTrackerForwardModulVis" alpha="1" r="1" g="0" b="0" drawingStyle="solid" showDaughters="false" visible="true"/>
0418 
0419         <vis name="EcalBarrelVis"       alpha="0.1" r="0.2"   g="0.8" b="0.2" showDaughters="true" visible="true"/>
0420         <vis name="EcalLayerVis"        alpha="0.1" r="0.2"   g="0.4" b="0.1" showDaughters="true" visible="true"/>        
0421         <vis name="EcalBarrelStaveVis"  alpha="0.1" r="0"   g="0.9" b="0.1" showDaughters="true" visible="false"/>
0422         <vis name="EcalSensitiveVis"    alpha="0.1" r="0"   g="0.9" b="0.2" showDaughters="true" visible="true"/>
0423         <vis name="EcalAbsorberVis"     alpha="0.01" r="0"   g="0.9" b="0.2"  showDaughters="false" visible="false"/>
0424         <vis name="EcalPlugVis"         alpha="1"   r="0.5" g="1"   b="0.8"  showDaughters="false" visible="true"/>
0425         <vis name="EcalPlugSensitiveVis" alpha="0.1" r="0.5" g="1"   b="0.8" showDaughters="true" visible="true"/>
0426 
0427         <vis name="HcalBarrelVis"          alpha="1"   r="1"    g="0.8"  b="0.6" showDaughters="false" visible="true"/>
0428         <vis name="HcalSensorVis"          alpha="0.1" r="1"    g="0.8"  b="0.6" showDaughters="true" visible="true"/>
0429         <vis name="HcalAbsorberVis"        alpha="0.1" r="1"    g="0.8"  b="0.6" showDaughters="false" visible="false"/>
0430         <vis name="HcalBarrelStavesVis"    alpha="0.1" r="1"    g="0.8"  b="0.6" showDaughters="false" visible="false"/>
0431         <vis name="HcalBarrelLayerVis"     alpha="0.1" r="1"    g="0.8"  b="0.6" showDaughters="false" visible="false"/>
0432         <vis name="HcalBarrelSensorVis"    alpha="0.1" r="1"    g="0.8"  b="0.6" showDaughters="fasle" visible="true"/>
0433 
0434         <vis name="HcalEndcapVis"           alpha="1"   r="1"    g="0.8"  b="0.6" showDaughters="false" visible="true"/>
0435         <vis name="HcalEndcapLayerVis"      alpha="0.1" r="1"    g="0.8"  b="0.6" showDaughters="false" visible="false"/>
0436         <vis name="HcalEndcapStavesVis"     alpha="0.1" r="1"    g="0.8"  b="0.6" showDaughters="true" visible="false"/>
0437         <vis name="HcalPlugVis"             alpha="1"   r="1"  g="0.8"  b="0.7" showDaughters="false" visible="true"/>
0438         <vis name="HcalPlugLayerVis"        alpha="0.1" r="1"  g="0.9"  b="0.8" showDaughters="false" visible="false"/>
0439 
0440         <vis name="SolenoidBarrelLayerVis" alpha="0.6" r="0.3" g="0.9"  b="0.4" showDaughters="false" visible="true"/>
0441         <vis name="SolenoidDipoleBarrelLayerVis" alpha="0.6" r="0.2" g="0.9" b="0.9" showDaughters="false" visible="true"/>
0442         <vis name="SolenoidBarrelSupportLayerVis" alpha="0.2" r="0.4" g="0.4" b="0.4" showDaughters="false" visible="false"/>
0443 
0444         <vis name="SolenoidCoilEndsVis"    alpha="1" r="0" g="0.8"  b="0.8" showDaughters="true" visible="true"/>
0445         <vis name="AntiSolenoidVis"        alpha="1" r="0.3"  g="1"    b="1"   showDaughters="true" visible="true"/>
0446 
0447         <vis name="MuonBarrelVis"          alpha="0.4" r="0.8"  g="0.9"  b="1"  showDaughters="false" visible="true"/>
0448         <vis name="MuonBarrelStavesVis"    alpha="0.4" r="0.8"  g="0.9"  b="1"  showDaughters="fasle" visible="false"/>
0449         <vis name="MuonBarrelLayerVis"     alpha="0.4" r="0.8"  g="0.9"  b="1"  showDaughters="false" visible="true"/>
0450         <vis name="MuonBarrelSensorVis"    alpha="0.4" r="0.8"  g="0.9"  b="1"  showDaughters="true" visible="true"/>
0451         <vis name="MuonBarrelAbsorberVis"  alpha="0.4" r="0.8"  g="0.9"  b="1"  visible="false"/>
0452 
0453         <vis name="MuonEndcapVis"          alpha="0.4" r="0.8"  g="0.9"  b="1"  showDaughters="false" visible="true"/>
0454         <vis name="MuonEndcapLayerVis"     alpha="0.4" r="0.8"  g="0.9"  b="1"  showDaughters="false" visible="true"/>
0455         <vis name="MuonEndcapSensorVis"    alpha="0.4" r="0.8"  g="0.9"  b="1"  showDaughters="true"  visible="true"/>
0456         <vis name="MuonEndcapAbsorberVis"  alpha="0.4" r="0.8"  g="0.9"  b="1"  visible="false"/>
0457 
0458         <vis name="BeamPipeVis" alpha="1" r="0.9" g="0.9" b="0.9" showDaughters="true" visible="true"/> 
0459         <vis name="CableVis" showDaughters="false" visible="false"/>
0460 
0461         <vis name="SupportTubeVis" alpha="1" r="0.7" g="0.7" b="0.2" showDaughters="true" visible="true"/>
0462         <vis name="TungstenShieldingVis" r="0.99" g="0.1" b="0.2" showDaughters="false" visible="true"/>
0463 
0464         <vis name="SupportVis" alpha="0.5" r="0.01" g="0.7" b="0" showDaughters="false" visible="true"/>
0465         <vis name="LumiCalVis" showDaughters="false" visible="true"/>
0466         <vis name="GreenVis" r="0.0" g="1.0" b="0.0" showDaughters="false" visible="true"/>
0467         <vis name="RedVis" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
0468         <vis name="BlueVis" alpha="0.5" r="0.1" g="0.0" b="0.8" showDaughters="true" visible="true"/>
0469         <vis name="BlueVisTrans" alpha="0.1" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="false"/>
0470     </display>
0471 
0472 <!-- Assembly - asymmetric definition of the SiTrackers SubdetectorAssembly does not work -> Overlaps -->
0473   <detectors>
0474     <detector id="99" name="SiTrackers" type="Lhe_SubdetectorAssembly" vis="InvisibleWithDaughters">
0475       <shape name="SiTrackersEnv" type="Tube" 
0476       rmin="0.*cm" 
0477       rmax="EcalBarrel_rmin-1*cm" 
0478       dz="EcalEndcap_zmax_fwd" 
0479       z_offset="OffsetZ" 
0480       material="Air">
0481       </shape>
0482       <comment>Silicon Tracker Assembly</comment>
0483       <composite name="SiVertexBarrel"/>
0484       <composite name="SiTrackerBarrel"/>
0485       <composite name="SiTrackerForward"/>
0486       <composite name="SiTrackerBackward"/>
0487       <composite name="VertexBarrelSupports"/>
0488       <composite name="VertexEndSupports"/>
0489       <composite name="VertexReadout"/>
0490       <composite name="TrackerBarrelSupports"/>
0491       <composite name="TrackerReadout"/>
0492       <composite name="EcalEndcap_fwd"/>
0493       <composite name="EcalEndcap_bwd"/>
0494     </detector>
0495   </detectors>
0496     
0497   <detectors>
0498         <comment>Trackers</comment>
0499 
0500 <!-- SiVertexBarrel -->
0501         <comment>Vertex Detector Barrel</comment>
0502         <detector id="1" name="SiVertexBarrel"
0503                          type="Lhe_BP_SiVertexBarrel" 
0504                          readout="SiVertexBarrelHits" 
0505                          insideTrackingVolume="true" 
0506                          reflect="true" 
0507                          region="SiVertexBarrelRegion" 
0508                          limits="SiVertexBarrelRegionLimitSet">
0509                          
0510                 <module name="VtxBarrelModuleInner" vis="SiVertexBarrelModuleVis">
0511                 <module_envelope width="10.0*mm" length="(VertexBarrel_zmax - 0.1*cm)*2" thickness="VxBar_Env"/>
0512                  <module_component width="7.8*mm" length="(VertexBarrel_zmax - 0.15*cm)*2" thickness="0.0130*cm" material="CarbonFiber_50D" sensitive="false" vis="SiVertexPassiveVis">
0513                                 <position z="-0.12*mm"/>
0514                      </module_component>
0515              <module_component 
0516                   width="9.8*mm" length="(VertexBarrel_zmax-0.15*cm)*2" thickness="0.0038*cm" material="Kapton" sensitive="false" vis="SiVertexPassiveVis">
0517                                 <position z="0.1375*cm"/>
0518              </module_component>
0519                      <module_component width="9.8*mm" length="(VertexBarrel_zmax-0.15*cm)*2" thickness="0.005*cm" material="Silicon" sensitive="true" vis="SiVertexSensitiveVis">
0520                                 <position z="0.225*mm"/>
0521                  </module_component> 
0522              <module_component 
0523                   width="9.8*mm" length="(VertexBarrel_zmax-0.15*cm)*2" thickness="0.0038*cm" material="Kapton" sensitive="false" vis="SiVertexPassiveVis">
0524                                 <position z="0.1375*cm"/>
0525              </module_component>
0526              <module_component 
0527                   width="9.8*mm" length="(VertexBarrel_zmax-0.15*cm)*2" thickness="0.00038*cm" material="Copper" sensitive="false" vis="SiVertexPassiveVis">
0528                                 <position z="0.146*cm"/>
0529              </module_component>
0530                 </module>
0531                 
0532             <layer module="VtxBarrelModuleInner" id="1" vis="SiVertexBarrelLayerVis">
0533                 <barrel_envelope 
0534                   inner_r="VertexBarrel_r0 - VxBar_Env-0.5*cm" 
0535                   outer_r="VertexBarrel_r0 + VxBar_Env+0.5*cm" 
0536                   z_length="VertexBarrel_zmax"/>
0537                 <rphi_layout 
0538                   phi_tilt="0.0*rad"
0539                   nphi="50"
0540                   phi0="4.71238898038468967e+00*rad" 
0541                   rc="VertexBarrel_r0 + 0.0*mm" 
0542                   dr="0.0*mm"/>
0543                  <z_layout dr="0.0*mm" z0="0.0*mm" nz="1"/>
0544             </layer>
0545             <layer module="VtxBarrelModuleInner" id="2" vis="SiVertexBarrelLayerVis">
0546                 <barrel_envelope 
0547                   inner_r="VertexBarrel_r1 - VxBar_Env" 
0548                   outer_r="VertexBarrel_r1 + VxBar_Env" 
0549                   z_length="VertexBarrel_zmax"/>
0550                 <rphi_layout 
0551                   phi_tilt="0.0*rad"
0552                   nphi="50"
0553                   phi0="4.71238898038468967e+00*rad" 
0554                   rc="VertexBarrel_r1 + 0.0*mm" 
0555                   dr="0.0*mm"/>
0556             <z_layout dr="0.0*mm" z0="0.0*mm" nz="1"/>
0557             </layer>
0558             <layer module="VtxBarrelModuleInner" id="3" vis="SiVertexBarrelLayerVis">
0559                 <barrel_envelope 
0560                   inner_r="VertexBarrel_r2 - VxBar_Env" 
0561                   outer_r="VertexBarrel_r2 + VxBar_Env" 
0562                   z_length="VertexBarrel_zmax"/>
0563                 <rphi_layout 
0564                   phi_tilt="0.0*rad"
0565                   nphi="50"
0566                   phi0="4.71238898038468967e+00*rad" 
0567                   rc="VertexBarrel_r2 + 0.0*mm"
0568                   dr="0.0*mm"/>
0569                  <z_layout dr="0.0*mm" z0="0.0*mm" nz="1"/>
0570             </layer>
0571             <layer module="VtxBarrelModuleInner" id="4" vis="SiVertexBarrelLayerVis">
0572                 <barrel_envelope 
0573                   inner_r="VertexBarrel_r3 - VxBar_Env" 
0574                   outer_r="VertexBarrel_r3 + VxBar_Env" 
0575                   z_length="VertexBarrel_zmax"/>
0576                 <rphi_layout 
0577                   phi_tilt="0.0*rad"
0578                   nphi="50"
0579                   phi0="4.71238898038468967e+00*rad" 
0580                   rc="VertexBarrel_r3 + 0.0*mm" 
0581                   dr="0.0*mm"/>
0582                   <z_layout dr="0.0*mm" z0="0.0*mm" nz="1"/>
0583             </layer>
0584 
0585         </detector>
0586 
0587        <comment>Vertex Detector Supports </comment>
0588         <detector name="VertexBarrelSupports" 
0589                   type="Lhe_BP_MultiLayerTracker" 
0590                    reflect="true" 
0591                  vis="SupportTubeVis">
0592             <comment>Double-walled Carbon Fiber support tube</comment>
0593 
0594             <layer id="1" 
0595               inner_r = "CentralBeamPipe_rmax + VxBar_Env" 
0596               outer_z = "VertexBarrel_zmax + 0.5*cm" 
0597               outer_r = "CentralBeamPipe_rmax + VxBar_Env + 0.2*cm"  
0598               rmax    = "CentralBeamPipe_rmax + 0.2*cm + 7.2*cm" >
0599               <slice material = "CarbonFiber" thickness ="VXD_CF_support"/>
0600             </layer>
0601 
0602            <layer id="2" 
0603              inner_r = "VertexBarrel_r3 + 2*VxBar_Env + 0.4*cm" 
0604              outer_z = "VertexBarrel_zmax + 0.5*cm" 
0605              outer_r = "VertexBarrel_r3 + 2*VxBar_Env + 0.8*cm" 
0606              rmax    = "VertexBarrel_r3 + 2*VxBar_Env + 0.8*cm + 3.2*cm" >
0607              <slice material = "CarbonFiber" thickness ="VXD_CF_support"/>
0608             </layer>     
0609 
0610         </detector>
0611 
0612         <detector name="VertexEndSupports" 
0613                   type="Lhe_BP_DiskTracker" 
0614                   reflect="true" 
0615                   vis="SiVertexBarrelROVis">        
0616             <layer id="3" 
0617               inner_r = "VertexBarrel_r0 + 0.4*cm" 
0618               outer_r = "VertexBarrel_r0 + 1.6*cm" 
0619               rmax    = "CentralBeamPipe_rmax + 0.2*cm + 10.7*cm" 
0620               rmin    = "CentralBeamPipe_rmax + 10.7*cm" 
0621               inner_z = "VertexBarrel_zmax + 1.0*cm" >
0622               <slice material = "CarbonFiber" thickness = "VXD_CF_support" />
0623             </layer>
0624             <layer id="4" 
0625               inner_r = "VertexBarrel_r3 + 2*VxBar_Env - 1.*cm" 
0626               outer_r = "VertexBarrel_r3 + 2*VxBar_Env + 0.2*cm" 
0627               rmax    = "VertexBarrel_r3 + 2*VxBar_Env + 3.5*cm" 
0628               rmin    = "VertexBarrel_r3 + 2*VxBar_Env + 3.5*cm - 0.2*cm" 
0629               inner_z = "VertexBarrel_zmax + 1.0*cm" >
0630               <slice material = "CarbonFiber" thickness = "VXD_CF_support" />
0631             </layer>
0632         </detector>
0633 
0634 <!-- VertexReadout -->
0635         <detector name="VertexReadout" 
0636                   type="Lhe_BP_DiskTracker" 
0637                   reflect="true"
0638                   sensitive="false" 
0639                   vis="SiVertexBarrelROVis">
0640             <comment>Readout and Cabling</comment>
0641 
0642             <layer id="5"
0643               inner_r = "VertexBG10_r0_in + 0.4*cm" 
0644               outer_r = "VertexBG10_r0_ou + 1.6*cm"  
0645               inner_z = "VertexBarrel_zmax + 2.*cm" 
0646               rmax    = "CentralBeamPipe_rmax + 12.*cm" vis="SiVertexBarrelROVis">
0647               <slice material = "G10" thickness ="G10thickness"/>
0648             </layer>
0649 
0650             <layer id="6"
0651               inner_r = "VertexBG10_r1_in + 0.4*cm" 
0652               outer_r = "VertexBG10_r1_ou + 1.6*cm" 
0653               inner_z = "VertexBarrel_zmax + 2.*cm"
0654               rmax    = "CentralBeamPipe_rmax + 0.4*cm + 12.*cm + VertexBG10_r1_ou*0.22" vis="SiVertexBarrelROVis" >
0655               <slice material = "G10" thickness ="G10thickness"/>
0656             </layer>
0657 
0658             <layer id="7" 
0659               inner_r = "VertexBG10_r2_in + 0.4*cm" 
0660               outer_r = "VertexBG10_r2_ou + 1.6*cm"  
0661               inner_z = "VertexBarrel_zmax + 2.*cm"   
0662               rmax    = "CentralBeamPipe_rmax + 0.2*cm + 12.*cm + VertexBG10_r2_ou*0.33" vis="SiVertexBarrelROVis">
0663               <slice material = "G10" thickness ="G10thickness"/>
0664             </layer>
0665 
0666             <layer id="8" 
0667               inner_r = "VertexBG10_r3_in + 0.4*cm" 
0668               outer_r = "VertexBG10_r3_ou + 1.6*cm"  
0669               inner_z = "VertexBarrel_zmax + 2.*cm"  
0670               rmax    = "CentralBeamPipe_rmax + 0.2*cm + 12.*cm + VertexBG10_r3_ou*0.33" vis="SiVertexBarrelROVis">
0671               <slice material = "G10" thickness ="G10thickness"/>
0672             </layer>
0673 
0674             <layer id="9" 
0675               inner_r = "VertexCo_r0_in + 0.4*cm" 
0676               outer_r = "VertexCo_r0_ou + 1.6*cm"  
0677               inner_z = "VertexBarrel_zmax + 4.*cm" 
0678               rmax    = "CentralBeamPipe_rmax + 0.4 + 12.*cm " vis="SiVertexBarrelROVis">
0679               <slice material = "Copper" thickness ="0.0057*cm"/>
0680             </layer>
0681 
0682             <layer id="10" 
0683               inner_r = "VertexCo_r1_in + 0.4*cm" 
0684               outer_r = "VertexCo_r1_ou + 1.6*cm"  
0685               inner_z = "VertexBarrel_zmax + 4.0*cm" 
0686               rmax    = "CentralBeamPipe_rmax + 0.4*cm + 12.*cm + VertexCo_r0_ou*0.22" vis="SiVertexBarrelROVis">
0687               <slice material = "Copper" thickness ="0.0031*cm"/>
0688             </layer>
0689 
0690             <layer id="11" 
0691               inner_r = "VertexCo_r2_in + 0.4*cm" 
0692               outer_r = "VertexCo_r2_ou + 1.6*cm"  
0693               inner_z = "VertexBarrel_zmax + 4.0*cm" 
0694               rmax    = "CentralBeamPipe_rmax + 0.4*cm + 12.*cm + VertexCo_r2_ou*0.33" vis="SiVertexBarrelROVis" >
0695               <slice material = "Copper" thickness ="0.0016*cm"/>
0696             </layer>
0697 
0698             <layer id="12" 
0699               inner_r = "VertexCo_r3_in + 0.4*cm" 
0700               outer_r = "VertexCo_r3_ou + 1.6*cm"  
0701               inner_z = "VertexBarrel_zmax + 4.0*cm" 
0702               rmax    = "CentralBeamPipe_rmax + 0.4*cm + 12.*cm + VertexCo_r3_ou*0.33" vis="SiVertexBarrelROVis" >
0703               <slice material = "Copper" thickness ="0.0007*cm"/>
0704             </layer>
0705         </detector>
0706 
0707 <!--SiTrackerBarrel -->
0708         <detector id="2" name="SiTrackerBarrel" 
0709                          type="Lhe_SiTrackerBarrel" 
0710                          insideTrackingVolume="true" 
0711                          readout="SiTrackerBarrelHits" 
0712                          region="SiTrackerBarrelRegion" 
0713                          limits="SiTrackerBarrelRegionLimitSet">
0714             <comment>Outer Tracker Barrel</comment>
0715 
0716             <module name="SiTrackerModule_Layer0"   vis="SiTrackerBarrelModuleVis">
0717                 <module_envelope 
0718                   width="SiMod_w0" length="SiMod_l0" thickness="0.3*cm"/>
0719                 <module_component 
0720                   width="SiMod_w0" length="SiMod_l0" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false">
0721                     <position z="-0.14*cm" />
0722                 </module_component>
0723                 <module_component 
0724                   width="SiMod_w0" length="SiMod_l0" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false">
0725                     <position z="-0.122*cm" />
0726                 </module_component>
0727                 <module_component 
0728                   width="SiMod_w0" length="SiMod_l0" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0729                     <position z="-0.024*cm" />
0730                 </module_component>
0731                 <module_component 
0732                   width="SiMod_w0" length="SiMod_l0" thickness="0.0175*cm" material="Epoxy" sensitive="false" vis="false" >
0733                     <position z="0.07475*cm" />
0734                 </module_component>
0735                 <module_component 
0736                   width="SiMod_w0" length="SiMod_l0" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0737                     <position z="0.0915*cm" />
0738                 </module_component>
0739                 <module_component 
0740                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0741                     <position z="0.1145*cm"/>
0742                 </module_component>
0743                 <module_component 
0744                   width="SiMod_w0" length="SiMod_l0" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0745                     <position z="0.12974*cm"/>
0746                 </module_component>
0747                 <module_component 
0748                   width="SiMod_w0" length="SiMod_l0" thickness="0.0038*cm" material="Kapton" sensitive="false" vis="false" >
0749                     <position z="0.1375*cm"/>
0750                 </module_component>
0751                 <module_component 
0752                   width="SiMod_w0" length="SiMod_l0" thickness="0.00038*cm" material="Copper" sensitive="false" vis="false">
0753                     <position z="0.146*cm"/>
0754                 </module_component>
0755             </module>
0756 
0757             <module name="SiTrackerModule_Layer1" vis="SiTrackerBarrelModuleVis">
0758                 <module_envelope 
0759                   width="SiMod_w1" length="SiMod_l1" thickness="0.3*cm"/>
0760                 <module_component 
0761                   width="SiMod_w1" length="SiMod_l1" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false">
0762                     <position z="-0.14*cm" />
0763                 </module_component>
0764                 <module_component 
0765                   width="SiMod_w1" length="SiMod_l1" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0766                     <position z="-0.122*cm" />
0767                 </module_component>
0768                 <module_component 
0769                   width="SiMod_w1" length="SiMod_l1" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0770                     <position z="-0.024*cm" />
0771                 </module_component>
0772                 <module_component 
0773                   width="SiMod_w1" length="SiMod_l1" thickness="0.0175*cm"  material="Epoxy" sensitive="false" vis="false">
0774                     <position z="0.07475*cm" />
0775                 </module_component>
0776                 <module_component                 
0777                   width="SiMod_w1" length="SiMod_l1" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0778                     <position z="0.0915*cm" />
0779                 </module_component>                
0780                 <module_component 
0781                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0782                     <position z="0.1145*cm"/>
0783                 </module_component>                
0784                 <module_component 
0785                   width="SiMod_w1" length="SiMod_l1" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0786                     <position z="0.12974*cm"/>
0787                 </module_component>                
0788                 <module_component 
0789                   width="SiMod_w1" length="SiMod_l1" thickness="0.0051*cm" material="Kapton" sensitive="false" vis="false" >
0790                     <position z="0.1375*cm"/>
0791                 </module_component>                
0792                 <module_component 
0793                   width="SiMod_w1" length="SiMod_l1" thickness="0.00052*cm" material="Copper" sensitive="false" vis="false">
0794                     <position z="0.146*cm"/>
0795                 </module_component>
0796             </module>
0797 
0798             <module name="SiTrackerModule_Layer2" vis="SiTrackerBarrelModuleVis">
0799                 <module_envelope 
0800                   width="SiMod_w2" length="SiMod_l2" thickness="0.3*cm"/>
0801                 <module_component 
0802                   width="SiMod_w2" length="SiMod_l2" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false" >
0803                     <position z="-0.14*cm" />
0804                 </module_component>
0805                 <module_component 
0806                   width="SiMod_w2" length="SiMod_l2" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0807                     <position z="-0.122*cm" />
0808                 </module_component>
0809                 <module_component 
0810                   width="SiMod_w2" length="SiMod_l2" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0811                     <position z="-0.024*cm" />
0812                 </module_component>
0813                 <module_component 
0814                   width="SiMod_w2" length="SiMod_l2" thickness="0.0175*cm" material="Epoxy" sensitive="false" vis="false" >
0815                     <position z="0.07475*cm" />
0816                 </module_component>
0817                 <module_component
0818                   width="SiMod_w2" length="SiMod_l2" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0819                     <position z="0.0915*cm" />
0820                 </module_component>
0821                 <module_component
0822                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0823                     <position z="0.1145*cm"/>
0824                 </module_component>
0825                 <module_component
0826                   width="SiMod_w2" length="SiMod_l2" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0827                     <position z="0.12974*cm"/>
0828                 </module_component>
0829                 <module_component
0830                   width="SiMod_w2" length="SiMod_l2" thickness="0.0064*cm" material="Kapton" sensitive="false" vis="false" >
0831                     <position z="0.1375*cm"/>
0832                 </module_component>
0833                 <module_component
0834                   width="SiMod_w2" length="SiMod_l2" thickness="0.00065*cm" material="Copper" sensitive="false" vis="false">
0835                     <position z="0.146*cm"/>
0836                 </module_component>
0837             </module>
0838 
0839             <module name="SiTrackerModule_Layer3" vis="SiTrackerBarrelModuleVis">
0840                 <module_envelope 
0841                   width="SiMod_w3" length="SiMod_l3" thickness="0.3*cm"/>
0842                 <module_component
0843                   width="SiMod_w3" length="SiMod_l3" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false" >
0844                     <position z="-0.14*cm" />
0845                 </module_component>
0846                 <module_component
0847                   width="SiMod_w3" length="SiMod_l3" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0848                     <position z="-0.122*cm" />
0849                 </module_component>
0850                 <module_component
0851                   width="SiMod_w3" length="SiMod_l3" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0852                     <position z="-0.024*cm" />
0853                 </module_component>
0854                 <module_component
0855                   width="SiMod_w3" length="SiMod_l3" thickness="0.0175*cm" material="Epoxy" sensitive="false" vis="false" >
0856                     <position z="0.07475*cm" />
0857                 </module_component>
0858                 <module_component
0859                   width="SiMod_w3" length="SiMod_l3" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0860                     <position z="0.0915*cm" />
0861                 </module_component>
0862                 <module_component
0863                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0864                     <position z="0.1145*cm"/>
0865                 </module_component>
0866                 <module_component
0867                   width="SiMod_w3" length="SiMod_l3" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0868                     <position z="0.12974*cm"/>
0869                 </module_component>
0870                 <module_component
0871                   width="SiMod_w3" length="SiMod_l3" thickness="0.0078*cm" material="Kapton" sensitive="false" vis="false" >
0872                     <position z="0.1375*cm"/>
0873                 </module_component>
0874                 <module_component
0875                   width="SiMod_w3" length="SiMod_l3" thickness="0.00079*cm" material="Copper" sensitive="false" vis="false" >
0876                     <position z="0.146*cm"/>
0877                 </module_component>
0878             </module>
0879 
0880             <module name="SiTrackerModule_Layer4" vis="SiTrackerBarrelModuleVis">
0881                 <module_envelope 
0882                   width="SiMod_w4" length="SiMod_l4" thickness="0.3*cm"/>
0883                 <module_component
0884                   width="SiMod_w4" length="SiMod_l4" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false" >
0885                     <position z="-0.14*cm" />
0886                 </module_component>
0887                 <module_component
0888                   width="SiMod_w4" length="SiMod_l4" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0889                     <position z="-0.122*cm" />
0890                 </module_component>
0891                 <module_component
0892                   width="SiMod_w4" length="SiMod_l4" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0893                     <position z="-0.024*cm" />
0894                 </module_component>
0895                 <module_component
0896                   width="SiMod_w4" length="SiMod_l4" thickness="0.0175*cm" material="Epoxy" sensitive="false" vis="false" >
0897                     <position z="0.07475*cm" />
0898                 </module_component>
0899                 <module_component
0900                   width="SiMod_w4" length="SiMod_l4" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false">
0901                     <position z="0.0915*cm" />
0902                 </module_component>
0903                 <module_component
0904                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0905                     <position z="0.1145*cm"/>
0906                 </module_component>
0907                 <module_component
0908                   width="SiMod_w4" length="SiMod_l4" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0909                     <position z="0.12974*cm"/>
0910                 </module_component>
0911                 <module_component
0912                   width="SiMod_w4" length="SiMod_l4" thickness="0.0091*cm" material="Kapton" sensitive="false" vis="false" >
0913                     <position z="0.1375*cm"/>
0914                 </module_component>
0915                 <module_component
0916                   width="SiMod_w4" length="SiMod_l4" thickness="0.00093*cm" material="Copper" sensitive="false" vis="false">
0917                     <position z="0.146*cm"/>
0918                 </module_component>
0919             </module>
0920 
0921             <layer module="SiTrackerModule_Layer0" id="1" vis="SiTrackerBarrelLayerVis">
0922                 <barrel_envelope
0923                   inner_r="Radius_SITLayer0 + 8.*mm" 
0924                   outer_r="Radius_SITLayer0+Diff_Radius_SITLayer" 
0925                   z_length="SiMod_z0*2"/>
0926                 <rphi_layout 
0927                   phi_tilt="0.13*rad" nphi="17" phi0="0."  rc="Radius_SITLayer0 + 12.*mm" dr="0.0"/>
0928                 <z_layout dr="4.0*mm" z0="SiMod_zi0" nz="11"/>               
0929             </layer>   <comment>  z-length = +-53cm; radius = 24cm </comment>
0930 
0931             <layer module="SiTrackerModule_Layer1" id="2" vis="SiTrackerBarrelLayerVis">
0932                 <barrel_envelope
0933                   inner_r="Radius_SITLayer1" 
0934                   outer_r="Radius_SITLayer1+Diff_Radius_SITLayer" 
0935                   z_length="SiMod_z1*2"/>
0936                 <rphi_layout 
0937                   phi_tilt="0.13*rad" nphi="20" phi0="0.087*rad"  rc="Radius_SITLayer1 + 8*mm" dr="0.0"/>
0938                 <z_layout dr="4.0*mm" z0="SiMod_zi1" nz="13"/>        
0939             </layer>   <comment>  z-length = +-59cm; radius = 29cm  </comment>
0940           
0941             <layer module="SiTrackerModule_Layer2" id="3" vis="SiTrackerBarrelLayerVis">
0942                 <barrel_envelope 
0943                   inner_r="Radius_SITLayer2" 
0944                   outer_r="Radius_SITLayer2+Diff_Radius_SITLayer" 
0945                   z_length="SiMod_z2*2"/>
0946                 <rphi_layout 
0947                   phi_tilt="0.13*rad" nphi="24" phi0="0.058*rad"  rc="Radius_SITLayer2 + 8*mm" dr="0.0"/>
0948                 <z_layout dr="4.0*mm" z0="SiMod_zi2" nz="14"/>
0949             </layer>    <comment>  z-length = +-69cm; radius = 34cm  </comment>
0950           
0951             <layer module="SiTrackerModule_Layer3" id="4" vis="SiTrackerBarrelLayerVis">
0952                 <barrel_envelope 
0953                   inner_r="Radius_SITLayer3" 
0954                   outer_r="Radius_SITLayer3+Diff_Radius_SITLayer" 
0955                   z_length="SiMod_z3*2"/>
0956                 <rphi_layout 
0957                   phi_tilt="0.13*rad" nphi="28" phi0="0.0436*rad" rc="Radius_SITLayer3 + 8.*mm" dr="0.0"/>
0958                 <z_layout dr="4.0*mm" z0="SiMod_zi3" nz="18"/>
0959             </layer>    <comment>  z-length = +-79cm; radius = 39cm  </comment>
0960            
0961             <layer module="SiTrackerModule_Layer4" id="5" vis="SiTrackerBarrelLayerVis">
0962                 <barrel_envelope 
0963                   inner_r="Radius_SITLayer4"  
0964                   outer_r="Radius_SITLayer4+Diff_Radius_SITLayer" 
0965                   z_length="SiMod_z4*2"/>
0966                 <rphi_layout 
0967                   phi_tilt="0.13*rad" nphi="32" phi0="0.01745*rad" rc="Radius_SITLayer4 + 8*mm" dr="0.0"/>
0968                 <z_layout dr="4.0*mm" z0="SiMod_zi4" nz="22"/>
0969             </layer>    <comment>  z-length = +-89cm; radius = 44cm  </comment>
0970                         
0971         </detector>
0972 
0973         <comment>   Outer Tracker Supports   </comment>
0974 
0975         <detector name="TrackerBarrelSupports" 
0976                   type="Lhe_MultiLayerTracker" 
0977                   reflect="true" 
0978                   vis="SupportVis">
0979             <comment>Barrels</comment>
0980  
0981             <layer id="1" 
0982               inner_r = "Radius_SITLayer0 - VxBar_Env + 0.2" 
0983               outer_z = "SiMod_z0 + VxBar_Env/4 - 1.5*cm">
0984                 <slice material="CarbonFiber" thickness="0.05*cm" />
0985                 <slice material="Rohacell31_15percent" thickness="0.8075*cm" />
0986                 <slice material="CarbonFiber" thickness="0.05*cm" />
0987             </layer>
0988 
0989             <layer id="2" 
0990                inner_r="Radius_SITLayer1 - VxBar_Env - 0.5*cm" 
0991                outer_z="SiMod_z1 + VxBar_Env/4 - 1.5*cm">
0992                 <slice material="CarbonFiber" thickness="0.05*cm" />
0993                 <slice material="Rohacell31_15percent" thickness="0.8075*cm" />
0994                 <slice material="CarbonFiber" thickness="0.05*cm" />
0995             </layer>
0996 
0997             <layer id="3" 
0998                inner_r="Radius_SITLayer2 - VxBar_Env - 0.5*cm" 
0999                outer_z="SiMod_z2 + VxBar_Env/4 - 1.5*cm">>
1000                 <slice material= "CarbonFiber" thickness = "0.05*cm" />
1001                 <slice material= "Rohacell31_15percent" thickness="0.8075*cm" />
1002                 <slice material= "CarbonFiber" thickness="0.05*cm" />
1003             </layer>
1004 
1005             <layer id="4" 
1006                inner_r="Radius_SITLayer3 - VxBar_Env - 0.5*cm" 
1007                outer_z="SiMod_z3 + VxBar_Env/4 - 1.5*cm">>
1008                 <slice material="CarbonFiber" thickness="0.05*cm" />
1009                 <slice material="Rohacell31_15percent" thickness="0.8075*cm" />
1010                 <slice material="CarbonFiber" thickness="0.05*cm" />
1011             </layer>
1012 
1013             <layer id="5" 
1014                inner_r="Radius_SITLayer4 - VxBar_Env - 0.5*cm" 
1015                outer_z="SiMod_z4 + VxBar_Env/4 - 1.5*cm">>
1016                 <slice material="CarbonFiber" thickness="0.05*cm" />
1017                 <slice material="Rohacell31_15percent" thickness="0.8075*cm" />
1018                 <slice material="CarbonFiber" thickness="0.05*cm" />
1019             </layer>
1020 
1021        </detector>
1022 
1023         <detector name="TrackerReadout" 
1024                   type="Lhe_DiskTracker" 
1025                   reflect="true" 
1026                   vis="GreenVis">
1027             <comment>Readouts</comment>
1028 
1029             <layer id="1" 
1030               inner_r="Radius_SITLayer0 - VxBar_Env " 
1031               inner_z="SiMod_z0" 
1032               outer_r="Radius_SITLayer0 ">
1033                 <slice material="G10" thickness="0.057*cm" />
1034                 <slice material="Copper" thickness="0.0038*cm" />
1035             </layer> 
1036             <layer id="2" 
1037               inner_r="Radius_SITLayer1 - VxBar_Env*2 " 
1038               inner_z="SiMod_z1" 
1039               outer_r="Radius_SITLayer1 ">
1040                 <slice material = "G10" thickness="0.102*cm" />
1041                 <slice material = "Copper" thickness="0.0068*cm" />
1042             </layer>
1043             <layer id="3" 
1044               inner_r="Radius_SITLayer2 - VxBar_Env*2 " 
1045               inner_z="SiMod_z2" 
1046               outer_r="Radius_SITLayer2 ">
1047                 <slice material="G10" thickness="0.108*cm" />
1048                 <slice material="Copper" thickness="0.0072*cm" />
1049             </layer>
1050             <layer id="4" 
1051               inner_r="Radius_SITLayer3 - VxBar_Env*2 " 
1052               inner_z="SiMod_z3" 
1053               outer_r="Radius_SITLayer3 ">
1054                 <slice material="G10" thickness="0.186*cm" />
1055                 <slice material="Copper" thickness="0.0124*cm" />
1056             </layer>
1057             <layer id="5" 
1058               inner_r= "Radius_SITLayer4 - VxBar_Env*2 " 
1059               inner_z="SiMod_z4" 
1060               outer_r="Radius_SITLayer4 ">
1061                 <slice material="G10" thickness="0.246*cm" />
1062                 <slice material="Copper" thickness="0.0164*cm" />
1063             </layer>
1064 
1065         </detector>
1066 
1067        
1068 <!-- fwd-tracker -->
1069         <detector id="3" name="SiTrackerForward" 
1070                          type="Lhe_SiTrackerEndcap2" 
1071                          readout="SiTrackerForwardHits" 
1072                          reflect="false"
1073                          r="VertexBarrel_r0 - VxBar_Env"
1074                          rmax="CentralBeamPipe_rmax + 1.*cm + 7.5*cm"
1075                          vis="SiTrackerForwardVis">
1076             <comment>Forward Tracker outside Barrel Support</comment>
1077             <module name="Module1" vis="SiTrackerForwardModulVis">
1078                 <trd x1="36.112*mm" x2="46.635*mm" z="100.114/2*mm" />
1079                 <module_component thickness="0.00052*cm"   material="Copper" />
1080                 <module_component thickness="0.0051*cm"   material="Kapton" />
1081                 <module_component thickness="0.00048*cm" material="Silicon" />
1082                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1083                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1084                 <module_component thickness="0.18*cm" material="Rohacell31_50D" />
1085                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1086                 <module_component thickness="0.0175*cm" material="Epoxy" />
1087                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1088                 <module_component thickness="0.00048*cm" material="Silicon" />
1089                 <module_component thickness="0.0051*cm"   material="Kapton" />
1090                 <module_component thickness="0.00052*cm"   material="Copper" />
1091             </module>
1092             <module name="Module2" vis="SiTrackerForwardModulVis">
1093                 <trd x1="45.245*mm" x2="54.680*mm" z="89.773/2*mm" />
1094                 <module_component thickness="0.00079*cm"   material="Copper" />
1095                 <module_component thickness="0.0078*cm"   material="Kapton" />
1096                 <module_component thickness="0.00048*cm" material="Silicon" />
1097                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1098                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1099                 <module_component thickness="0.18*cm" material="Rohacell31_50D" />
1100                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1101                 <module_component thickness="0.0175*cm" material="Epoxy" />
1102                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1103                 <module_component thickness="0.00048*cm" material="Silicon" />
1104                 <module_component thickness="0.0078*cm"   material="Kapton" />
1105                 <module_component thickness="0.00079*cm"   material="Copper" />
1106             </module>
1107 
1108            <layer id="1">
1109                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z0+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1110                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z0+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1111                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z0+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1112             </layer>    <comment> new: middle-z-pos. = +75cm; outer_radius = 32cm  </comment>
1113 
1114            <layer id="2">
1115                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z1+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1116                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z1+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1117                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z1+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1118             </layer>     <comment>  middle-z-pos. = +92.5cm; outer_radius = 38cm  </comment>
1119 
1120            <layer id="3">
1121                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z2+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1122                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z2+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1123                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z2+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1124                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z2+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1125                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z2+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1126             </layer>     <comment>  middle-z-pos. = +142cm; outer_radius = 46cm  </comment>
1127 
1128            <layer id="4">
1129                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z3+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1"/>
1130                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z3+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1131                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z3+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1132                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z3+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1133                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z3+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1134             </layer>     <comment>  middle-z-pos. = +192cm; outer_radius = 46cm  </comment>
1135 
1136            <layer id="5">
1137                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z4+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1"/>
1138                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z4+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1139                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z4+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1140                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z4+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1141                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z4+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1142             </layer>     <comment>  middle-z-pos. = +267cm; outer_radius = 46cm  </comment>
1143 
1144            <layer id="6">
1145                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z5+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1"/>
1146                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z5+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1147                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z5+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1148                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z5+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1149                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z5+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1150             </layer>     <comment>  middle-z-pos. = +332cm; outer_radius = 46cm  </comment>
1151 
1152            <layer id="7">
1153                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z6+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1"/>
1154                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z6+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1155                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z6+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1156                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z6+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1157                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z6+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1158             </layer>     <comment>  middle-z-pos. = +372cm; outer_radius = 46cm  </comment>
1159 
1160         </detector>
1161 
1162 <!-- bwd-tracker -->
1163         <detector id="4" name="SiTrackerBackward" 
1164                          type="Lhe_BP_SiTrackerEndcap2" 
1165                          readout="SiTrackerBackwardHits" 
1166                          reflect="false"
1167                          r="VertexBarrel_r0 - VxBar_Env"
1168                          rmax="CentralBeamPipe_rmax + 1.*cm + 7.5*cm"
1169                          vis="SiTrackerBackwardVis">
1170             <comment>Forward Tracker outside Barrel Support</comment>
1171             <module name="Module1" vis="SiTrackerForwardModulVis">
1172                 <trd x1="36.112*mm" x2="46.635*mm" z="100.114/2*mm" />
1173                 <module_component thickness="0.00052*cm"   material="Copper" />
1174                 <module_component thickness="0.0051*cm"   material="Kapton" />
1175                 <module_component thickness="0.00048*cm" material="Silicon" />
1176                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1177                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1178                 <module_component thickness="0.18*cm" material="Rohacell31_50D" />
1179                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1180                 <module_component thickness="0.0175*cm" material="Epoxy" />
1181                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1182                 <module_component thickness="0.00048*cm" material="Silicon" />
1183                 <module_component thickness="0.0051*cm"   material="Kapton" />
1184                 <module_component thickness="0.00052*cm"   material="Copper" />
1185             </module>
1186             <module name="Module2" vis="SiTrackerForwardModulVis">
1187                 <trd x1="45.245*mm" x2="54.680*mm" z="89.773/2*mm" />
1188                 <module_component thickness="0.00079*cm"   material="Copper" />
1189                 <module_component thickness="0.0078*cm"   material="Kapton" />
1190                 <module_component thickness="0.00048*cm" material="Silicon" />
1191                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1192                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1193                 <module_component thickness="0.18*cm" material="Rohacell31_50D" />
1194                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1195                 <module_component thickness="0.0175*cm" material="Epoxy" />
1196                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1197                 <module_component thickness="0.00048*cm" material="Silicon" />
1198                 <module_component thickness="0.0078*cm"   material="Kapton" />
1199                 <module_component thickness="0.00079*cm"   material="Copper" />
1200             </module>
1201 
1202            <layer id="1">
1203                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z0-32*mm-5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1204                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z0-24*mm-4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1205                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z0-16*mm-4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1206             </layer>     <comment>  middle-z-pos. = -70cm; outer_radius = 29cm  </comment>
1207 
1208            <layer id="2">
1209                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z1-32*mm-5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1210                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z1-24*mm-4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1211                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z1-16*mm-4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1212             </layer>     <comment>  middle-z-pos. = -92.5cm; outer_radius = 38cm  </comment>
1213 
1214            <layer id="3">
1215                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z2-32*mm-5*mm" nmodules="8" dz="-2.5*mm" module="Module1"/>
1216                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z2-24*mm-4*mm" nmodules="14" dz="-2*mm" module="Module1"/>
1217                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z2-16*mm-4*mm" nmodules="20" dz="-2*mm" module="Module1"/>
1218                 <ring r="Ftd_sdisk_ri3" zstart="Btd_disk_z2-8*mm-4*mm"  nmodules="22" dz="-2*mm" module="Module2" phi0="pi/22"/>
1219                 <ring r="Ftd_sdisk_ri4" zstart="Btd_disk_z2-4*mm" nmodules="28" dz="-2*mm" module="Module2" phi0="pi/28"/>
1220             </layer>     <comment>  middle-z-pos. = -132cm; outer_radius = 46cm  </comment>
1221 
1222             <layer id="4">
1223                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z3-32*mm-5*mm" nmodules="8" dz="-2.5*mm" module="Module1" />
1224                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z3-24*mm-4*mm" nmodules="14" dz="-2*mm" module="Module1"/>
1225                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z3-16*mm-4*mm" nmodules="20" dz="-2*mm" module="Module1"/>
1226                 <ring r="Ftd_sdisk_ri3" zstart="Btd_disk_z3-8*mm-4*mm"  nmodules="22" dz="-2*mm" module="Module2" phi0="pi/22"/>
1227                 <ring r="Ftd_sdisk_ri4" zstart="Btd_disk_z3-4*mm" nmodules="28" dz="-2*mm" module="Module2" phi0="pi/28"/>
1228             </layer>     <comment>  middle-z-pos. = -172cm; outer_radius = 46cm  </comment>
1229 
1230             <layer id="5">
1231                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z4-32*mm-5*mm" nmodules="8" dz="-2.5*mm" module="Module1"/>
1232                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z4-24*mm-4*mm" nmodules="14" dz="-2*mm" module="Module1"/>
1233                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z4-16*mm-4*mm" nmodules="20" dz="-2*mm" module="Module1"/>
1234                 <ring r="Ftd_sdisk_ri3" zstart="Btd_disk_z4-8*mm-4*mm"  nmodules="22" dz="-2*mm" module="Module2" phi0="pi/22"/>
1235                 <ring r="Ftd_sdisk_ri4" zstart="Btd_disk_z4-4*mm" nmodules="28" dz="-2*mm" module="Module2" phi0="pi/28"/>
1236             </layer>     <comment>  middle-z-pos. = -202cm; outer_radius = 46cm  </comment>
1237             
1238         </detector>
1239 
1240         <comment>Calorimeters</comment>
1241 <!--ECAL -->
1242         <detector id="5" name="EcalBarrel" 
1243                          type="Lhe_PolyhedraBarrelCalorimeter2" 
1244                          readout="EcalBarrelHits" 
1245                          vis="EcalBarrelVis" 
1246                          reflect="false" 
1247                          gap="0.*cm" 
1248                          calorimeterType="EM_BARREL">
1249             <comment>EM Calorimeter Barrel</comment>
1250             <dimensions numsides="(int) CaloSides" rmin="EcalBarrel_rmin" z_offset="OffsetZ" z="EcalBarrel_zmax" />
1251             <staves vis="EcalBarrelStaveVis"/>
1252 
1253             <layer repeat="1" vis="EcalLayerVis" >
1254                 <slice material = "Kapton"  thickness = "0.03*cm" vis="EcalAbsorberVis"/>
1255                 <slice material = "Polystyrene" thickness = "0.3*cm" sensitive = "yes" limits="cal_limits" vis="EcalSensitiveVis"/>
1256             </layer>   <comment>  -z-pos. = -205cm, +z-pos. = +375cm  inner_radius = 47cm (61cm) l_thick=0.33cm </comment>
1257 
1258             <layer repeat="20" vis="EcalLayerVis" >
1259                 <slice material = "Pb" thickness = "0.4*cm" vis="EcalAbsorberVis"/>
1260                 <slice material = "Polystyrene" thickness = "0.3*cm" sensitive = "yes" limits="cal_limits" vis="EcalSensitiveVis"/>
1261                 <slice material = "Air" thickness = "0.05*cm" vis="InvisibleNoDaughters"/>
1262             </layer>  <comment>  -z-pos. = -205cm, +z-pos. = +375cm  inner_radius = 47cm (+17cm)  l_thick=15.cm </comment>
1263 
1264             <layer repeat="25" vis="EcalLayerVis" >
1265                 <slice material = "Pb" thickness = "0.65*cm" vis="EcalAbsorberVis"/>
1266                 <slice material = "Polystyrene" thickness = "0.3*cm" sensitive = "yes" limits="cal_limits" vis="EcalSensitiveVis"/>
1267                 <slice material = "Air" thickness = "0.05*cm" vis="InvisibleNoDaughters"/>
1268             </layer>   <comment>  -z-pos. = -205cm, +z-pos. = +375cm  inner_radius = 47cm (+23cm) l_thick=25.cm </comment>
1269         </detector>
1270 
1271 
1272 <!--ECALEndCap fwd/bwd -->
1273         <detector id="6" name="EcalEndcap_fwd" 
1274                          type="Lhe_PolyhedraEndcapCalorimeter2" 
1275                          reflect="false" 
1276                          readout="EcalEndcapHits0" 
1277                          vis="EcalPlugVis"
1278                          calorimeterType="EM_ENDCAP">
1279         <comment> EM Calorimeter Endcaps </comment>
1280             <dimensions numsides="(int) CaloSides" zmin="EcalEndcap_zmin_fwd+2*cm" rmin="EcalEndcap_rmin" rmax="EcalBarrel_rmax" />
1281 
1282             <layer repeat="1">      <comment> 0.1*cm  </comment>
1283                  <slice material = "Silicon" thickness = "0.032*cm" sensitive="yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1284                  <slice material = "TungstenDens25"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1285                  <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1286                  <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>     
1287             </layer>
1288 
1289             <layer repeat="52">     <comment>  0.375*cm </comment>
1290                   <slice material = "TungstenDens25" thickness = "0.25*cm" />
1291                   <slice material = "Air"     thickness = "0.025*cm" vis="InvisibleNoDaughters"/>
1292                   <slice material = "Silicon" thickness = "0.032*cm" sensitive="yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1293                   <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1294                   <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1295                   <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>          
1296             </layer>
1297 
1298             <layer repeat="32">     <comment>  0.625*cm </comment>
1299                   <slice material = "TungstenDens25" thickness = "0.5*cm" />
1300                   <slice material = "Air"     thickness = "0.025*cm" vis="InvisibleNoDaughters"/>
1301                   <slice material = "Silicon" thickness = "0.032*cm" sensitive="yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1302                   <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1303                   <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1304                   <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1305             </layer>
1306             
1307         </detector>
1308 
1309         <detector id="7" name="EcalEndcap_bwd" 
1310                          type="Lhe_PolyhedraEndcapCalorimeter2" 
1311                          reflect="false" 
1312                          readout="EcalEndcapHits1" 
1313                          vis="EcalPlugVis" 
1314                          calorimeterType="EM_ENDCAP">
1315             <comment>EM Calorimeter Endcaps</comment>
1316             <dimensions numsides="(int) CaloSides" zmin="EcalEndcap_zmin_bwd-3.*cm" rmin="EcalEndcap_rmin" rmax="EcalBarrel_rmax" />
1317 
1318             <layer repeat="32">     <comment>  0.625*cm x 33  = 20.625*cm </comment>
1319                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1320                 <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1321                 <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1322                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1323                 <slice material = "Air"     thickness = "0.025*cm" vis="InvisibleNoDaughters"/>
1324                 <slice material = "Pb" thickness = "0.5*cm" vis="EcalAbsorberVis"/>
1325             </layer>    
1326 
1327             <layer repeat="52">     <comment>  0.375*cm x 53 = 19.875</comment>
1328                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1329                 <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1330                 <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1331                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1332                 <slice material = "Air"     thickness = "0.025*cm" vis="InvisibleNoDaughters"/>
1333                 <slice material = "Pb" thickness = "0.25*cm" vis="EcalAbsorberVis"/>
1334             </layer>
1335 
1336             <layer repeat="1">      <comment> 0.1*cm  </comment>
1337                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1338                 <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1339                 <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1340                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1341             </layer>
1342         </detector>
1343 
1344 <!--HCAL -->
1345         <detector id="8" name="HcalBarrel" 
1346                          type="Lhe_PolyhedraBarrelCalorimeter2" 
1347                          readout="HcalBarrelHits" vis="HcalBarrelVis" 
1348                          calorimeterType="HAD_BARREL" 
1349                          gap="0.*cm" 
1350                          material="Steel235">
1351             <comment>Hadron Calorimeter Barrel</comment>
1352             <dimensions numsides="(int) CaloSides" rmin="HcalBarrel_rmin" z="HcalBarrel_length" z_offset="OffsetZ"/>
1353             <staves vis="HcalBarrelStavesVis"/>
1354             <layer repeat="(int) HcalBarrel_layers">
1355                 <slice material = "Steel235" thickness = "1.00*cm" vis="HcalAbsorberVis"/>
1356                 <slice material = "Polystyrene" thickness = "0.50*cm" sensitive = "yes" limits="cal_limits" vis="HcalBarrelSensorVis"/>
1357                 <slice material = "Air" thickness = "0.15*cm" vis="InvisibleNoDaughters"/>
1358             </layer>
1359         </detector>
1360 
1361         <detector id="9" name="HcalEndcap_fwd" 
1362                          type="Lhe_PolyhedraEndcapCalorimeter2" 
1363                          readout="HcalEndcapHits0" 
1364                          reflect="false" 
1365                          vis="HcalEndcapVis" 
1366                          calorimeterType="HAD_ENDCAP">
1367             <comment>Hadron Calorimeter Endcaps</comment>
1368             <staves vis="HcalEndcapStavesVis"/>
1369             <dimensions numsides="(int) CaloSides" zmin="EcalEndcap_zmin_fwd" rmin="HcalBarrel_rmin"  rmax="HcalEndcap_rmax" />
1370             <layer repeat="(int) HcalEndcap_fwd_layers">
1371                 <slice material = "Steel235" thickness = "1.00*cm" vis="HcalAbsorberVis"/>
1372                 <slice material = "Polystyrene" thickness = "0.50*cm" sensitive = "yes" limits="cal_limits" vis="HcalSensorVis"/>
1373                 <slice material = "Air" thickness = "0.15*cm" vis="InvisibleNoDaughters"/>
1374             </layer>
1375         </detector>
1376 
1377         <detector id="10" name="HcalEndcap_bwd" 
1378                            type="Lhe_PolyhedraEndcapCalorimeter2" 
1379                            readout="HcalEndcapHits1" 
1380                            reflect="false" 
1381                            vis="HcalEndcapVis" 
1382                            calorimeterType="HAD_ENDCAP">
1383             <staves vis="HcalEndcapStavesVis"/>
1384             <comment>Hadron Calorimeter Endcaps</comment>
1385             <dimensions numsides="(int) CaloSides" zmin="EcalBarrel_zmin-HcalEndcap_thickness_bwd-3.*cm" rmin="HcalBarrel_rmin"  rmax="HcalEndcap_rmax" />
1386             <layer repeat="(int) HcalEndcap_bwd_layers">
1387                 <slice material = "Steel235" thickness = "1.00*cm" vis="HcalAbsorberVis"/>
1388                 <slice material = "Polystyrene" thickness = "0.50*cm" sensitive = "yes" limits="cal_limits" vis="HcalSensorVis"/>
1389                 <slice material = "Air" thickness = "0.15*cm" vis="InvisibleNoDaughters"/>
1390             </layer>
1391         </detector>
1392 
1393         <detector id="11" name="HcalPlug_fwd" 
1394                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1395                           readout="HcalPlugHits01" 
1396                           reflect="false" 
1397                           vis="HcalPlugVis">
1398             <comment>Hadron Calorimeter Plug</comment>
1399             <dimensions numsides="(int) CaloSides" zmin="EcalEndcap_zmax_fwd+2.*cm" rmin="VertexBarrel_r2" rmax="SolenoidBarrelConductorInnerRadius1-10.*cm" />
1400             <layer repeat="(int) HcalPlug_fwd_layers">
1401                 <slice material = "TungstenDens24" thickness = "1.0*cm" vis="HcalAbsorberVis"/>
1402                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="HcalSensorVis"/>
1403                 <slice material = "Copper"  thickness = "0.005*cm" vis="HcalAbsorberVis"/>
1404                 <slice material = "Kapton"  thickness = "0.030*cm" vis="HcalAbsorberVis"/>
1405                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1406             </layer>
1407         </detector>
1408 
1409         <detector id="13" name="HcalPlug_bwd" 
1410                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1411                           readout="HcalPlugHits11" 
1412                           reflect="false" 
1413                           vis="HcalPlugVis">
1414             <comment>Hadron Calorimeter Plug</comment>
1415             <dimensions numsides="(int) CaloSides" zmin="HcalPlug_zmin_bwd-4.*cm" rmin="VertexBarrel_r2" rmax="SolenoidBarrelConductorInnerRadius1-10.*cm" />
1416             <layer repeat="(int) HcalPlug_bwd_layers">
1417                 <slice material = "Cu" thickness = "1.5*cm" vis="HcalAbsorberVis"/>
1418                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="HcalSensorVis"/>
1419                 <slice material = "Copper"  thickness = "0.005*cm" vis="HcalAbsorberVis"/>
1420                 <slice material = "Kapton"  thickness = "0.030*cm" vis="HcalAbsorberVis"/>
1421                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1422             </layer>
1423         </detector>
1424 
1425 <!-- Muon -->
1426          <detector id="15" name="MuonBarrel" 
1427                            type="Lhe_PolyhedraBarrelCalorimeter2" 
1428                            readout="MuonBarrelHits" 
1429                            reflect="false" 
1430                            vis="MuonBarrelVis" 
1431                            calorimeterType="MUON_BARREL" 
1432                            gap="0.*cm" 
1433                            material="Steel235">
1434             <comment>Muon Calorimeter Barrel</comment>
1435             <dimensions numsides="(int) MuonSides" rmin="((HcalEndcap_rmax+2.0*cm) / ( cos(pi/CaloSides) ) )" z="MuonBarrel_length" z_offset="OffsetZ*1.2"/>
1436             <staves vis="MuonBarrelStavesVis"/>
1437             <comment> Start with an active layer, followed by a thin 5.0cm absorber layer. The second active layer is followed by a thick 20.0cm steel layer to take the forces. </comment>
1438             <layer repeat="1" vis="MuonBarrelLayerVis">
1439                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1440                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1441                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1442                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1443                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1444                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1445                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1446                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1447                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1448                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1449                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1450                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1451                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1452                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1453                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1454                 <slice material="Iron" thickness="5.0*cm" vis="MuonBarrelAbsorberVis"/>
1455            </layer>
1456            <layer repeat="1" vis="MuonBarrelLayerVis">
1457                 <slice material="Aluminum" thickness="0.1*cm" />
1458                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1459                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1460                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1461                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1462                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1463                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1464                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1465                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1466                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1467                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1468                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1469                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1470                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1471                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1472                 <slice material="Iron" thickness="20.0*cm" vis="MuonBarrelAbsorberVis"/>
1473             </layer>
1474             <layer repeat="(int) MuonBarrel_layers" vis="MuonBarrelLayerVis">
1475                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1476                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1477                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1478                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1479                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1480                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1481                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1482                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1483                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1484                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1485                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1486                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1487                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1488                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1489                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1490                 <slice material="Iron" thickness="10.0*cm" vis="MuonBarrelAbsorberVis"/>
1491             </layer>
1492             <comment> The last Iron layer is again 20.0cm to take the forces. </comment>
1493             <layer repeat="1" vis="MuonBarrelLayerVis">
1494                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1495                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1496                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1497                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1498                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1499                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1500                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1501                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1502                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1503                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1504                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1505                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1506                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1507                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1508                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1509                 <slice material="Iron" thickness="20.0*cm" vis="MuonBarrelAbsorberVis"/>
1510             </layer>
1511         </detector>
1512 
1513         <detector id="16" name="MuonEndcap_fwd1" 
1514                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1515                           readout="MuonEndcapHits01" 
1516                           reflect="false" 
1517                           vis="MuonEndcapVis" 
1518                           calorimeterType="MUON_ENDCAP">
1519             <comment>Muon Calorimeter Endcaps</comment>
1520            <dimensions numsides="(int) MuonSides" zmin="MuonEndcap_zmin_fwd" rmin="VertexBarrel_r3+5*cm" rmax="MuonEndcap_rmax0" />
1521             <layer repeat="(int) MuonEndcap_layers" vis="MuonEndcapLayerVis">
1522                 <slice material="Iron" thickness="10.0*cm"  vis="MuonEndcapAbsorberVis"/>
1523                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1524                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1525                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1526                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1527                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1528                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1529                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1530                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1531                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1532                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1533                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1534                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1535                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1536                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1537                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1538             </layer>    <comment> layer thickness = 10+4cm </comment>
1539         </detector>
1540 
1541         <detector id="17" name="MuonEndcap_fwd2" 
1542                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1543                           readout="MuonEndcapHits02" 
1544                           reflect="fasle" 
1545                           vis="MuonEndcapVis" 
1546                           calorimeterType="MUON_ENDCAP">
1547             <comment>Muon Calorimeter Endcaps</comment>
1548             <dimensions numsides="(int) MuonSides" zmin="MuonEndcap_zmin_fwd" rmin="HcalBarrel_rmin" rmax="MuonEndcap_rmax1" />
1549             <layer repeat="(int) MuonEndcap_layers" vis="MuonEndcapLayerVis">
1550                 <slice material="Iron" thickness="10.0*cm"  vis="MuonEndcapAbsorberVis"/>
1551                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1552                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1553                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1554                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1555                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1556                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1557                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1558                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1559                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1560                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1561                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1562                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1563                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1564                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1565                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>>
1566             </layer>
1567         </detector>
1568 
1569         <detector id="18" name="MuonEndcap_bwd1" 
1570                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1571                           readout="MuonEndcapHits11" 
1572                           reflect="false" 
1573                           vis="MuonEndcapVis" 
1574                           calorimeterType="MUON_ENDCAP">
1575             <comment>Muon Calorimeter Endcaps</comment>
1576             <dimensions numsides="(int) MuonSides" zmin="MuonEndcap_zmin_bwd+14*cm" rmin="VertexBarrel_r3+5*cm" rmax="MuonEndcap_rmax0" />
1577             <layer repeat="(int) MuonEndcap_layers" vis="MuonEndcapLayerVis">
1578                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1579                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1580                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1581                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1582                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1583                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1584                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1585                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1586                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1587                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1588                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1589                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1590                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1591                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1592                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1593                 <slice material="Iron" thickness="10.0*cm"  vis="MuonEndcapAbsorberVis"/>
1594             </layer>
1595         </detector>
1596 
1597         <detector id="19" name="MuonEndcap_bwd2" 
1598                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1599                           readout="MuonEndcapHits12" 
1600                           reflect="false" 
1601                           vis="MuonEndcapVis" 
1602                           calorimeterType="MUON_ENDCAP">
1603             <comment>Muon Calorimeter Endcaps</comment>
1604             <dimensions numsides="(int) MuonSides" zmin="MuonEndcap_zmin_bwd+14.*cm" rmin="HcalBarrel_rmin" rmax="MuonEndcap_rmax1" />
1605             <layer repeat="(int) MuonEndcap_layers" vis="MuonEndcapLayerVis">
1606                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1607                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1608                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1609                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1610                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1611                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1612                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1613                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1614                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1615                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1616                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1617                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1618                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1619                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1620                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1621                 <slice material="Iron" thickness="10.0*cm"  vis="MuonEndcapAbsorberVis"/>
1622             </layer>
1623         </detector>        
1624  
1625 <!-- Beampipe circ-elliptical - SR fan
1626           
1627        <comment> Beampipe </comment>
1628        <comment> Central Be Beampipe</comment>
1629        <detector name="Beampipe" type="Lhe_BeamPipe_Central" insideTrackingVolume="true"  vis="BeamPipeVis" z_offset="OffsetZ*2." >
1630        <material name="Beryllium"/>
1631         <zplane rmin="CentralBeamPipe_rmin" rmax="CentralEllBeamPipe_rmax" thickness="CentralBeamPipe_thickness" z="SolenoidCoilOuterZ1/1.4" />
1632        </detector>
1633    
1634       <comment>Vacuum inside beampipe</comment>
1635        <detector name="BeamPipeVacuum" type="Lhe_BeamPipe_Central" insideTrackingVolume="true" vis="InvisibleNoDaughters" z_offset="OffsetZ*2.">
1636        <material name="Vacuum"/>
1637             <zplane rmin="0.*cm" rmax="CentralBeamPipe_rmin" thickness="CentralBeamPipe_rmin" z="SolenoidCoilOuterZ1/1.4" />
1638        </detector>
1639 -->
1640 
1641 <!-- circular beam pipe  for optimal acceptance simulation -->
1642 
1643          <comment>Beampipe - has to be modified - circular-elliptical</comment>
1644          <detector name="Beampipe" 
1645                    type="Lhe_PolyconeSupport" 
1646                    insideTrackingVolume="true"  
1647                    z_offset="OffsetZ" 
1648                    vis="BeamPipeVis">
1649            <comment>Central Be Beampipe</comment>
1650             <material name="Beryllium"/>
1651             <zplane rmin="CentralBeamPipe_rmin" rmax="CentralBeamPipe_rmax" z="-CentralBeamPipe_zmax"/>
1652             <zplane rmin="CentralBeamPipe_rmin" rmax="CentralBeamPipe_rmax" z="CentralBeamPipe_zmax" />
1653         </detector>
1654 
1655         <detector name="ForwardVacuum" type="Lhe_PolyconeSupport" insideTrackingVolume="false" vis="InvisibleNoDaughters">
1656             <material name="Vacuum"/>
1657             <zplane rmin="0.*cm"
1658                     rmax="CentralBeamPipe_rmin"  
1659                     z="EcalEndcap_zmin_fwd + 1.*cm" />
1660             <zplane rmin="0.*cm"
1661                     rmax="CentralBeamPipe_rmin"
1662                     z="EcalEndcap_zmin_bwd - 1.*cm" />
1663         </detector>
1664 
1665         <detector name="BackwardVacuum" type="Lhe_PolyconeSupport" insideTrackingVolume="false" vis="InvisibleNoDaughters">
1666             <material name="Vacuum"/>
1667             <zplane rmin="0.*cm"
1668                     rmax="CentralBeamPipe_rmax - BeamPipe_thickness"
1669                     z="- (tracking_region_zmax + 0.01*cm)" />
1670             <zplane rmin="0.*cm"
1671                     rmax="CentralBeamPipe_rmax - BeamPipe_thickness"
1672                     z="- BeamPipe_zmax" />
1673             <zplane rmin="0.*cm"
1674                     rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
1675                     z="- (LumiCal_zmin - 2*BeamPipe_endThickness)" />
1676             <zplane rmin="0.*cm"
1677                     rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
1678                     z="- (LumiCal_zmin - BeamPipe_endThickness)" />
1679             <zplane rmin="0.*cm"
1680                     rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
1681                     z="- (ForwardMask_zmin - BeamPipe_endThickness)" />
1682         </detector>
1683 
1684 <!--Solenoid -->
1685       <comment>Solenoid/Dipole</comment>
1686 
1687        <detector name="SolenoidCoilBarrel1" 
1688                  type="Lhe_MultiLayerTracker" 
1689                  insideTrackingVolume="false">
1690 
1691           <layer id="1" 
1692             z_offset="OffsetZ*1.2"  
1693             inner_r="SolenoidBarrelInnerRadius1" 
1694             outer_z="MuonBarrel_length*0.5"  
1695             vis="SolenoidBarrelSupportLayerVis">
1696                 <slice material="Aluminum" thickness="SolenoidBarrelInnerCryostatThickness1" />
1697                 <slice material="Vacuum"  thickness="SolenoidBarrelInnerAirgapThickness1" />
1698                 <slice material="Aluminum" thickness="SolenoidBarrelInnerCryostatThickness1" />
1699           </layer>
1700 
1701           <layer id="2" 
1702             z_offset="OffsetZ"
1703             inner_r="SolenoidBarrelConductorInnerRadius1+2*cm" 
1704             outer_z="SolenoidCoilOuterZ1" 
1705             vis="SolenoidBarrelLayerVis">
1706                 <slice material="Aluminum" thickness="SolenoidBarrelAlConductorThickness1" />
1707                 <slice material="Aluminum" thickness="SolenoidBarrelQuenchbackThickness1" />
1708           </layer>
1709           <layer id="3" 
1710             z_offset="OffsetZ*1.2"
1711             inner_r="SolenoidBarrelOuterCryostatInnerRadius1" 
1712             outer_z="MuonBarrel_length*0.5" 
1713             vis="SolenoidDipoleBarrelLayerVis">
1714                 <slice material="Aluminum" thickness="DipoleBarrelAlConductorThickness" />
1715                 <slice material="Aluminum" thickness="SolenoidBarrelInnerCryostatThickness1" />
1716                 <slice material="Vacuum"   thickness="SolenoidBarrelOuterAirgapThickness1" />
1717                 <slice material="Aluminum" thickness="SolenoidBarrelOuterCryostatThickness1" />
1718            </layer>
1719         </detector>
1720 
1721     </detectors>
1722 
1723     <readouts>
1724         <readout name="SiVertexBarrelHits">
1725             <id>system:0,barrel:3,layer:4,module:14,sensor:2,side:32:-2,strip:24</id>
1726         </readout>
1727         <readout name="SiTrackerBarrelHits">
1728             <id>system:0,barrel:3,layer:5,module:14,sensor:2,side:32:-2,strip:20</id>
1729         </readout>
1730         <readout name="SiTrackerForwardHits">
1731             <id>system:0,barrel:3,layer:7,module:12,sensor:1,side:32:-2,strip:28</id>
1732         </readout>        
1733         <readout name="SiTrackerBackwardHits">
1734             <id>system:0,barrel:3,layer:7,module:12,sensor:1,side:32:-2,strip:28</id>
1735         </readout>
1736         <readout name="EcalBarrelHits">
1737             <segmentation type="CartesianGridXY" grid_size_x="3.5*cm" grid_size_y="3.5*cm" />
1738             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1739         </readout>
1740         <readout name="EcalEndcapHits0">
1741             <segmentation type="CartesianGridXY" grid_size_x="3.5*cm" grid_size_y="3.5*cm" />
1742             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1743         </readout>
1744         <readout name="EcalEndcapHits1">
1745             <segmentation type="CartesianGridXY" grid_size_x="3.5*cm" grid_size_y="3.5*cm" />
1746             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1747         </readout>
1748         <readout name="HcalBarrelHits">
1749             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1750             <id>system:0,barrel:3,module:6,layer:8,slice:5,x:32:-16,y:-16</id>
1751         </readout>
1752         <readout name="HcalEndcapHits0">
1753             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1754             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1755         </readout>
1756         <readout name="HcalEndcapHits1">
1757             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1758             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1759         </readout>
1760         <readout name="HcalPlugHits01">
1761             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1762             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1763         </readout>
1764         <readout name="HcalPlugHits02">
1765             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1766             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1767         </readout>
1768         <readout name="HcalPlugHits11">
1769             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1770             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1771         </readout>
1772         <readout name="HcalPlugHits12">
1773             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1774             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1775         </readout>
1776         <readout name="MuonBarrelHits">
1777             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1778             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1779         </readout>
1780         <readout name="MuonEndcapHits01">
1781             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1782             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1783         </readout>
1784         <readout name="MuonEndcapHits02">
1785             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1786             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1787         </readout>
1788         <readout name="MuonEndcapHits11">
1789             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1790             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1791         </readout>
1792         <readout name="MuonEndcapHits12">
1793             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1794             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1795         </readout>
1796      </readouts>
1797 
1798 <!--  
1799         <plugin name="TestSurfaces"> <argument value="SiTrackerBackward"/> </plugin>
1800 -->
1801 <!-- 
1802         <plugins>
1803 
1804           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1805               <argument value="SiVertexBarrel"/> <argument value="dimension=1"/> 
1806           </plugin>
1807  
1808           <plugin name="Lhe_SurfaceExamplePlugin">
1809              <argument value="SiVertexBarrel"/>
1810              <argument value="aa=1*mm"/>
1811              <argument value="bb=2*cm"/>
1812              <argument value="cc=3*m"/>
1813           </plugin>
1814 
1815           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1816               <argument value="SiTrackerBarrel"/> <argument value="dimension=1"/> </plugin>
1817 
1818           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="SiTrackerForward"/> </plugin>
1819           <plugin name="Lhe_SiTrackerEndcapSurfacePlugin"> <argument value="SiTrackerForward"/> </plugin>
1820 
1821           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="SiTrackerBackward"/> </plugin>
1822           <plugin name="Lhe_SiTrackerEndcapSurfacePlugin"> <argument value="SiTrackerBackward"/> </plugin>
1823 
1824           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="EcalBarrel"/> </plugin>
1825           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="EcalBarrel"/> </plugin>
1826           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1827               <argument value="EcalBarrel"/> <argument value="dimension=1"/> </plugin>
1828 
1829           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="EcalEndcap_fwd"/> </plugin>
1830           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="EcalEndcap_fwd"/> </plugin>
1831           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="EcalEndcap_fwd"/> </plugin>
1832 
1833           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="EcalEndcap_bwd"/> </plugin>
1834           <plugin name="Lhe_LayeringExtensionPlugin">    <argument value="EcalEndcap_bwd"/> </plugin>
1835           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="EcalEndcap_bwd"/> </plugin>
1836 
1837           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1838               <argument value="HcalBarrel"/> <argument value="dimension=1"/> </plugin>
1839 
1840           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="HcalEndcap_fwd"/> </plugin>
1841           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="HcalEndcap_fwd"/> </plugin>
1842           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="HcalEndcap_fwd"/> </plugin>
1843 
1844           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="HcalEndcap_bwd"/> </plugin>
1845           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="HcalEndcap_bwd"/> </plugin>
1846           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="HcalEndcap_bwd"/> </plugin>
1847 
1848           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="HcalPlug_fwd"/> </plugin>
1849           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="HcalPlug_fwd"/> </plugin>
1850           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="HcalPlug_fwd"/> </plugin>         
1851 
1852           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="HcalPlug_bwd"/> </plugin>
1853           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="HcalPlug_bwd"/> </plugin>
1854           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="HcalPlug_bwd"/> </plugin>
1855 
1856           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1857               <argument value="MuonBarrel"/> <argument value="dimension=1"/> </plugin>
1858 
1859           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="MuonEndcap_fwd1"/> </plugin>
1860           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="MuonEndcap_fwd1"/> </plugin>
1861           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="MuonEndcap_fwd1"/> </plugin>
1862 
1863           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="MuonEndcap_fwd2"/> </plugin>
1864           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="MuonEndcap_fwd2"/> </plugin>
1865           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="MuonEndcap_fwd2"/> </plugin>
1866 
1867           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="MuonEndcap_bwd1"/> </plugin>
1868           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="MuonEndcap_bwd1"/> </plugin>
1869           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="MuonEndcap_bwd1"/> </plugin>
1870 
1871           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="MuonEndcap_bwd2"/> </plugin>
1872           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="MuonEndcap_bwd2"/> </plugin>
1873           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="MuonEndcap_bwd2"/> </plugin>
1874 
1875         </plugins>
1876 -->
1877 
1878     <fields>
1879         <field name="GlobalSolenoid1" type="solenoid"
1880           inner_field="3.5*tesla"
1881           outer_field="-1.5*tesla"
1882           zmax="SolenoidCoilOuterZ1"
1883           outer_radius="world_side">
1884         </field>
1885        <field name="MachineDipole+" type="DipoleMagnet"
1886          rmax="DipoleBarrelAlConductorRadius"
1887          zmin="1*cm"
1888          zmax="SolenoidCoilOuterZ1">
1889         <dipole_coeff>0.4*tesla</dipole_coeff>
1890          <dipole_coeff>0.1*tesla/pow(cm,1)</dipole_coeff>
1891          <dipole_coeff>0.01*tesla/pow(cm,2)</dipole_coeff>
1892        </field>
1893        <field name="MachineDipole-" type="DipoleMagnet"
1894          rmax="DipoleBarrelAlConductorRadius"
1895          zmin="-SolenoidCoilOuterZ1"
1896          zmax="-1*cm">
1897         <dipole_coeff>-0.4*tesla</dipole_coeff>
1898          <dipole_coeff>0.1*tesla/pow(cm,1)</dipole_coeff>
1899          <dipole_coeff>0.01*tesla/pow(cm,2)</dipole_coeff>
1900        </field>
1901     </fields>
1902 
1903 </lccdd>