Warning, /DD4hep/examples/ClientTests/compact/MultiSegmentCollections.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="Nested_Detectors_test"
0016 title="Test for nested detector descriptions"
0017 author="Markus Frank"
0018 url="None"
0019 status="development"
0020 version="$Id: compact.xml 1374 2014-11-05 10:49:55Z markus.frank@cern.ch $">
0021 <comment>Test for nested detector descriptions</comment>
0022 </info>
0023
0024 <includes>
0025 <gdmlFile ref="${DDDetectors_dir}/elements.xml"/>
0026 <gdmlFile ref="${DDDetectors_dir}/materials.xml"/>
0027 </includes>
0028
0029 <define>
0030 <constant name="world_side" value="30000*mm"/>
0031 <constant name="world_x" value="world_side"/>
0032 <constant name="world_y" value="world_side"/>
0033 <constant name="world_z" value="world_side"/>
0034 <constant name="DDDetectors_dir" value="${DD4hepINSTALL}/DDDetectors/compact" type="string"/>;
0035 <constant name="SiD_dir" value="${DDDetectors_dir}/SiD" type="string"/>;
0036 </define>
0037
0038 <display>
0039 <vis name="InvisibleNoDaughters" showDaughters="false" visible="false"/>
0040 <vis name="InvisibleWithDaughters" showDaughters="true" visible="false"/>
0041 <vis name="BlueVis" alpha="1" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
0042 </display>
0043
0044 <!-- ================================================================== -->
0045 <!-- Simple calorimeter with a couple of layers -->
0046 <!-- ================================================================== -->
0047 <detectors>
0048 <detector id="13" name="TestCal" reflect="true" type="DD4hep_CylindricalEndcapCalorimeter" readout="TestCalHits" vis="BlueVis">
0049 <comment>Test Calorimeter</comment>
0050 <dimensions inner_r = "0.1*m" outer_r="2*m" inner_z = "2*m"/>
0051 <layer repeat="15" >
0052 <slice material = "Silicon" thickness = "0.032*cm" sensitive = "yes" />
0053 <slice material = "Copper" thickness = "0.005*cm" />
0054 <slice material = "Air" thickness = "0.033*cm" />
0055 </layer>
0056 </detector>
0057 </detectors>
0058
0059 <!-- ================================================================== -->
0060 <!-- Associated readout structures for the calorimeter -->
0061 <!-- ================================================================== -->
0062 <readouts>
0063 <readout name="TestCalHits">
0064 <segmentation type="MultiSegmentation" key="layer">
0065 <segmentation name="Layer1grid" type="CartesianGridXY" key_min="0x1" key_max="4" grid_size_x="0.1*cm" grid_size_y="0.1*cm" />
0066 <segmentation name="Layer2grid" type="CartesianGridXY" key_value="5" grid_size_x="0.2*cm" grid_size_y="0.2*cm" />
0067 <segmentation name="Layer3grid" type="CartesianGridXY" key_min="0x6" key_max="0xFF" grid_size_x="0.3*cm" grid_size_y="0.3*cm" />
0068 </segmentation>
0069 <hits_collections>
0070 <hits_collection name="TestCallInnerLayerHits" key="layer" key_value="0x1"/>
0071 <hits_collection name="TestCallMiddleLayerHits" key="layer" key_min="2" key_max="5"/>
0072 <hits_collection name="TestCallOuterLayerHits" key="layer" key_min="0x6" key_max="0xFF"/>
0073 </hits_collections>
0074 <id>system:8,barrel:3,layer:8,slice:8,x:32:-16,y:-16</id>
0075 </readout>
0076 </readouts>
0077 </lccdd>