Warning, /DD4hep/examples/ClientTests/compact/SiliconBlock.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 <materials>
0030 <material name="G4_PbWO4">
0031 <D type="density" unit="g/cm3" value="8.28"/>
0032 <composite n="4" ref="O"/>
0033 <composite n="1" ref="Pb"/>
0034 <composite n="1" ref="W"/>
0035 </material>
0036 </materials>
0037
0038 <define>
0039 <constant name="world_size" value="30*m"/>
0040 <constant name="world_x" value="world_size"/>
0041 <constant name="world_y" value="world_size"/>
0042 <constant name="world_z" value="world_size"/>
0043 </define>
0044
0045 <display>
0046 <vis name="Invisible" showDaughters="false" visible="false"/>
0047 <vis name="InvisibleWithChildren" showDaughters="true" visible="false"/>
0048 <vis name="VisibleRed" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
0049 <vis name="VisibleBlue" r="0.0" g="0.0" b="1.0" showDaughters="false" visible="true"/>
0050 <vis name="VisibleGreen" alpha="1.0" r="0.0" g="1.0" b="0.0" drawingStyle="solid" lineStyle="solid" showDaughters="true" visible="true"/>
0051 </display>
0052
0053 <limits>
0054 <limitset name="SiRegionLimitSet">
0055 <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0056 <limit name="track_length_max" particles="*" value="1.0" unit="mm" />
0057 </limitset>
0058 </limits>
0059
0060 <regions>
0061 <region name="SiRegion" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001">
0062 <limitsetref name="SiRegionLimitSet"/>
0063 </region>
0064 </regions>
0065
0066 <detectors>
0067 <detector id="1" name="SiliconBlockUpper" type="DD4hep_BoxSegment" readout="SiliconUpperHits" vis="VisibleGreen" sensitive="true" region="SiRegion" limits="SiRegionLimitSet">
0068 <material name="Silicon"/>
0069 <sensitive type="tracker"/>
0070 <box x="30*mm" y="100*cm" z="100*cm"/>
0071 <position x="4*cm" y="0" z="0"/>
0072 <rotation x="0" y="0" z="0"/>
0073 </detector>
0074 <detector id="2" name="SiliconBlockDown" type="DD4hep_BoxSegment" readout="SiliconDownHits" vis="VisibleRed" sensitive="true" region="SiRegion" limits="SiRegionLimitSet">
0075 <material name="Silicon"/>
0076 <sensitive type="tracker"/>
0077 <box x="30*mm" y="100*cm" z="100*cm"/>
0078 <position x="-4*cm" y="0" z="0"/>
0079 <rotation x="0" y="0" z="0"/>
0080 </detector>
0081 </detectors>
0082
0083 <readouts>
0084 <readout name="SiliconUpperHits">
0085 <segmentation type="CartesianGridXY" grid_size_x="5*mm" grid_size_y="5*mm"/>
0086 <id>system:8,x:24:-12,y:-12</id>
0087 </readout>
0088 <readout name="SiliconDownHits">
0089 <segmentation type="CartesianGridXY" grid_size_x="5*mm" grid_size_y="5*mm"/>
0090 <id>system:8,x:24:-12,y:-12</id>
0091 </readout>
0092 </readouts>
0093
0094 <fields>
0095 <field name="GlobalSolenoid" type="solenoid"
0096 inner_field="5.0*tesla"
0097 outer_field="-1.5*tesla"
0098 zmax="2*m"
0099 outer_radius="3*m">
0100 </field>
0101 </fields>
0102
0103 </lccdd>