Warning, /DD4hep/examples/ClientTests/compact/Bitfield_SidesTest2.xml is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <lccdd>
0003
0004 <!-- #==========================================================================
0005 # AIDA Detector description implementation
0006 #==========================================================================
0007 # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0008 # All rights reserved.
0009 #
0010 # For the licensing terms see $DD4hepINSTALL/LICENSE.
0011 # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0012 #
0013 #==========================================================================
0014 -->
0015
0016 <includes>
0017 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0018 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0019 </includes>
0020
0021 <define>
0022 <constant name="world_size" value="30*m"/>
0023 <constant name="world_x" value="world_size"/>
0024 <constant name="world_y" value="world_size"/>
0025 <constant name="world_z" value="world_size"/>
0026 <constant name="Barrel_rmax" value="500*cm"/>
0027 <constant name="Barrel_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 </display>
0037
0038 <detectors>
0039 <detector id="2" name="Shell" type="DD4hep_CylinderShell" vis="VisibleGreen" readout="ShellHits" >
0040 <comment>Containment shell to measure calorimeter escapes</comment>
0041 <material name="Air"/>
0042 <module name="Barrel" id="0" vis="VisibleBlue">
0043 <zplane rmin="Barrel_rmax+20*cm" rmax="Barrel_rmax+22*cm" z="-2*Barrel_zmax"/>
0044 <zplane rmin="Barrel_rmax+20*cm" rmax="Barrel_rmax+22*cm" z="2*Barrel_zmax"/>
0045 </module>
0046 <module name="SideA" id="-1" vis="VisibleRed">
0047 <zplane rmin="0" rmax="Barrel_rmax+22*cm" z="2*Barrel_zmax+10*cm"/>
0048 <zplane rmin="0" rmax="Barrel_rmax+22*cm" z="2*Barrel_zmax+20*cm"/>
0049 </module>
0050 <module name="SideB" id="1" vis="VisibleRed">
0051 <zplane rmin="0" rmax="Barrel_rmax+22*cm" z="-(2*Barrel_zmax+10*cm)"/>
0052 <zplane rmin="0" rmax="Barrel_rmax+22*cm" z="-(2*Barrel_zmax+20*cm)"/>
0053 </module>
0054 </detector>
0055 </detectors>
0056
0057 <readouts>
0058 <readout name="ShellHits"><id>system:16,barrel:16:-5</id></readout>
0059 </readouts>
0060
0061 <fields>
0062 <field name="GlobalSolenoid" type="solenoid"
0063 inner_field="5.0*tesla"
0064 outer_field="-1.5*tesla"
0065 zmax="2*m"
0066 outer_radius="3*m">
0067 </field>
0068 </fields>
0069
0070 </lccdd>