Warning, /DD4hep/examples/DDCAD/compact/DD4hep_Issue_1134.xml is written in an unsupported language. File is not indexed.
0001 <lccdd>
0002 <!-- #==========================================================================
0003 # AIDA Detector description implementation
0004 #==========================================================================
0005 # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0006 # All rights reserved.
0007 #
0008 # For the licensing terms see $DD4hepINSTALL/LICENSE.
0009 # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0010 #
0011 #==========================================================================
0012
0013 -->
0014
0015 <info name= "DDCAD_test"
0016 title= "Checking issue 1134"
0017 author= "Markus Frank"
0018 url= "http://www.cern.ch/lhcb"
0019 status= "development"
0020 version="1.0">
0021 <comment>CAD Shape tester</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="DefaultMaterial">
0031 <D value="7.85" unit="g/cm3"/>
0032 <fraction n="0.998" ref="Fe"/>
0033 <fraction n=".002" ref="C"/>
0034 </material>
0035 <material name="Material01">
0036 <D value="7.85" unit="g/cm3"/>
0037 <fraction n="1.0" ref="Fe"/>
0038 </material>
0039 </materials>
0040
0041
0042 <define>
0043 <constant name="world_side" value="15*m"/>
0044 <constant name="world_x" value="world_side"/>
0045 <constant name="world_y" value="world_side"/>
0046 <constant name="world_z" value="world_side"/>
0047 <constant name="unit_length" value="1*10"/>
0048 <constant name="unit_pos" value="unit_length/10"/>
0049 <constant name="CheckShape_create" value="0"/>
0050 <constant name="tracker_region_zmax" value="15*m"/>
0051 <constant name="tracker_region_rmax" value="5*m"/>
0052 </define>
0053
0054 <display>
0055 <vis name="InvisibleNoDaughters" showDaughters="false" visible="false"/>
0056 <vis name="InvisibleWithDaughters" showDaughters="true" visible="false"/>
0057 <vis name="Shape1_vis_20" alpha="0.2" r="0.9" g="0.8" b="0.8" showDaughters="true" visible="true"/>
0058 <vis name="ShapeGray_vis_50" alpha="0.5" r="0.9" g="0.8" b="0.8" showDaughters="true" visible="true"/>
0059 <vis name="Shape0_vis" alpha="1.0" r="0" g="1" b="1" showDaughters="true" visible="true"/>
0060 <vis name="Shape1_vis" alpha="1.0" r="1" g="0" b="0" showDaughters="true" visible="true"/>
0061 <vis name="Shape2_vis" alpha="1.0" r="0" g="1" b="0" showDaughters="true" visible="true"/>
0062 <vis name="Shape3_vis" alpha="1.0" r="0" g="0" b="1" showDaughters="true" visible="true"/>
0063 <vis name="Shape_grey" alpha="0.5" r="0.0" g="0.4" b="0.4" showDaughters="true" visible="true"/>
0064 </display>
0065
0066 <detectors>
0067 <detector id="1" name="Shape_STL" type="DD4hep_TestShape_Creator">
0068 <check>
0069 <shape type="CAD_MultiVolume"
0070 ref="${DD4hepExamplesINSTALL}/examples/DDCAD/models/STL/DD4hep_Issue_1134.stl"
0071 unit="cm">
0072 <volume id="0" name="s1" vis="Shape3_vis" material="Gold"/>
0073 <position x="1050*mm" y="-28*mm" z="-338*mm"/>
0074 <rotation x="0*pi/8*rad" y="-4*pi/8*rad" z="0*rad"/>
0075 </shape>
0076 </check>
0077
0078 </detector>
0079 </detectors>
0080 </lccdd>