Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <lccdd>
0003 <!-- #==========================================================================
0004      #  AIDA Detector description implementation 
0005      #==========================================================================
0006      # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0007      # All rights reserved.
0008      #
0009      # For the licensing terms see $DD4hepINSTALL/LICENSE.
0010      # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0011      #
0012      #==========================================================================
0013 -->
0014 
0015   <info name="clic_sid_cdr"
0016         title="CLIC Silicon Detector CDR"
0017         author="Christian Grefe"
0018         url="https://twiki.cern.ch/twiki/bin/view/CLIC/ClicSidCdr"
0019         status="development"
0020         version="$Id: compact.xml 988 2014-01-30 13:52:22Z markus.frank@cern.ch $">
0021     <comment>The compact format for the CLIC Silicon Detector used for the conceptual design report</comment>        
0022   </info>
0023 
0024   <includes>
0025     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0026     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0027   </includes>
0028 
0029   <materials>
0030     <material name="TungstenDens24">
0031       <D value="17.8" unit="g/cm3"/>
0032       <fraction n="0.93" ref="W"/>
0033       <fraction n="0.061" ref="Ni"/>
0034       <fraction n="0.009" ref="Fe"/>
0035     </material>
0036   </materials>
0037   
0038   <define>
0039     <constant name="world_side" value="30000*mm"/>
0040     <constant name="world_x" value="world_side"/>
0041     <constant name="world_y" value="world_side"/>
0042     <constant name="world_z" value="world_side"/>
0043     
0044     <constant name="CaloSides" value="8"/>
0045     <constant name="EcalBarrel_zmax" value="176.50*cm"/>
0046 
0047     <constant name="HcalBarrel_rmin" value="141.90*cm"/>
0048     <constant name="HcalBarrel_layers" value="(int) 75"/>
0049     <constant name="HcalBarrel_layer_thickness" value="1.0*cm + 0.65*cm"/>
0050 
0051     <constant name="HcalEndcap_zmin" value="EcalBarrel_zmax + 4.0*cm"/> <!-- Gap for cables -->
0052     <constant name="HcalEndcap_rmin" value="50.0*cm"/>
0053     <constant name="HcalEndcap_rmax" value="(HcalBarrel_rmin + HcalBarrel_layers * HcalBarrel_layer_thickness) / (cos(pi/CaloSides))"/> 
0054     <!-- Correction from going from inner circle to outer circle -->
0055     <constant name="HcalEndcap_layers" value="60"/>
0056     <constant name="HcalEndcap_layer_thickness" value="2.0*cm + 0.65*cm"/>
0057     <constant name="HcalEndcap_zmax" value="HcalEndcap_zmin + HcalEndcap_layers * HcalEndcap_layer_thickness"/>
0058 
0059     <constant name="SolenoidCoilOuterZ" value="HcalEndcap_zmax"/> <!-- Aligned with HCAL endcap -->
0060     <constant name="SolenoidBarrelAlConductorThickness" value="38.4*cm"/>
0061     <constant name="SolenoidBarrelInnerRadius" value="HcalEndcap_rmax + 2.0*cm"/>
0062     <constant name="SolenoidBarrelInnerCryostatThickness" value="3.0*cm"/>
0063     <constant name="SolenoidBarrelInnerAirgapThickness" value="11.0*cm"/>
0064     <constant name="SolenoidBarrelConductorInnerRadius" value="SolenoidBarrelInnerRadius + SolenoidBarrelInnerCryostatThickness + SolenoidBarrelInnerAirgapThickness"/>
0065     <constant name="SolenoidalFieldRadius" value="(SolenoidBarrelConductorInnerRadius + SolenoidBarrelAlConductorThickness / 2.0)"/>
0066 
0067   </define>
0068   <limits>
0069     <limitset name="cal_limits">
0070       <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0071     </limitset>
0072   </limits>
0073 
0074   <display>
0075     <vis name="InvisibleNoDaughters"      showDaughters="false" visible="false"/>
0076     <vis name="InvisibleWithDaughters"    showDaughters="true" visible="false"/>
0077     <vis name="HcalBarrelVis"          alpha="1" r="1"    g="1"    b="0.1" showDaughters="true" visible="true"/>
0078     <vis name="HcalBarrelStavesVis"    alpha="1" r="1"    g="0"    b="0.3" showDaughters="true" visible="true"/>
0079     <vis name="HcalBarrelLayerVis"     alpha="1" r="1"    g="0"    b="0.5" showDaughters="true" visible="true"/>
0080     <vis name="HcalBarrelSensorVis"    alpha="1" r="1"    g="1"    b="0.7" showDaughters="true" visible="true"/>
0081 
0082     <vis name="HcalEndcapVis"          alpha="1" r="1"    g="1"    b="0.1" showDaughters="false" visible="true"/>
0083     <vis name="HcalEndcapLayerVis"     alpha="1" r="1"    g="0"    b="0.5" showDaughters="false" visible="true"/>
0084     <vis name="SupportTubeVis" r="0.1" g="0.1" b="0.99" showDaughters="false" visible="true"/>
0085     <vis name="TungstenShieldingVis" r="0.99" g="0.1" b="0.2" showDaughters="false" visible="true"/>
0086     
0087     <vis name="SupportVis" r="0.8" g="0.8" b="0" showDaughters="false" visible="true"/>
0088     <vis name="LumiCalVis" showDaughters="false" visible="true"/>
0089     <vis name="GreenVis" r="0.0" g="1.0" b="0.0" showDaughters="true" visible="true"/>
0090     <vis name="RedVis" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
0091     <vis name="BlueVis" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
0092   </display>
0093 
0094   <detectors>
0095     <detector id="8" name="HcalBarrel" type="SectorBarrelCalorimeter" readout="HcalBarrelHits" vis="HcalBarrelVis" calorimeterType="HAD_BARREL" gap="0.*cm" material="Steel235">
0096       <comment>Hadron Calorimeter Barrel</comment>
0097       <dimensions numsides="(int) CaloSides" rmin="HcalBarrel_rmin" rmax="HcalEndcap_rmax" z="EcalBarrel_zmax*2"/>
0098       <staves vis="HcalBarrelStavesVis"/>
0099       <layer repeat="(int) HcalBarrel_layers">
0100         <slice material = "TungstenDens24" thickness = "1.00*cm" />
0101         <slice material = "Polystyrene" thickness = "0.50*cm" sensitive = "yes" limits="cal_limits" vis="HcalBarrelSensorVis"/>       
0102         <slice material = "Air" thickness = "0.15*cm" />
0103       </layer>
0104     </detector>
0105   </detectors>
0106 
0107   <readouts>
0108     <readout name="HcalBarrelHits">
0109       <segmentation type="CartesianGridXY" grid_size_x="3.0*cm" grid_size_y="3.0*cm" />
0110       <id>system:8,barrel:3,module:6,layer:8,slice:5,x:32:-16,y:-16</id>
0111     </readout>
0112   </readouts>
0113   <fields>
0114     <field name="GlobalSolenoid" type="solenoid" 
0115            inner_field="5.0*tesla"
0116            outer_field="-1.5*tesla" 
0117            zmax="SolenoidCoilOuterZ"
0118            outer_radius="SolenoidalFieldRadius">
0119     </field>
0120   </fields>
0121 </lccdd>