Warning, /DD4hep/examples/ClientTests/compact/TrackingRegion.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="SiliconBlock"
0016 title="Test with 2 simple silicon boxes"
0017 author="Markus Frank"
0018 url="http://www.cern.ch/lhcb"
0019 status="development"
0020 version="$Id: compact.xml 513 2013-04-05 14:31:53Z gaede $">
0021 <comment>Alignment test with 2 simple boxes</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 <define>
0030 <constant name="world_size" value="30*m"/>
0031 <constant name="world_x" value="world_size"/>
0032 <constant name="world_y" value="world_size"/>
0033 <constant name="world_z" value="world_size"/>
0034 </define>
0035
0036 <display>
0037 <vis name="Invisible" showDaughters="false" visible="false"/>
0038 <vis name="InvisibleWithChildren" showDaughters="true" visible="false"/>
0039 <vis name="VisibleRed" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
0040 <vis name="VisibleBlue" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
0041 <vis name="VisibleGreen" alpha="1.0" r="0.0" g="1.0" b="0.0" showDaughters="true" visible="true" drawingStyle="solid" lineStyle="solid"/>
0042 </display>
0043
0044 <limits>
0045 <limitset name="SiRegionLimitSet">
0046 <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0047 <limit name="track_length_max" particles="*" value="1.0" unit="mm" />
0048 </limitset>
0049 </limits>
0050
0051 <regions>
0052 <region name="SiRegion" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001">
0053 <limitsetref name="SiRegionLimitSet"/>
0054 </region>
0055 </regions>
0056
0057 <!--
0058 If the volume should be connected to the world: connected="true"
0059 else if the wolume is part of the parallelworld: connected="false"
0060 The wolume is always connected to the top level!
0061 -->
0062 <parallelworld_volume name="tracking_volume" anchor="/world" material="Air" connected="true" vis="VisibleBlue">
0063 <shape type="BooleanShape" operation="Subtraction">
0064 <shape type="BooleanShape" operation="Subtraction">
0065 <shape type="BooleanShape" operation="Subtraction" >
0066 <shape type="Tube" rmin="0*cm" rmax="100*cm" dz="100*cm"/>
0067 <shape type="Cone" rmin2="0*cm" rmax2="60*cm" rmin1="0*cm" rmax1="30*cm" z="40*cm"/>
0068 <position x="0*cm" y="0*cm" z="65*cm"/>
0069 </shape>
0070 <shape type="Cone" rmin1="0*cm" rmax1="60*cm" rmin2="0*cm" rmax2="30*cm" z="40*cm"/>
0071 <position x="0" y="0" z="-65*cm"/>
0072 </shape>
0073 <shape type="Cone" rmin2="0*cm" rmax2="55*cm" rmin1="0*cm" rmax1="55*cm" z="30*cm"/>
0074 <position x="0" y="0" z="0*cm"/>
0075 </shape>
0076 <position x="0*cm" y="50*cm" z="0*cm"/>
0077 <rotation x="pi/2.0" y="0" z="0"/>
0078 </parallelworld_volume>
0079
0080 <detectors>
0081 <detector id="1" name="SiliconBlock" type="DD4hep_BoxSegment" readout="SiliconHits" vis="VisibleGreen" sensitive="true" region="SiRegion" limits="SiRegionLimitSet">
0082 <material name="Silicon"/>
0083 <sensitive type="tracker"/>
0084 <box x="20*cm" y="20*cm" z="20*cm"/>
0085 <position x="0" y="0" z="0"/>
0086 <rotation x="0" y="0" z="0"/>
0087 </detector>
0088 </detectors>
0089
0090 <readouts>
0091 <readout name="SiliconHits">
0092 <id>system:8</id>
0093 </readout>
0094 </readouts>
0095
0096 <fields>
0097 <field name="GlobalSolenoid" type="solenoid"
0098 inner_field="5.0*tesla"
0099 outer_field="-1.5*tesla"
0100 zmax="2*m"
0101 outer_radius="3*m">
0102 </field>
0103 </fields>
0104
0105 </lccdd>