Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/LHeD/compact/compact_Lhe_dip_sol_circ.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="${DD4hepINSTALL}/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_SiTrackerBarrel" 
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.2*cm" 
0535                   outer_r="VertexBarrel_r0 + VxBar_Env+0.2*cm" 
0536                   z_length="VertexBarrel_zmax*2"/>
0537                 <rphi_layout
0538                   phi_tilt="0.52*rad"
0539                   nphi="20"
0540                   phi0="0.2618*rad"
0541                   rc="VertexBarrel_r0 + 0*mm"
0542                   dr="0.*mm"/>
0543                 <z_layout dr="0.0*mm" z0="0*mm" nz="14"/>
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*2"/>
0550                 <rphi_layout
0551                   phi_tilt="0.54*rad"
0552                   nphi="36"
0553                   phi0="0.2618*rad"
0554                   rc="VertexBarrel_r1 + 0*mm"
0555                   dr="0.*mm"/>
0556                 <z_layout dr="0.0" z0="0.0" nz="14"/>
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*2"/>
0563                 <rphi_layout
0564                   phi_tilt="0.56*rad"
0565                   nphi="50"
0566                   phi0="0.0"
0567                   rc="VertexBarrel_r2 + 0*mm"
0568                   dr="0.*mm"/>
0569                 <z_layout dr="0.0" z0="0.0" 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*2"/>
0576                 <rphi_layout
0577                   phi_tilt="0.56*rad"
0578                   nphi="60"
0579                   phi0="0.01745*rad"
0580                   rc="VertexBarrel_r3 + 0*mm"
0581                   dr="0.*mm"/>
0582                   <z_layout dr="0.0" z0="0.0" nz="1"/>
0583             </layer>
0584 
0585         </detector>
0586 
0587        <comment>Vertex Detector Supports </comment>
0588         <detector name="VertexBarrelSupports" 
0589                   type="Lhe_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/2." 
0596               outer_z = "VertexBarrel_zmax + 0.5*cm" 
0597               outer_r = "CentralBeamPipe_rmax + VxBar_Env + 0.2*cm" >
0598               <slice material = "CarbonFiber" thickness ="VXD_CF_support"/>
0599             </layer>
0600 
0601            <layer id="2" 
0602              inner_r = "VertexBarrel_r3 + 2*VxBar_Env + 0.4*cm" 
0603              outer_z = "VertexBarrel_zmax + 0.5*cm" 
0604              outer_r = "VertexBarrel_r3 + 2*VxBar_Env + 0.8*cm" >
0605              <slice material = "CarbonFiber" thickness ="VXD_CF_support"/>
0606             </layer>     
0607 
0608         </detector>
0609 
0610         <detector name="VertexEndSupports" 
0611                   type="Lhe_DiskTracker" 
0612                   reflect="true" 
0613                   vis="SiVertexBarrelROVis">        
0614             <layer id="3" 
0615               inner_r = "VertexBarrel_r0 + 0.4*cm" 
0616               outer_r = "VertexBarrel_r0 + 1.6*cm" 
0617               inner_z = "VertexBarrel_zmax + 1.0*cm" >
0618               <slice material = "CarbonFiber" thickness = "VXD_CF_support" />
0619             </layer>
0620             <layer id="4" 
0621               inner_r = "VertexBarrel_r3 + 2*VxBar_Env - 1.*cm" 
0622               outer_r = "VertexBarrel_r3 + 2*VxBar_Env + 0.2*cm" 
0623               inner_z = "VertexBarrel_zmax + 1.0*cm" >
0624               <slice material = "CarbonFiber" thickness = "VXD_CF_support" />
0625             </layer>
0626         </detector>
0627 
0628 <!-- VertexReadout -->
0629         <detector name="VertexReadout" 
0630                   type="Lhe_DiskTracker" 
0631                   reflect="true"
0632                   sensitive="false" 
0633                   vis="SiVertexBarrelROVis">
0634             <comment>Readout and Cabling</comment>
0635 
0636             <layer id="5"
0637               inner_r = "VertexBG10_r0_in + 0.4*cm" 
0638               outer_r = "VertexBG10_r0_ou + 1.6*cm"  
0639               inner_z = "VertexBarrel_zmax + 2.*cm" 
0640               rmax    = "CentralBeamPipe_rmax + 12.*cm" vis="SiVertexBarrelROVis">
0641               <slice material = "G10" thickness ="G10thickness"/>
0642             </layer>
0643 
0644             <layer id="6"
0645               inner_r = "VertexBG10_r1_in + 0.4*cm" 
0646               outer_r = "VertexBG10_r1_ou + 1.6*cm" 
0647               inner_z = "VertexBarrel_zmax + 2.*cm" vis="SiVertexBarrelROVis">
0648               <slice material = "G10" thickness ="G10thickness"/>
0649             </layer>
0650 
0651             <layer id="7" 
0652               inner_r = "VertexBG10_r2_in + 0.4*cm" 
0653               outer_r = "VertexBG10_r2_ou + 1.6*cm"  
0654               inner_z = "VertexBarrel_zmax + 2.*cm"  vis="SiVertexBarrelROVis">
0655               <slice material = "G10" thickness ="G10thickness"/>
0656             </layer>
0657 
0658             <layer id="8" 
0659               inner_r = "VertexBG10_r3_in + 0.4*cm" 
0660               outer_r = "VertexBG10_r3_ou + 1.6*cm"  
0661               inner_z = "VertexBarrel_zmax + 2.*cm" vis="SiVertexBarrelROVis">
0662               <slice material = "G10" thickness ="G10thickness"/>
0663             </layer>
0664 
0665             <layer id="9" 
0666               inner_r = "VertexCo_r0_in + 0.4*cm" 
0667               outer_r = "VertexCo_r0_ou + 1.6*cm"  
0668               inner_z = "VertexBarrel_zmax + 4.*cm" vis="SiVertexBarrelROVis">
0669               <slice material = "Copper" thickness ="0.0057*cm"/>
0670             </layer>
0671 
0672             <layer id="10" 
0673               inner_r = "VertexCo_r1_in + 0.4*cm" 
0674               outer_r = "VertexCo_r1_ou + 1.6*cm"  
0675               inner_z = "VertexBarrel_zmax + 4.0*cm" vis="SiVertexBarrelROVis">
0676               <slice material = "Copper" thickness ="0.0031*cm"/>
0677             </layer>
0678 
0679             <layer id="11" 
0680               inner_r = "VertexCo_r2_in + 0.4*cm" 
0681               outer_r = "VertexCo_r2_ou + 1.6*cm"  
0682               inner_z = "VertexBarrel_zmax + 4.0*cm" vis="SiVertexBarrelROVis">
0683               <slice material = "Copper" thickness ="0.0016*cm"/>
0684             </layer>
0685 
0686             <layer id="12" 
0687               inner_r = "VertexCo_r3_in + 0.4*cm" 
0688               outer_r = "VertexCo_r3_ou + 1.6*cm"  
0689               inner_z = "VertexBarrel_zmax + 4.0*cm" vis="SiVertexBarrelROVis">
0690               <slice material = "Copper" thickness ="0.0007*cm"/>
0691             </layer>
0692         </detector>
0693 
0694 <!--SiTrackerBarrel -->
0695         <detector id="2" name="SiTrackerBarrel" 
0696                          type="Lhe_SiTrackerBarrel" 
0697                          insideTrackingVolume="true" 
0698                          readout="SiTrackerBarrelHits" 
0699                          region="SiTrackerBarrelRegion" 
0700                          limits="SiTrackerBarrelRegionLimitSet">
0701             <comment>Outer Tracker Barrel</comment>
0702 
0703             <module name="SiTrackerModule_Layer0"   vis="SiTrackerBarrelModuleVis">
0704                 <module_envelope 
0705                   width="SiMod_w0" length="SiMod_l0" thickness="0.3*cm"/>
0706                 <module_component 
0707                   width="SiMod_w0" length="SiMod_l0" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false">
0708                     <position z="-0.14*cm" />
0709                 </module_component>
0710                 <module_component 
0711                   width="SiMod_w0" length="SiMod_l0" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false">
0712                     <position z="-0.122*cm" />
0713                 </module_component>
0714                 <module_component 
0715                   width="SiMod_w0" length="SiMod_l0" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0716                     <position z="-0.024*cm" />
0717                 </module_component>
0718                 <module_component 
0719                   width="SiMod_w0" length="SiMod_l0" thickness="0.0175*cm" material="Epoxy" sensitive="false" vis="false" >
0720                     <position z="0.07475*cm" />
0721                 </module_component>
0722                 <module_component 
0723                   width="SiMod_w0" length="SiMod_l0" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0724                     <position z="0.0915*cm" />
0725                 </module_component>
0726                 <module_component 
0727                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0728                     <position z="0.1145*cm"/>
0729                 </module_component>
0730                 <module_component 
0731                   width="SiMod_w0" length="SiMod_l0" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0732                     <position z="0.12974*cm"/>
0733                 </module_component>
0734                 <module_component 
0735                   width="SiMod_w0" length="SiMod_l0" thickness="0.0038*cm" material="Kapton" sensitive="false" vis="false" >
0736                     <position z="0.1375*cm"/>
0737                 </module_component>
0738                 <module_component 
0739                   width="SiMod_w0" length="SiMod_l0" thickness="0.00038*cm" material="Copper" sensitive="false" vis="false">
0740                     <position z="0.146*cm"/>
0741                 </module_component>
0742             </module>
0743 
0744             <module name="SiTrackerModule_Layer1" vis="SiTrackerBarrelModuleVis">
0745                 <module_envelope 
0746                   width="SiMod_w1" length="SiMod_l1" thickness="0.3*cm"/>
0747                 <module_component 
0748                   width="SiMod_w1" length="SiMod_l1" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false">
0749                     <position z="-0.14*cm" />
0750                 </module_component>
0751                 <module_component 
0752                   width="SiMod_w1" length="SiMod_l1" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0753                     <position z="-0.122*cm" />
0754                 </module_component>
0755                 <module_component 
0756                   width="SiMod_w1" length="SiMod_l1" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0757                     <position z="-0.024*cm" />
0758                 </module_component>
0759                 <module_component 
0760                   width="SiMod_w1" length="SiMod_l1" thickness="0.0175*cm"  material="Epoxy" sensitive="false" vis="false">
0761                     <position z="0.07475*cm" />
0762                 </module_component>
0763                 <module_component                 
0764                   width="SiMod_w1" length="SiMod_l1" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0765                     <position z="0.0915*cm" />
0766                 </module_component>                
0767                 <module_component 
0768                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0769                     <position z="0.1145*cm"/>
0770                 </module_component>                
0771                 <module_component 
0772                   width="SiMod_w1" length="SiMod_l1" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0773                     <position z="0.12974*cm"/>
0774                 </module_component>                
0775                 <module_component 
0776                   width="SiMod_w1" length="SiMod_l1" thickness="0.0051*cm" material="Kapton" sensitive="false" vis="false" >
0777                     <position z="0.1375*cm"/>
0778                 </module_component>                
0779                 <module_component 
0780                   width="SiMod_w1" length="SiMod_l1" thickness="0.00052*cm" material="Copper" sensitive="false" vis="false">
0781                     <position z="0.146*cm"/>
0782                 </module_component>
0783             </module>
0784 
0785             <module name="SiTrackerModule_Layer2" vis="SiTrackerBarrelModuleVis">
0786                 <module_envelope 
0787                   width="SiMod_w2" length="SiMod_l2" thickness="0.3*cm"/>
0788                 <module_component 
0789                   width="SiMod_w2" length="SiMod_l2" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false" >
0790                     <position z="-0.14*cm" />
0791                 </module_component>
0792                 <module_component 
0793                   width="SiMod_w2" length="SiMod_l2" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0794                     <position z="-0.122*cm" />
0795                 </module_component>
0796                 <module_component 
0797                   width="SiMod_w2" length="SiMod_l2" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0798                     <position z="-0.024*cm" />
0799                 </module_component>
0800                 <module_component 
0801                   width="SiMod_w2" length="SiMod_l2" thickness="0.0175*cm" material="Epoxy" sensitive="false" vis="false" >
0802                     <position z="0.07475*cm" />
0803                 </module_component>
0804                 <module_component
0805                   width="SiMod_w2" length="SiMod_l2" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0806                     <position z="0.0915*cm" />
0807                 </module_component>
0808                 <module_component
0809                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0810                     <position z="0.1145*cm"/>
0811                 </module_component>
0812                 <module_component
0813                   width="SiMod_w2" length="SiMod_l2" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0814                     <position z="0.12974*cm"/>
0815                 </module_component>
0816                 <module_component
0817                   width="SiMod_w2" length="SiMod_l2" thickness="0.0064*cm" material="Kapton" sensitive="false" vis="false" >
0818                     <position z="0.1375*cm"/>
0819                 </module_component>
0820                 <module_component
0821                   width="SiMod_w2" length="SiMod_l2" thickness="0.00065*cm" material="Copper" sensitive="false" vis="false">
0822                     <position z="0.146*cm"/>
0823                 </module_component>
0824             </module>
0825 
0826             <module name="SiTrackerModule_Layer3" vis="SiTrackerBarrelModuleVis">
0827                 <module_envelope 
0828                   width="SiMod_w3" length="SiMod_l3" thickness="0.3*cm"/>
0829                 <module_component
0830                   width="SiMod_w3" length="SiMod_l3" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false" >
0831                     <position z="-0.14*cm" />
0832                 </module_component>
0833                 <module_component
0834                   width="SiMod_w3" length="SiMod_l3" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0835                     <position z="-0.122*cm" />
0836                 </module_component>
0837                 <module_component
0838                   width="SiMod_w3" length="SiMod_l3" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0839                     <position z="-0.024*cm" />
0840                 </module_component>
0841                 <module_component
0842                   width="SiMod_w3" length="SiMod_l3" thickness="0.0175*cm" material="Epoxy" sensitive="false" vis="false" >
0843                     <position z="0.07475*cm" />
0844                 </module_component>
0845                 <module_component
0846                   width="SiMod_w3" length="SiMod_l3" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0847                     <position z="0.0915*cm" />
0848                 </module_component>
0849                 <module_component
0850                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0851                     <position z="0.1145*cm"/>
0852                 </module_component>
0853                 <module_component
0854                   width="SiMod_w3" length="SiMod_l3" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0855                     <position z="0.12974*cm"/>
0856                 </module_component>
0857                 <module_component
0858                   width="SiMod_w3" length="SiMod_l3" thickness="0.0078*cm" material="Kapton" sensitive="false" vis="false" >
0859                     <position z="0.1375*cm"/>
0860                 </module_component>
0861                 <module_component
0862                   width="SiMod_w3" length="SiMod_l3" thickness="0.00079*cm" material="Copper" sensitive="false" vis="false" >
0863                     <position z="0.146*cm"/>
0864                 </module_component>
0865             </module>
0866 
0867             <module name="SiTrackerModule_Layer4" vis="SiTrackerBarrelModuleVis">
0868                 <module_envelope 
0869                   width="SiMod_w4" length="SiMod_l4" thickness="0.3*cm"/>
0870                 <module_component
0871                   width="SiMod_w4" length="SiMod_l4" thickness="0.02*cm" material="PEEK" sensitive="false" vis="false" >
0872                     <position z="-0.14*cm" />
0873                 </module_component>
0874                 <module_component
0875                   width="SiMod_w4" length="SiMod_l4" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false" >
0876                     <position z="-0.122*cm" />
0877                 </module_component>
0878                 <module_component
0879                   width="SiMod_w4" length="SiMod_l4" thickness="0.18*cm" material="Rohacell31_50D" sensitive="false" vis="false" >
0880                     <position z="-0.024*cm" />
0881                 </module_component>
0882                 <module_component
0883                   width="SiMod_w4" length="SiMod_l4" thickness="0.0175*cm" material="Epoxy" sensitive="false" vis="false" >
0884                     <position z="0.07475*cm" />
0885                 </module_component>
0886                 <module_component
0887                   width="SiMod_w4" length="SiMod_l4" thickness="0.016*cm" material="CarbonFiber_50D" sensitive="false" vis="false">
0888                     <position z="0.0915*cm" />
0889                 </module_component>
0890                 <module_component
0891                   width="SiWafer_w" length="SiWafer_l" thickness="0.03*cm" material="Silicon" sensitive="true">
0892                     <position z="0.1145*cm"/>
0893                 </module_component>
0894                 <module_component
0895                   width="SiMod_w4" length="SiMod_l4" thickness="0.00048*cm" material="Silicon" sensitive="false" vis="false" >
0896                     <position z="0.12974*cm"/>
0897                 </module_component>
0898                 <module_component
0899                   width="SiMod_w4" length="SiMod_l4" thickness="0.0091*cm" material="Kapton" sensitive="false" vis="false" >
0900                     <position z="0.1375*cm"/>
0901                 </module_component>
0902                 <module_component
0903                   width="SiMod_w4" length="SiMod_l4" thickness="0.00093*cm" material="Copper" sensitive="false" vis="false">
0904                     <position z="0.146*cm"/>
0905                 </module_component>
0906             </module>
0907 
0908             <layer module="SiTrackerModule_Layer0" id="1" vis="SiTrackerBarrelLayerVis">
0909                 <barrel_envelope
0910                   inner_r="Radius_SITLayer0 + 8.*mm" 
0911                   outer_r="Radius_SITLayer0+Diff_Radius_SITLayer" 
0912                   z_length="SiMod_z0*2"/>
0913                 <rphi_layout 
0914                   phi_tilt="0.13*rad" nphi="17" phi0="0."  rc="Radius_SITLayer0 + 12.*mm" dr="0.0"/>
0915                 <z_layout dr="4.0*mm" z0="SiMod_zi0" nz="11"/>               
0916             </layer>   <comment>  z-length = +-53cm; radius = 24cm </comment>
0917 
0918             <layer module="SiTrackerModule_Layer1" id="2" vis="SiTrackerBarrelLayerVis">
0919                 <barrel_envelope
0920                   inner_r="Radius_SITLayer1" 
0921                   outer_r="Radius_SITLayer1+Diff_Radius_SITLayer" 
0922                   z_length="SiMod_z1*2"/>
0923                 <rphi_layout 
0924                   phi_tilt="0.13*rad" nphi="20" phi0="0.087*rad"  rc="Radius_SITLayer1 + 8*mm" dr="0.0"/>
0925                 <z_layout dr="4.0*mm" z0="SiMod_zi1" nz="13"/>        
0926             </layer>   <comment>  z-length = +-59cm; radius = 29cm  </comment>
0927           
0928             <layer module="SiTrackerModule_Layer2" id="3" vis="SiTrackerBarrelLayerVis">
0929                 <barrel_envelope 
0930                   inner_r="Radius_SITLayer2" 
0931                   outer_r="Radius_SITLayer2+Diff_Radius_SITLayer" 
0932                   z_length="SiMod_z2*2"/>
0933                 <rphi_layout 
0934                   phi_tilt="0.13*rad" nphi="24" phi0="0.058*rad"  rc="Radius_SITLayer2 + 8*mm" dr="0.0"/>
0935                 <z_layout dr="4.0*mm" z0="SiMod_zi2" nz="14"/>
0936             </layer>    <comment>  z-length = +-69cm; radius = 34cm  </comment>
0937           
0938             <layer module="SiTrackerModule_Layer3" id="4" vis="SiTrackerBarrelLayerVis">
0939                 <barrel_envelope 
0940                   inner_r="Radius_SITLayer3" 
0941                   outer_r="Radius_SITLayer3+Diff_Radius_SITLayer" 
0942                   z_length="SiMod_z3*2"/>
0943                 <rphi_layout 
0944                   phi_tilt="0.13*rad" nphi="28" phi0="0.0436*rad" rc="Radius_SITLayer3 + 8.*mm" dr="0.0"/>
0945                 <z_layout dr="4.0*mm" z0="SiMod_zi3" nz="18"/>
0946             </layer>    <comment>  z-length = +-79cm; radius = 39cm  </comment>
0947            
0948             <layer module="SiTrackerModule_Layer4" id="5" vis="SiTrackerBarrelLayerVis">
0949                 <barrel_envelope 
0950                   inner_r="Radius_SITLayer4"  
0951                   outer_r="Radius_SITLayer4+Diff_Radius_SITLayer" 
0952                   z_length="SiMod_z4*2"/>
0953                 <rphi_layout 
0954                   phi_tilt="0.13*rad" nphi="32" phi0="0.01745*rad" rc="Radius_SITLayer4 + 8*mm" dr="0.0"/>
0955                 <z_layout dr="4.0*mm" z0="SiMod_zi4" nz="22"/>
0956             </layer>    <comment>  z-length = +-89cm; radius = 44cm  </comment>
0957                         
0958         </detector>
0959 
0960         <comment>   Outer Tracker Supports   </comment>
0961 
0962         <detector name="TrackerBarrelSupports" 
0963                   type="Lhe_MultiLayerTracker" 
0964                   reflect="true" 
0965                   vis="SupportVis">
0966             <comment>Barrels</comment>
0967  
0968             <layer id="1" 
0969               inner_r = "Radius_SITLayer0 - VxBar_Env + 0.2" 
0970               outer_z = "SiMod_z0 + VxBar_Env/4 - 1.5*cm">
0971                 <slice material="CarbonFiber" thickness="0.05*cm" />
0972                 <slice material="Rohacell31_15percent" thickness="0.8075*cm" />
0973                 <slice material="CarbonFiber" thickness="0.05*cm" />
0974             </layer>
0975 
0976             <layer id="2" 
0977                inner_r="Radius_SITLayer1 - VxBar_Env - 0.5*cm" 
0978                outer_z="SiMod_z1 + VxBar_Env/4 - 1.5*cm">
0979                 <slice material="CarbonFiber" thickness="0.05*cm" />
0980                 <slice material="Rohacell31_15percent" thickness="0.8075*cm" />
0981                 <slice material="CarbonFiber" thickness="0.05*cm" />
0982             </layer>
0983 
0984             <layer id="3" 
0985                inner_r="Radius_SITLayer2 - VxBar_Env - 0.5*cm" 
0986                outer_z="SiMod_z2 + VxBar_Env/4 - 1.5*cm">>
0987                 <slice material= "CarbonFiber" thickness = "0.05*cm" />
0988                 <slice material= "Rohacell31_15percent" thickness="0.8075*cm" />
0989                 <slice material= "CarbonFiber" thickness="0.05*cm" />
0990             </layer>
0991 
0992             <layer id="4" 
0993                inner_r="Radius_SITLayer3 - VxBar_Env - 0.5*cm" 
0994                outer_z="SiMod_z3 + VxBar_Env/4 - 1.5*cm">>
0995                 <slice material="CarbonFiber" thickness="0.05*cm" />
0996                 <slice material="Rohacell31_15percent" thickness="0.8075*cm" />
0997                 <slice material="CarbonFiber" thickness="0.05*cm" />
0998             </layer>
0999 
1000             <layer id="5" 
1001                inner_r="Radius_SITLayer4 - VxBar_Env - 0.5*cm" 
1002                outer_z="SiMod_z4 + VxBar_Env/4 - 1.5*cm">>
1003                 <slice material="CarbonFiber" thickness="0.05*cm" />
1004                 <slice material="Rohacell31_15percent" thickness="0.8075*cm" />
1005                 <slice material="CarbonFiber" thickness="0.05*cm" />
1006             </layer>
1007 
1008        </detector>
1009 
1010         <detector name="TrackerReadout" 
1011                   type="Lhe_DiskTracker" 
1012                   reflect="true" 
1013                   vis="GreenVis">
1014             <comment>Readouts</comment>
1015 
1016             <layer id="1" 
1017               inner_r="Radius_SITLayer0 - VxBar_Env " 
1018               inner_z="SiMod_z0" 
1019               outer_r="Radius_SITLayer0 ">
1020                 <slice material="G10" thickness="0.057*cm" />
1021                 <slice material="Copper" thickness="0.0038*cm" />
1022             </layer> 
1023             <layer id="2" 
1024               inner_r="Radius_SITLayer1 - VxBar_Env*2 " 
1025               inner_z="SiMod_z1" 
1026               outer_r="Radius_SITLayer1 ">
1027                 <slice material = "G10" thickness="0.102*cm" />
1028                 <slice material = "Copper" thickness="0.0068*cm" />
1029             </layer>
1030             <layer id="3" 
1031               inner_r="Radius_SITLayer2 - VxBar_Env*2 " 
1032               inner_z="SiMod_z2" 
1033               outer_r="Radius_SITLayer2 ">
1034                 <slice material="G10" thickness="0.108*cm" />
1035                 <slice material="Copper" thickness="0.0072*cm" />
1036             </layer>
1037             <layer id="4" 
1038               inner_r="Radius_SITLayer3 - VxBar_Env*2 " 
1039               inner_z="SiMod_z3" 
1040               outer_r="Radius_SITLayer3 ">
1041                 <slice material="G10" thickness="0.186*cm" />
1042                 <slice material="Copper" thickness="0.0124*cm" />
1043             </layer>
1044             <layer id="5" 
1045               inner_r= "Radius_SITLayer4 - VxBar_Env*2 " 
1046               inner_z="SiMod_z4" 
1047               outer_r="Radius_SITLayer4 ">
1048                 <slice material="G10" thickness="0.246*cm" />
1049                 <slice material="Copper" thickness="0.0164*cm" />
1050             </layer>
1051 
1052         </detector>
1053 
1054        
1055 <!-- fwd-tracker -->
1056         <detector id="3" name="SiTrackerForward" 
1057                          type="Lhe_SiTrackerEndcap2" 
1058                          readout="SiTrackerForwardHits" 
1059                          reflect="false"
1060                          r="VertexBarrel_r0 - VxBar_Env"
1061                          rmax="CentralBeamPipe_rmax + 1.*cm + 7.5*cm"
1062                          vis="SiTrackerForwardVis">
1063             <comment>Forward Tracker outside Barrel Support</comment>
1064             <module name="Module1" vis="SiTrackerForwardModulVis">
1065                 <trd x1="36.112*mm" x2="46.635*mm" z="100.114/2*mm" />
1066                 <module_component thickness="0.00052*cm"   material="Copper" />
1067                 <module_component thickness="0.0051*cm"   material="Kapton" />
1068                 <module_component thickness="0.00048*cm" material="Silicon" />
1069                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1070                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1071                 <module_component thickness="0.18*cm" material="Rohacell31_50D" />
1072                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1073                 <module_component thickness="0.0175*cm" material="Epoxy" />
1074                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1075                 <module_component thickness="0.00048*cm" material="Silicon" />
1076                 <module_component thickness="0.0051*cm"   material="Kapton" />
1077                 <module_component thickness="0.00052*cm"   material="Copper" />
1078             </module>
1079             <module name="Module2" vis="SiTrackerForwardModulVis">
1080                 <trd x1="45.245*mm" x2="54.680*mm" z="89.773/2*mm" />
1081                 <module_component thickness="0.00079*cm"   material="Copper" />
1082                 <module_component thickness="0.0078*cm"   material="Kapton" />
1083                 <module_component thickness="0.00048*cm" material="Silicon" />
1084                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1085                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1086                 <module_component thickness="0.18*cm" material="Rohacell31_50D" />
1087                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1088                 <module_component thickness="0.0175*cm" material="Epoxy" />
1089                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1090                 <module_component thickness="0.00048*cm" material="Silicon" />
1091                 <module_component thickness="0.0078*cm"   material="Kapton" />
1092                 <module_component thickness="0.00079*cm"   material="Copper" />
1093             </module>
1094 
1095            <layer id="1">
1096                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z0+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1097                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z0+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1098                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z0+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1099             </layer>    <comment> new: middle-z-pos. = +75cm; outer_radius = 32cm  </comment>
1100 
1101            <layer id="2">
1102                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z1+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1103                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z1+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1104                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z1+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1105             </layer>     <comment>  middle-z-pos. = +92.5cm; outer_radius = 38cm  </comment>
1106 
1107            <layer id="3">
1108                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z2+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1109                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z2+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1110                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z2+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1111                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z2+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1112                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z2+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1113             </layer>     <comment>  middle-z-pos. = +142cm; outer_radius = 46cm  </comment>
1114 
1115            <layer id="4">
1116                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z3+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1"/>
1117                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z3+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1118                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z3+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1119                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z3+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1120                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z3+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1121             </layer>     <comment>  middle-z-pos. = +192cm; outer_radius = 46cm  </comment>
1122 
1123            <layer id="5">
1124                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z4+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1"/>
1125                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z4+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1126                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z4+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1127                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z4+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1128                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z4+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1129             </layer>     <comment>  middle-z-pos. = +267cm; outer_radius = 46cm  </comment>
1130 
1131            <layer id="6">
1132                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z5+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1"/>
1133                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z5+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1134                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z5+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1135                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z5+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1136                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z5+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1137             </layer>     <comment>  middle-z-pos. = +332cm; outer_radius = 46cm  </comment>
1138 
1139            <layer id="7">
1140                 <ring r="Ftd_sdisk_ri0" zstart="Ftd_disk_z6+32*mm+5*mm" nmodules="8" dz="2.5*mm" module="Module1"/>
1141                 <ring r="Ftd_sdisk_ri1" zstart="Ftd_disk_z6+24*mm+4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1142                 <ring r="Ftd_sdisk_ri2" zstart="Ftd_disk_z6+16*mm+4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1143                 <ring r="Ftd_sdisk_ri3" zstart="Ftd_disk_z6+8*mm+4*mm"  nmodules="22" dz="2*mm" module="Module2" phi0="pi/22"/>
1144                 <ring r="Ftd_sdisk_ri4" zstart="Ftd_disk_z6+4*mm" nmodules="28" dz="2*mm" module="Module2" phi0="pi/28"/>
1145             </layer>     <comment>  middle-z-pos. = +372cm; outer_radius = 46cm  </comment>
1146 
1147         </detector>
1148 
1149 <!-- bwd-tracker -->
1150         <detector id="4" name="SiTrackerBackward" 
1151                          type="Lhe_SiTrackerEndcap2" 
1152                          readout="SiTrackerBackwardHits" 
1153                          reflect="false">
1154                          vis="SiTrackerBackwardVis">
1155             <comment>Forward Tracker outside Barrel Support</comment>
1156             <module name="Module1" vis="SiTrackerForwardModulVis">
1157                 <trd x1="36.112*mm" x2="46.635*mm" z="100.114/2*mm" />
1158                 <module_component thickness="0.00052*cm"   material="Copper" />
1159                 <module_component thickness="0.0051*cm"   material="Kapton" />
1160                 <module_component thickness="0.00048*cm" material="Silicon" />
1161                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1162                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1163                 <module_component thickness="0.18*cm" material="Rohacell31_50D" />
1164                 <module_component thickness="0.016*cm" material="CarbonFiber_50D" />
1165                 <module_component thickness="0.0175*cm" material="Epoxy" />
1166                 <module_component thickness="0.03*cm"   material="Silicon" sensitive="true" />
1167                 <module_component thickness="0.00048*cm" material="Silicon" />
1168                 <module_component thickness="0.0051*cm"   material="Kapton" />
1169                 <module_component thickness="0.00052*cm"   material="Copper" />
1170             </module>
1171             <module name="Module2" vis="SiTrackerForwardModulVis">
1172                 <trd x1="45.245*mm" x2="54.680*mm" z="89.773/2*mm" />
1173                 <module_component thickness="0.00079*cm"   material="Copper" />
1174                 <module_component thickness="0.0078*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.0078*cm"   material="Kapton" />
1184                 <module_component thickness="0.00079*cm"   material="Copper" />
1185             </module>
1186 
1187            <layer id="1">
1188                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z0-32*mm-5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1189                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z0-24*mm-4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1190                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z0-16*mm-4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1191             </layer>     <comment>  middle-z-pos. = -70cm; outer_radius = 29cm  </comment>
1192 
1193            <layer id="2">
1194                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z1-32*mm-5*mm" nmodules="8" dz="2.5*mm" module="Module1" phi0="pi/10"/>
1195                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z1-24*mm-4*mm" nmodules="14" dz="2*mm" module="Module1"/>
1196                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z1-16*mm-4*mm" nmodules="20" dz="2*mm" module="Module1"/>
1197             </layer>     <comment>  middle-z-pos. = -92.5cm; outer_radius = 38cm  </comment>
1198 
1199            <layer id="3">
1200                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z2-32*mm-5*mm" nmodules="8" dz="-2.5*mm" module="Module1"/>
1201                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z2-24*mm-4*mm" nmodules="14" dz="-2*mm" module="Module1"/>
1202                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z2-16*mm-4*mm" nmodules="20" dz="-2*mm" module="Module1"/>
1203                 <ring r="Ftd_sdisk_ri3" zstart="Btd_disk_z2-8*mm-4*mm"  nmodules="22" dz="-2*mm" module="Module2" phi0="pi/22"/>
1204                 <ring r="Ftd_sdisk_ri4" zstart="Btd_disk_z2-4*mm" nmodules="28" dz="-2*mm" module="Module2" phi0="pi/28"/>
1205             </layer>     <comment>  middle-z-pos. = -132cm; outer_radius = 46cm  </comment>
1206 
1207             <layer id="4">
1208                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z3-32*mm-5*mm" nmodules="8" dz="-2.5*mm" module="Module1" />
1209                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z3-24*mm-4*mm" nmodules="14" dz="-2*mm" module="Module1"/>
1210                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z3-16*mm-4*mm" nmodules="20" dz="-2*mm" module="Module1"/>
1211                 <ring r="Ftd_sdisk_ri3" zstart="Btd_disk_z3-8*mm-4*mm"  nmodules="22" dz="-2*mm" module="Module2" phi0="pi/22"/>
1212                 <ring r="Ftd_sdisk_ri4" zstart="Btd_disk_z3-4*mm" nmodules="28" dz="-2*mm" module="Module2" phi0="pi/28"/>
1213             </layer>     <comment>  middle-z-pos. = -172cm; outer_radius = 46cm  </comment>
1214 
1215             <layer id="5">
1216                 <ring r="Ftd_sdisk_ri0" zstart="Btd_disk_z4-32*mm-5*mm" nmodules="8" dz="-2.5*mm" module="Module1"/>
1217                 <ring r="Ftd_sdisk_ri1" zstart="Btd_disk_z4-24*mm-4*mm" nmodules="14" dz="-2*mm" module="Module1"/>
1218                 <ring r="Ftd_sdisk_ri2" zstart="Btd_disk_z4-16*mm-4*mm" nmodules="20" dz="-2*mm" module="Module1"/>
1219                 <ring r="Ftd_sdisk_ri3" zstart="Btd_disk_z4-8*mm-4*mm"  nmodules="22" dz="-2*mm" module="Module2" phi0="pi/22"/>
1220                 <ring r="Ftd_sdisk_ri4" zstart="Btd_disk_z4-4*mm" nmodules="28" dz="-2*mm" module="Module2" phi0="pi/28"/>
1221             </layer>     <comment>  middle-z-pos. = -202cm; outer_radius = 46cm  </comment>
1222             
1223         </detector>
1224 
1225         <comment>Calorimeters</comment>
1226 <!--ECAL -->
1227         <detector id="5" name="EcalBarrel" 
1228                          type="Lhe_PolyhedraBarrelCalorimeter2" 
1229                          readout="EcalBarrelHits" 
1230                          vis="EcalBarrelVis" 
1231                          reflect="false" 
1232                          gap="0.*cm" 
1233                          calorimeterType="EM_BARREL">
1234             <comment>EM Calorimeter Barrel</comment>
1235             <dimensions numsides="(int) CaloSides" rmin="EcalBarrel_rmin" z_offset="OffsetZ" z="EcalBarrel_zmax" />
1236             <staves vis="EcalBarrelStaveVis"/>
1237 
1238             <layer repeat="1" vis="EcalLayerVis" >
1239                 <slice material = "Kapton"  thickness = "0.03*cm" vis="EcalAbsorberVis"/>
1240                 <slice material = "Polystyrene" thickness = "0.3*cm" sensitive = "yes" limits="cal_limits" vis="EcalSensitiveVis"/>
1241             </layer>   <comment>  -z-pos. = -205cm, +z-pos. = +375cm  inner_radius = 47cm (61cm) l_thick=0.33cm </comment>
1242 
1243             <layer repeat="20" vis="EcalLayerVis" >
1244                 <slice material = "Pb" thickness = "0.4*cm" vis="EcalAbsorberVis"/>
1245                 <slice material = "Polystyrene" thickness = "0.3*cm" sensitive = "yes" limits="cal_limits" vis="EcalSensitiveVis"/>
1246                 <slice material = "Air" thickness = "0.05*cm" vis="InvisibleNoDaughters"/>
1247             </layer>  <comment>  -z-pos. = -205cm, +z-pos. = +375cm  inner_radius = 47cm (+17cm)  l_thick=15.cm </comment>
1248 
1249             <layer repeat="25" vis="EcalLayerVis" >
1250                 <slice material = "Pb" thickness = "0.65*cm" vis="EcalAbsorberVis"/>
1251                 <slice material = "Polystyrene" thickness = "0.3*cm" sensitive = "yes" limits="cal_limits" vis="EcalSensitiveVis"/>
1252                 <slice material = "Air" thickness = "0.05*cm" vis="InvisibleNoDaughters"/>
1253             </layer>   <comment>  -z-pos. = -205cm, +z-pos. = +375cm  inner_radius = 47cm (+23cm) l_thick=25.cm </comment>
1254         </detector>
1255 
1256 
1257 <!--ECALEndCap fwd/bwd -->
1258         <detector id="6" name="EcalEndcap_fwd" 
1259                          type="Lhe_PolyhedraEndcapCalorimeter2" 
1260                          reflect="false" 
1261                          readout="EcalEndcapHits0" 
1262                          vis="EcalPlugVis"
1263                          calorimeterType="EM_ENDCAP">
1264         <comment> EM Calorimeter Endcaps </comment>
1265             <dimensions numsides="(int) CaloSides" zmin="EcalEndcap_zmin_fwd+2*cm" rmin="EcalEndcap_rmin" rmax="EcalBarrel_rmax" />
1266 
1267             <layer repeat="1">      <comment> 0.1*cm  </comment>
1268                  <slice material = "Silicon" thickness = "0.032*cm" sensitive="yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1269                  <slice material = "TungstenDens25"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1270                  <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1271                  <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>     
1272             </layer>
1273 
1274             <layer repeat="52">     <comment>  0.375*cm </comment>
1275                   <slice material = "TungstenDens25" thickness = "0.25*cm" />
1276                   <slice material = "Air"     thickness = "0.025*cm" vis="InvisibleNoDaughters"/>
1277                   <slice material = "Silicon" thickness = "0.032*cm" sensitive="yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1278                   <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1279                   <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1280                   <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>          
1281             </layer>
1282 
1283             <layer repeat="32">     <comment>  0.625*cm </comment>
1284                   <slice material = "TungstenDens25" thickness = "0.5*cm" />
1285                   <slice material = "Air"     thickness = "0.025*cm" vis="InvisibleNoDaughters"/>
1286                   <slice material = "Silicon" thickness = "0.032*cm" sensitive="yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1287                   <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1288                   <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1289                   <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1290             </layer>
1291             
1292         </detector>
1293 
1294         <detector id="7" name="EcalEndcap_bwd" 
1295                          type="Lhe_PolyhedraEndcapCalorimeter2" 
1296                          reflect="false" 
1297                          readout="EcalEndcapHits1" 
1298                          vis="EcalPlugVis" 
1299                          calorimeterType="EM_ENDCAP">
1300             <comment>EM Calorimeter Endcaps</comment>
1301             <dimensions numsides="(int) CaloSides" zmin="EcalEndcap_zmin_bwd-3.*cm" rmin="EcalEndcap_rmin" rmax="EcalBarrel_rmax" />
1302 
1303             <layer repeat="32">     <comment>  0.625*cm x 33  = 20.625*cm </comment>
1304                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1305                 <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1306                 <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1307                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1308                 <slice material = "Air"     thickness = "0.025*cm" vis="InvisibleNoDaughters"/>
1309                 <slice material = "Pb" thickness = "0.5*cm" vis="EcalAbsorberVis"/>
1310             </layer>    
1311 
1312             <layer repeat="52">     <comment>  0.375*cm x 53 = 19.875</comment>
1313                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1314                 <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1315                 <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1316                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1317                 <slice material = "Air"     thickness = "0.025*cm" vis="InvisibleNoDaughters"/>
1318                 <slice material = "Pb" thickness = "0.25*cm" vis="EcalAbsorberVis"/>
1319             </layer>
1320 
1321             <layer repeat="1">      <comment> 0.1*cm  </comment>
1322                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1323                 <slice material = "Kapton"  thickness = "0.030*cm" vis="EcalAbsorberVis"/>
1324                 <slice material = "Copper"  thickness = "0.005*cm" vis="EcalAbsorberVis"/>
1325                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="EcalPlugSensitiveVis"/>
1326             </layer>
1327         </detector>
1328 
1329 <!--HCAL -->
1330         <detector id="8" name="HcalBarrel" 
1331                          type="Lhe_PolyhedraBarrelCalorimeter2" 
1332                          readout="HcalBarrelHits" vis="HcalBarrelVis" 
1333                          calorimeterType="HAD_BARREL" 
1334                          gap="0.*cm" 
1335                          material="Steel235">
1336             <comment>Hadron Calorimeter Barrel</comment>
1337             <dimensions numsides="(int) CaloSides" rmin="HcalBarrel_rmin" z="HcalBarrel_length" z_offset="OffsetZ"/>
1338             <staves vis="HcalBarrelStavesVis"/>
1339             <layer repeat="(int) HcalBarrel_layers">
1340                 <slice material = "Steel235" thickness = "1.00*cm" vis="HcalAbsorberVis"/>
1341                 <slice material = "Polystyrene" thickness = "0.50*cm" sensitive = "yes" limits="cal_limits" vis="HcalBarrelSensorVis"/>
1342                 <slice material = "Air" thickness = "0.15*cm" vis="InvisibleNoDaughters"/>
1343             </layer>
1344         </detector>
1345 
1346         <detector id="9" name="HcalEndcap_fwd" 
1347                          type="Lhe_PolyhedraEndcapCalorimeter2" 
1348                          readout="HcalEndcapHits0" 
1349                          reflect="false" 
1350                          vis="HcalEndcapVis" 
1351                          calorimeterType="HAD_ENDCAP">
1352             <comment>Hadron Calorimeter Endcaps</comment>
1353             <staves vis="HcalEndcapStavesVis"/>
1354             <dimensions numsides="(int) CaloSides" zmin="EcalEndcap_zmin_fwd" rmin="HcalBarrel_rmin"  rmax="HcalEndcap_rmax" />
1355             <layer repeat="(int) HcalEndcap_fwd_layers">
1356                 <slice material = "Steel235" thickness = "1.00*cm" vis="HcalAbsorberVis"/>
1357                 <slice material = "Polystyrene" thickness = "0.50*cm" sensitive = "yes" limits="cal_limits" vis="HcalSensorVis"/>
1358                 <slice material = "Air" thickness = "0.15*cm" vis="InvisibleNoDaughters"/>
1359             </layer>
1360         </detector>
1361 
1362         <detector id="10" name="HcalEndcap_bwd" 
1363                            type="Lhe_PolyhedraEndcapCalorimeter2" 
1364                            readout="HcalEndcapHits1" 
1365                            reflect="false" 
1366                            vis="HcalEndcapVis" 
1367                            calorimeterType="HAD_ENDCAP">
1368             <staves vis="HcalEndcapStavesVis"/>
1369             <comment>Hadron Calorimeter Endcaps</comment>
1370             <dimensions numsides="(int) CaloSides" zmin="EcalBarrel_zmin-HcalEndcap_thickness_bwd-3.*cm" rmin="HcalBarrel_rmin"  rmax="HcalEndcap_rmax" />
1371             <layer repeat="(int) HcalEndcap_bwd_layers">
1372                 <slice material = "Steel235" thickness = "1.00*cm" vis="HcalAbsorberVis"/>
1373                 <slice material = "Polystyrene" thickness = "0.50*cm" sensitive = "yes" limits="cal_limits" vis="HcalSensorVis"/>
1374                 <slice material = "Air" thickness = "0.15*cm" vis="InvisibleNoDaughters"/>
1375             </layer>
1376         </detector>
1377 
1378         <detector id="11" name="HcalPlug_fwd" 
1379                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1380                           readout="HcalPlugHits01" 
1381                           reflect="false" 
1382                           vis="HcalPlugVis">
1383             <comment>Hadron Calorimeter Plug</comment>
1384             <dimensions numsides="(int) CaloSides" zmin="EcalEndcap_zmax_fwd+2.*cm" rmin="VertexBarrel_r2" rmax="SolenoidBarrelConductorInnerRadius1-10.*cm" />
1385             <layer repeat="(int) HcalPlug_fwd_layers">
1386                 <slice material = "TungstenDens24" thickness = "1.0*cm" vis="HcalAbsorberVis"/>
1387                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="HcalSensorVis"/>
1388                 <slice material = "Copper"  thickness = "0.005*cm" vis="HcalAbsorberVis"/>
1389                 <slice material = "Kapton"  thickness = "0.030*cm" vis="HcalAbsorberVis"/>
1390                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1391             </layer>
1392         </detector>
1393 
1394         <detector id="13" name="HcalPlug_bwd" 
1395                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1396                           readout="HcalPlugHits11" 
1397                           reflect="false" 
1398                           vis="HcalPlugVis">
1399             <comment>Hadron Calorimeter Plug</comment>
1400             <dimensions numsides="(int) CaloSides" zmin="HcalPlug_zmin_bwd-4.*cm" rmin="VertexBarrel_r2" rmax="SolenoidBarrelConductorInnerRadius1-10.*cm" />
1401             <layer repeat="(int) HcalPlug_bwd_layers">
1402                 <slice material = "Cu" thickness = "1.5*cm" vis="HcalAbsorberVis"/>
1403                 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" limits="cal_limits" vis="HcalSensorVis"/>
1404                 <slice material = "Copper"  thickness = "0.005*cm" vis="HcalAbsorberVis"/>
1405                 <slice material = "Kapton"  thickness = "0.030*cm" vis="HcalAbsorberVis"/>
1406                 <slice material = "Air"     thickness = "0.033*cm" vis="InvisibleNoDaughters"/>
1407             </layer>
1408         </detector>
1409 
1410 <!-- Muon -->
1411          <detector id="15" name="MuonBarrel" 
1412                            type="Lhe_PolyhedraBarrelCalorimeter2" 
1413                            readout="MuonBarrelHits" 
1414                            reflect="false" 
1415                            vis="MuonBarrelVis" 
1416                            calorimeterType="MUON_BARREL" 
1417                            gap="0.*cm" 
1418                            material="Steel235">
1419             <comment>Muon Calorimeter Barrel</comment>
1420             <dimensions numsides="(int) MuonSides" rmin="((HcalEndcap_rmax+2.0*cm) / ( cos(pi/CaloSides) ) )" z="MuonBarrel_length" z_offset="OffsetZ*1.2"/>
1421             <staves vis="MuonBarrelStavesVis"/>
1422             <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>
1423             <layer repeat="1" vis="MuonBarrelLayerVis">
1424                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1425                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1426                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1427                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1428                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1429                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1430                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1431                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1432                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1433                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1434                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1435                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1436                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1437                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1438                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1439                 <slice material="Iron" thickness="5.0*cm" vis="MuonBarrelAbsorberVis"/>
1440            </layer>
1441            <layer repeat="1" vis="MuonBarrelLayerVis">
1442                 <slice material="Aluminum" thickness="0.1*cm" />
1443                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1444                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1445                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1446                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1447                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1448                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1449                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1450                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1451                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1452                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1453                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1454                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1455                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1456                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1457                 <slice material="Iron" thickness="20.0*cm" vis="MuonBarrelAbsorberVis"/>
1458             </layer>
1459             <layer repeat="(int) MuonBarrel_layers" vis="MuonBarrelLayerVis">
1460                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1461                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1462                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1463                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1464                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1465                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1466                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1467                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1468                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1469                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1470                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1471                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1472                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1473                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1474                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1475                 <slice material="Iron" thickness="10.0*cm" vis="MuonBarrelAbsorberVis"/>
1476             </layer>
1477             <comment> The last Iron layer is again 20.0cm to take the forces. </comment>
1478             <layer repeat="1" vis="MuonBarrelLayerVis">
1479                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1480                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1481                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1482                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1483                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1484                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1485                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1486                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1487                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1488                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1489                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes" vis="MuonBarrelSensorVis"/>
1490                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1491                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1492                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1493                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1494                 <slice material="Iron" thickness="20.0*cm" vis="MuonBarrelAbsorberVis"/>
1495             </layer>
1496         </detector>
1497 
1498         <detector id="16" name="MuonEndcap_fwd1" 
1499                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1500                           readout="MuonEndcapHits01" 
1501                           reflect="false" 
1502                           vis="MuonEndcapVis" 
1503                           calorimeterType="MUON_ENDCAP">
1504             <comment>Muon Calorimeter Endcaps</comment>
1505            <dimensions numsides="(int) MuonSides" zmin="MuonEndcap_zmin_fwd" rmin="VertexBarrel_r3+5*cm" rmax="MuonEndcap_rmax0" />
1506             <layer repeat="(int) MuonEndcap_layers" vis="MuonEndcapLayerVis">
1507                 <slice material="Iron" thickness="10.0*cm"  vis="MuonEndcapAbsorberVis"/>
1508                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1509                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1510                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1511                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1512                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1513                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1514                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1515                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1516                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1517                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1518                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1519                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1520                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1521                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1522                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1523             </layer>    <comment> layer thickness = 10+4cm </comment>
1524         </detector>
1525 
1526         <detector id="17" name="MuonEndcap_fwd2" 
1527                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1528                           readout="MuonEndcapHits02" 
1529                           reflect="fasle" 
1530                           vis="MuonEndcapVis" 
1531                           calorimeterType="MUON_ENDCAP">
1532             <comment>Muon Calorimeter Endcaps</comment>
1533             <dimensions numsides="(int) MuonSides" zmin="MuonEndcap_zmin_fwd" rmin="HcalBarrel_rmin" rmax="MuonEndcap_rmax1" />
1534             <layer repeat="(int) MuonEndcap_layers" vis="MuonEndcapLayerVis">
1535                 <slice material="Iron" thickness="10.0*cm"  vis="MuonEndcapAbsorberVis"/>
1536                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1537                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1538                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1539                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1540                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1541                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1542                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1543                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1544                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1545                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1546                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1547                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1548                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1549                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1550                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>>
1551             </layer>
1552         </detector>
1553 
1554         <detector id="18" name="MuonEndcap_bwd1" 
1555                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1556                           readout="MuonEndcapHits11" 
1557                           reflect="false" 
1558                           vis="MuonEndcapVis" 
1559                           calorimeterType="MUON_ENDCAP">
1560             <comment>Muon Calorimeter Endcaps</comment>
1561             <dimensions numsides="(int) MuonSides" zmin="MuonEndcap_zmin_bwd+14*cm" rmin="VertexBarrel_r3+5*cm" rmax="MuonEndcap_rmax0" />
1562             <layer repeat="(int) MuonEndcap_layers" vis="MuonEndcapLayerVis">
1563                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1564                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1565                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1566                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1567                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1568                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1569                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1570                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1571                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1572                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1573                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1574                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1575                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1576                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1577                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1578                 <slice material="Iron" thickness="10.0*cm"  vis="MuonEndcapAbsorberVis"/>
1579             </layer>
1580         </detector>
1581 
1582         <detector id="19" name="MuonEndcap_bwd2" 
1583                           type="Lhe_PolyhedraEndcapCalorimeter2" 
1584                           readout="MuonEndcapHits12" 
1585                           reflect="false" 
1586                           vis="MuonEndcapVis" 
1587                           calorimeterType="MUON_ENDCAP">
1588             <comment>Muon Calorimeter Endcaps</comment>
1589             <dimensions numsides="(int) MuonSides" zmin="MuonEndcap_zmin_bwd+14.*cm" rmin="HcalBarrel_rmin" rmax="MuonEndcap_rmax1" />
1590             <layer repeat="(int) MuonEndcap_layers" vis="MuonEndcapLayerVis">
1591                 <slice material="Air" thickness="1.0*cm" vis="InvisibleNoDaughters"/>
1592                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1593                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1594                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1595                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1596                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1597                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1598                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1599                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1600                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1601                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1602                 <slice material="RPCGasDefault" thickness="0.2*cm" sensitive="yes"  vis="MuonEndcapSensorVis"/>
1603                 <slice material="PyrexGlass" thickness="0.2*cm" vis="MuonEndcapAbsorberVis"/>
1604                 <slice material="Air" thickness="0.35*cm" vis="InvisibleNoDaughters"/>
1605                 <slice material="Aluminum" thickness="0.1*cm" vis="MuonEndcapAbsorberVis"/>
1606                 <slice material="Iron" thickness="10.0*cm"  vis="MuonEndcapAbsorberVis"/>
1607             </layer>
1608         </detector>        
1609  
1610 <!-- Beampipe circ-elliptical - SR fan
1611           
1612        <comment> Beampipe </comment>
1613        <comment> Central Be Beampipe</comment>
1614        <detector name="Beampipe" type="Lhe_BeamPipe_Central" insideTrackingVolume="true"  vis="BeamPipeVis" z_offset="OffsetZ*2." >
1615        <material name="Beryllium"/>
1616         <zplane rmin="CentralBeamPipe_rmin" rmax="CentralEllBeamPipe_rmax" thickness="CentralBeamPipe_thickness" z="SolenoidCoilOuterZ1/1.4" />
1617        </detector>
1618    
1619       <comment>Vacuum inside beampipe</comment>
1620        <detector name="BeamPipeVacuum" type="Lhe_BeamPipe_Central" insideTrackingVolume="true" vis="InvisibleNoDaughters" z_offset="OffsetZ*2.">
1621        <material name="Vacuum"/>
1622             <zplane rmin="0.*cm" rmax="CentralBeamPipe_rmin" thickness="CentralBeamPipe_rmin" z="SolenoidCoilOuterZ1/1.4" />
1623        </detector>
1624 -->
1625 
1626 <!-- circular beam pipe  for optimal acceptance simulation -->
1627 
1628          <comment>Beampipe - has to be modified - circular-elliptical</comment>
1629          <detector name="Beampipe" 
1630                    type="Lhe_PolyconeSupport" 
1631                    insideTrackingVolume="true"  
1632                    z_offset="OffsetZ" 
1633                    vis="BeamPipeVis">
1634            <comment>Central Be Beampipe</comment>
1635             <material name="Beryllium"/>
1636             <zplane rmin="CentralBeamPipe_rmin" rmax="CentralBeamPipe_rmax" z="-CentralBeamPipe_zmax"/>
1637             <zplane rmin="CentralBeamPipe_rmin" rmax="CentralBeamPipe_rmax" z="CentralBeamPipe_zmax" />
1638         </detector>
1639 
1640         <detector name="ForwardVacuum" type="Lhe_PolyconeSupport" insideTrackingVolume="false" vis="InvisibleNoDaughters">
1641             <material name="Vacuum"/>
1642             <zplane rmin="0.*cm"
1643                     rmax="CentralBeamPipe_rmin"  
1644                     z="EcalEndcap_zmin_fwd + 1.*cm" />
1645             <zplane rmin="0.*cm"
1646                     rmax="CentralBeamPipe_rmin"
1647                     z="EcalEndcap_zmin_bwd - 1.*cm" />
1648         </detector>
1649 
1650         <detector name="BackwardVacuum" type="Lhe_PolyconeSupport" insideTrackingVolume="false" vis="InvisibleNoDaughters">
1651             <material name="Vacuum"/>
1652             <zplane rmin="0.*cm"
1653                     rmax="CentralBeamPipe_rmax - BeamPipe_thickness"
1654                     z="- (tracking_region_zmax + 0.01*cm)" />
1655             <zplane rmin="0.*cm"
1656                     rmax="CentralBeamPipe_rmax - BeamPipe_thickness"
1657                     z="- BeamPipe_zmax" />
1658             <zplane rmin="0.*cm"
1659                     rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
1660                     z="- (LumiCal_zmin - 2*BeamPipe_endThickness)" />
1661             <zplane rmin="0.*cm"
1662                     rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
1663                     z="- (LumiCal_zmin - BeamPipe_endThickness)" />
1664             <zplane rmin="0.*cm"
1665                     rmax="LumiCal_rmin - 2*BeamPipe_endThickness"
1666                     z="- (ForwardMask_zmin - BeamPipe_endThickness)" />
1667         </detector>
1668 
1669 <!--Solenoid -->
1670       <comment>Solenoid/Dipole</comment>
1671 
1672        <detector name="SolenoidCoilBarrel1" 
1673                  type="Lhe_MultiLayerTracker" 
1674                  insideTrackingVolume="false">
1675 
1676           <layer id="1" 
1677             z_offset="OffsetZ*1.2"  
1678             inner_r="SolenoidBarrelInnerRadius1" 
1679             outer_z="MuonBarrel_length*0.5"  
1680             vis="SolenoidBarrelSupportLayerVis">
1681                 <slice material="Aluminum" thickness="SolenoidBarrelInnerCryostatThickness1" />
1682                 <slice material="Vacuum"  thickness="SolenoidBarrelInnerAirgapThickness1" />
1683                 <slice material="Aluminum" thickness="SolenoidBarrelInnerCryostatThickness1" />
1684           </layer>
1685 
1686           <layer id="2" 
1687             z_offset="OffsetZ"
1688             inner_r="SolenoidBarrelConductorInnerRadius1+2*cm" 
1689             outer_z="SolenoidCoilOuterZ1" 
1690             vis="SolenoidBarrelLayerVis">
1691                 <slice material="Aluminum" thickness="SolenoidBarrelAlConductorThickness1" />
1692                 <slice material="Aluminum" thickness="SolenoidBarrelQuenchbackThickness1" />
1693           </layer>
1694           <layer id="3" 
1695             z_offset="OffsetZ*1.2"
1696             inner_r="SolenoidBarrelOuterCryostatInnerRadius1" 
1697             outer_z="MuonBarrel_length*0.5" 
1698             vis="SolenoidDipoleBarrelLayerVis">
1699                 <slice material="Aluminum" thickness="DipoleBarrelAlConductorThickness" />
1700                 <slice material="Aluminum" thickness="SolenoidBarrelInnerCryostatThickness1" />
1701                 <slice material="Vacuum"   thickness="SolenoidBarrelOuterAirgapThickness1" />
1702                 <slice material="Aluminum" thickness="SolenoidBarrelOuterCryostatThickness1" />
1703            </layer>
1704         </detector>
1705 
1706     </detectors>
1707 
1708     <readouts>
1709         <readout name="SiVertexBarrelHits">
1710             <id>system:0,barrel:3,layer:4,module:14,sensor:2,side:32:-2,strip:24</id>
1711         </readout>
1712         <readout name="SiTrackerBarrelHits">
1713             <id>system:0,barrel:3,layer:5,module:14,sensor:2,side:32:-2,strip:20</id>
1714         </readout>
1715         <readout name="SiTrackerForwardHits">
1716             <id>system:0,barrel:3,layer:7,module:12,sensor:1,side:32:-2,strip:28</id>
1717         </readout>        
1718         <readout name="SiTrackerBackwardHits">
1719             <id>system:0,barrel:3,layer:7,module:12,sensor:1,side:32:-2,strip:28</id>
1720         </readout>
1721         <readout name="EcalBarrelHits">
1722             <segmentation type="CartesianGridXY" grid_size_x="3.5*cm" grid_size_y="3.5*cm" />
1723             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1724         </readout>
1725         <readout name="EcalEndcapHits0">
1726             <segmentation type="CartesianGridXY" grid_size_x="3.5*cm" grid_size_y="3.5*cm" />
1727             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1728         </readout>
1729         <readout name="EcalEndcapHits1">
1730             <segmentation type="CartesianGridXY" grid_size_x="3.5*cm" grid_size_y="3.5*cm" />
1731             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1732         </readout>
1733         <readout name="HcalBarrelHits">
1734             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1735             <id>system:0,barrel:3,module:6,layer:8,slice:5,x:32:-16,y:-16</id>
1736         </readout>
1737         <readout name="HcalEndcapHits0">
1738             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1739             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1740         </readout>
1741         <readout name="HcalEndcapHits1">
1742             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1743             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1744         </readout>
1745         <readout name="HcalPlugHits01">
1746             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1747             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1748         </readout>
1749         <readout name="HcalPlugHits02">
1750             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1751             <id>system:0,barrel:3,module:6,layer:10,slice:5,x:32:-16,y:-16</id>
1752         </readout>
1753         <readout name="HcalPlugHits11">
1754             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1755             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1756         </readout>
1757         <readout name="HcalPlugHits12">
1758             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1759             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1760         </readout>
1761         <readout name="MuonBarrelHits">
1762             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1763             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1764         </readout>
1765         <readout name="MuonEndcapHits01">
1766             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1767             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1768         </readout>
1769         <readout name="MuonEndcapHits02">
1770             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1771             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1772         </readout>
1773         <readout name="MuonEndcapHits11">
1774             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1775             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1776         </readout>
1777         <readout name="MuonEndcapHits12">
1778             <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
1779             <id>system:0,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
1780         </readout>
1781      </readouts>
1782 
1783 <!--  
1784         <plugin name="TestSurfaces"> <argument value="SiTrackerBackward"/> </plugin>
1785 -->
1786 <!-- 
1787         <plugins>
1788 
1789           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1790               <argument value="SiVertexBarrel"/> <argument value="dimension=1"/> 
1791           </plugin>
1792  
1793           <plugin name="Lhe_SurfaceExamplePlugin">
1794              <argument value="SiVertexBarrel"/>
1795              <argument value="aa=1*mm"/>
1796              <argument value="bb=2*cm"/>
1797              <argument value="cc=3*m"/>
1798           </plugin>
1799 
1800           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1801               <argument value="SiTrackerBarrel"/> <argument value="dimension=1"/> </plugin>
1802 
1803           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="SiTrackerForward"/> </plugin>
1804           <plugin name="Lhe_SiTrackerEndcapSurfacePlugin"> <argument value="SiTrackerForward"/> </plugin>
1805 
1806           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="SiTrackerBackward"/> </plugin>
1807           <plugin name="Lhe_SiTrackerEndcapSurfacePlugin"> <argument value="SiTrackerBackward"/> </plugin>
1808 
1809           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="EcalBarrel"/> </plugin>
1810           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="EcalBarrel"/> </plugin>
1811           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1812               <argument value="EcalBarrel"/> <argument value="dimension=1"/> </plugin>
1813 
1814           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="EcalEndcap_fwd"/> </plugin>
1815           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="EcalEndcap_fwd"/> </plugin>
1816           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="EcalEndcap_fwd"/> </plugin>
1817 
1818           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="EcalEndcap_bwd"/> </plugin>
1819           <plugin name="Lhe_LayeringExtensionPlugin">    <argument value="EcalEndcap_bwd"/> </plugin>
1820           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="EcalEndcap_bwd"/> </plugin>
1821 
1822           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1823               <argument value="HcalBarrel"/> <argument value="dimension=1"/> </plugin>
1824 
1825           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="HcalEndcap_fwd"/> </plugin>
1826           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="HcalEndcap_fwd"/> </plugin>
1827           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="HcalEndcap_fwd"/> </plugin>
1828 
1829           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="HcalEndcap_bwd"/> </plugin>
1830           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="HcalEndcap_bwd"/> </plugin>
1831           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="HcalEndcap_bwd"/> </plugin>
1832 
1833           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="HcalPlug_fwd"/> </plugin>
1834           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="HcalPlug_fwd"/> </plugin>
1835           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="HcalPlug_fwd"/> </plugin>         
1836 
1837           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="HcalPlug_bwd"/> </plugin>
1838           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="HcalPlug_bwd"/> </plugin>
1839           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="HcalPlug_bwd"/> </plugin>
1840 
1841           <plugin name="Lhe_SiTrackerBarrelSurfacePlugin"> 
1842               <argument value="MuonBarrel"/> <argument value="dimension=1"/> </plugin>
1843 
1844           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="MuonEndcap_fwd1"/> </plugin>
1845           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="MuonEndcap_fwd1"/> </plugin>
1846           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="MuonEndcap_fwd1"/> </plugin>
1847 
1848           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="MuonEndcap_fwd2"/> </plugin>
1849           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="MuonEndcap_fwd2"/> </plugin>
1850           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="MuonEndcap_fwd2"/> </plugin>
1851 
1852           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="MuonEndcap_bwd1"/> </plugin>
1853           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="MuonEndcap_bwd1"/> </plugin>
1854           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="MuonEndcap_bwd1"/> </plugin>
1855 
1856           <plugin name="Lhe_SubdetectorExtensionPlugin"> <argument value="MuonEndcap_bwd2"/> </plugin>
1857           <plugin name="Lhe_LayeringExtensionPlugin"> <argument value="MuonEndcap_bwd2"/> </plugin>
1858           <plugin name="Lhe_PolyhedraEndcapCalorimeterSurfacePlugin"> <argument value="MuonEndcap_bwd2"/> </plugin>
1859 
1860         </plugins>
1861 -->
1862 
1863     <fields>
1864         <field name="GlobalSolenoid1" type="solenoid"
1865           inner_field="3.5*tesla"
1866           outer_field="-1.5*tesla"
1867           zmax="SolenoidCoilOuterZ1"
1868           outer_radius="world_side">
1869         </field>
1870        <field name="MachineDipole+" type="DipoleMagnet"
1871          rmax="DipoleBarrelAlConductorRadius"
1872          zmin="1*cm"
1873          zmax="SolenoidCoilOuterZ1">
1874         <dipole_coeff>0.4*tesla</dipole_coeff>
1875          <dipole_coeff>0.1*tesla/pow(cm,1)</dipole_coeff>
1876          <dipole_coeff>0.01*tesla/pow(cm,2)</dipole_coeff>
1877        </field>
1878        <field name="MachineDipole-" type="DipoleMagnet"
1879          rmax="DipoleBarrelAlConductorRadius"
1880          zmin="-SolenoidCoilOuterZ1"
1881          zmax="-1*cm">
1882         <dipole_coeff>-0.4*tesla</dipole_coeff>
1883          <dipole_coeff>0.1*tesla/pow(cm,1)</dipole_coeff>
1884          <dipole_coeff>0.01*tesla/pow(cm,2)</dipole_coeff>
1885        </field>
1886     </fields>
1887 
1888 </lccdd>