<?xml version="1.0" encoding="UTF-8"?> <lccdd> <!-- #========================================================================== # AIDA Detector description implementation #========================================================================== # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) # All rights reserved. # # For the licensing terms see $DD4hepINSTALL/LICENSE. # For the list of contributors see $DD4hepINSTALL/doc/CREDITS. # #========================================================================== --> <info name="SiliconBlock" title="Test with 2 simple silicon boxes" author="Markus Frank" url="http://www.cern.ch/lhcb" status="development" version="$Id: compact.xml 513 2013-04-05 14:31:53Z gaede $"> <comment>Alignment test with 2 simple boxes</comment> </info> <includes> <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/> <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/> </includes> <materials> <material name="G4_PbWO4"> <D type="density" unit="g/cm3" value="8.28"/> <composite n="4" ref="O"/> <composite n="1" ref="Pb"/> <composite n="1" ref="W"/> </material> </materials> <define> <constant name="world_size" value="30*m"/> <constant name="world_x" value="world_size"/> <constant name="world_y" value="world_size"/> <constant name="world_z" value="world_size"/> </define> <display> <vis name="Invisible" showDaughters="false" visible="false"/> <vis name="InvisibleWithChildren" showDaughters="true" visible="false"/> <vis name="VisibleRed" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/> <vis name="VisibleBlue" r="0.0" g="0.0" b="1.0" showDaughters="false" visible="true"/> <vis name="VisibleGreen" alpha="1.0" r="0.0" g="1.0" b="0.0" drawingStyle="solid" lineStyle="solid" showDaughters="true" visible="true"/> </display> <limits> <limitset name="SiRegionLimitSet"> <limit name="step_length_max" particles="*" value="5.0" unit="mm" /> <limit name="track_length_max" particles="*" value="1.0" unit="mm" /> </limitset> </limits> <regions> <region name="SiRegion" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001"> <limitsetref name="SiRegionLimitSet"/> </region> </regions> <detectors> <detector id="1" name="SiliconBlockUpper" type="DD4hep_BoxSegment" readout="SiliconUpperHits" vis="VisibleGreen" sensitive="true" region="SiRegion" limits="SiRegionLimitSet"> <material name="Silicon"/> <sensitive type="tracker"/> <box x="30*mm" y="100*cm" z="100*cm"/> <position x="4*cm" y="0" z="0"/> <rotation x="0" y="0" z="0"/> </detector> <detector id="2" name="InterruptTrigger" type="InterruptTrigger"/> <detector id="3" name="SiliconBlockDown" type="DD4hep_BoxSegment" readout="SiliconDownHits" vis="VisibleRed" sensitive="true" region="SiRegion" limits="SiRegionLimitSet"> <material name="Silicon"/> <sensitive type="tracker"/> <box x="30*mm" y="100*cm" z="100*cm"/> <position x="-4*cm" y="0" z="0"/> <rotation x="0" y="0" z="0"/> </detector> </detectors> <readouts> <readout name="SiliconUpperHits"> <segmentation type="CartesianGridXY" grid_size_x="5*mm" grid_size_y="5*mm"/> <id>system:8,x:24:-12,y:-12</id> </readout> <readout name="SiliconDownHits"> <segmentation type="CartesianGridXY" grid_size_x="5*mm" grid_size_y="5*mm"/> <id>system:8,x:24:-12,y:-12</id> </readout> </readouts> <fields> <field name="GlobalSolenoid" type="solenoid" inner_field="5.0*tesla" outer_field="-1.5*tesla" zmax="2*m" outer_radius="3*m"> </field> </fields> </lccdd>