Warning, /DD4hep/examples/ClientTests/compact/CheckShape.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= "ShapeCheck"
0016 title= "Checking individual shapes in D4hep by comparing the mesh vertices"
0017 author= "Markus Frank"
0018 url= "http://www.cern.ch/lhcb"
0019 status= "development"
0020 version="1.0">
0021 <comment>Shape tester</comment>
0022 </info>
0023 <geometry open="false" close="false"/>
0024
0025 <includes>
0026 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0027 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0028 </includes>
0029
0030 <materials>
0031 <material name="DefaultMaterial">
0032 <D value="7.85" unit="g/cm3"/>
0033 <fraction n="0.998" ref="Fe"/>
0034 <fraction n=".002" ref="C"/>
0035 </material>
0036 <material name="Material01">
0037 <D value="7.85" unit="g/cm3"/>
0038 <fraction n="1.0" ref="Fe"/>
0039 </material>
0040 </materials>
0041
0042
0043 <define>
0044 <constant name="world_side" value="300*cm"/>
0045 <constant name="world_x" value="world_side"/>
0046 <constant name="world_y" value="world_side"/>
0047 <constant name="world_z" value="world_side"/>
0048 <constant name="unit_length" value="1*10"/>
0049 <constant name="unit_pos" value="unit_length/10"/>
0050 <constant name="CheckShape_create" value="0"/>
0051 </define>
0052
0053 <display>
0054 <vis name="InvisibleNoDaughters" showDaughters="false" visible="false"/>
0055 <vis name="InvisibleWithDaughters" showDaughters="true" visible="false"/>
0056 <vis name="Shape1_vis_20" alpha="0.2" r="0.9" g="0.8" b="0.8" showDaughters="true" visible="true"/>
0057 <vis name="ShapeGray_vis_50" alpha="0.5" r="0.9" g="0.8" b="0.8" showDaughters="true" visible="true"/>
0058 <vis name="Shape0_vis" alpha="1.0" r="0" g="1" b="1" showDaughters="true" visible="true"/>
0059 <vis name="Shape1_vis" alpha="1.0" r="1" g="0" b="0" showDaughters="true" visible="true"/>
0060 <vis name="Shape2_vis" alpha="1.0" r="0" g="1" b="0" showDaughters="true" visible="true"/>
0061 <vis name="Shape3_vis" alpha="1.0" r="0" g="0" b="1" showDaughters="true" visible="true"/>
0062 <vis name="Shape4_vis" alpha="1.0" r="1" g="1" b="0" showDaughters="true" visible="true"/>
0063 <vis name="Shape5_vis" alpha="1.0" r="1" g="0" b="1" showDaughters="true" visible="true"/>
0064 <vis name="Shape6_vis" alpha="1.0" r="0.5" g="0.5" b="0" showDaughters="true" visible="true"/>
0065 <vis name="Shape7_vis" alpha="1.0" r="0" g="0.5" b="0.5" showDaughters="true" visible="true"/>
0066 <vis name="Shape8_vis" alpha="0.5" r="0.0" g="0.4" b="0.4" showDaughters="true" visible="true"/>
0067 <vis name="Shape_grey" alpha="0.5" r="0.0" g="0.4" b="0.4" showDaughters="true" visible="true"/>
0068 </display>
0069
0070 <readouts>
0071 <readout name="CheckHits">
0072 <id>system:8,check:24</id>
0073 </readout>
0074 </readouts>
0075
0076 </lccdd>