Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/IronCylinder.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   <includes>
0016     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0017     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0018   </includes>
0019 
0020   <define>
0021     <constant name="world_size" value="30*m"/>
0022     <constant name="world_x" value="world_size"/>
0023     <constant name="world_y" value="world_size"/>
0024     <constant name="world_z" value="world_size"/>
0025     <constant name="HcalBarrel_rmin" value="300*cm"/>
0026     <constant name="HcalBarrel_rmax" value="500*cm"/>
0027     <constant name="HcalBarrel_zmax" value="600*cm"/>
0028   </define>
0029 
0030   <display>
0031     <vis name="Invisible" showDaughters="false" visible="false"/>
0032     <vis name="InvisibleWithChildren" showDaughters="true" visible="false"/>
0033     <vis name="VisibleRed"  r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
0034     <vis name="VisibleBlue" r="0.0" g="0.0" b="1.0" showDaughters="false" visible="true"/>
0035     <vis name="VisibleGreen" alpha="1.0" r="0.0" g="1.0" b="0.0" drawingStyle="solid" lineStyle="solid" showDaughters="true" visible="true"/>
0036     <vis name="HcalStrip" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="false"/>
0037     <vis name="HcalAbsorber" r="0.0" g="0.0" b="1.0" showDaughters="false" visible="true"/>
0038     <vis name="HcalActive" r="0.86" g="0.86" b="0.86" showDaughters="false" visible="true"/>
0039   </display>
0040 
0041   <limits>
0042     <limitset name="cal_limits">
0043       <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0044     </limitset>
0045   </limits>
0046 
0047   <detectors>
0048     <detector id="1" name="HcalBarrel" type="IronCylinder" readout="HcalBarrelHits" vis="VisibleGreen" limits="cal_limits">
0049       <comment>A barrel hadronic calorimeter inspired on the ATLAS Tile hadronic calorimeter</comment>
0050       <dimensions rmin="HcalBarrel_rmin" rmax="HcalBarrel_rmax" z="HcalBarrel_zmax" phiBins="64" />
0051     </detector>
0052 
0053     <detector id="2" name="ContainmentShell" type="DD4hep_CylinderShell" vis="VisibleRed" readout="ContainmentHits" >
0054       <comment>Containment shell to measure calorimeter escapes</comment>
0055       <material name="Air"/>
0056       <module name="Barrel" id="0" vis="VisibleRed">
0057         <zplane rmin="HcalBarrel_rmax+20*cm" rmax="HcalBarrel_rmax+22*cm" z="-2*HcalBarrel_zmax"/>
0058         <zplane rmin="HcalBarrel_rmax+20*cm" rmax="HcalBarrel_rmax+22*cm" z="2*HcalBarrel_zmax"/>
0059       </module>
0060       <module name="SideA" id="1" vis="VisibleRed">
0061         <zplane rmin="0" rmax="HcalBarrel_rmax+22*cm" z="2*HcalBarrel_zmax+10*cm"/>
0062         <zplane rmin="0" rmax="HcalBarrel_rmax+22*cm" z="2*HcalBarrel_zmax+20*cm"/>
0063       </module>
0064       <module name="SideB" id="2" vis="VisibleRed">
0065         <zplane rmin="0" rmax="HcalBarrel_rmax+22*cm" z="-(2*HcalBarrel_zmax+10*cm)"/>
0066         <zplane rmin="0" rmax="HcalBarrel_rmax+22*cm" z="-(2*HcalBarrel_zmax+20*cm)"/>
0067       </module>
0068     </detector>
0069   </detectors>
0070   
0071   <readouts>
0072     <readout name="HcalBarrelHits">
0073       <id>system:8,barrel:3,module:7,layer:5,slice:10,eta:10,phi:5</id> 
0074     </readout>
0075     <readout name="ContainmentHits">
0076       <id>system:8,barrel:3</id>
0077     </readout>
0078   </readouts>
0079 
0080   <fields>
0081     <field name="GlobalSolenoid" type="solenoid" 
0082            inner_field="5.0*tesla"
0083            outer_field="-1.5*tesla" 
0084            zmax="2*m"
0085            outer_radius="3*m">
0086     </field>
0087   </fields>
0088 
0089 </lccdd>