Warning, /DD4hep/examples/ClientTests/compact/Check_Shape_TruncatedTube.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 <includes>
0016 <gdmlFile ref="CheckShape.xml"/>
0017 </includes>
0018
0019 <detectors>
0020 <detector id="1" name="Shape_TruncatedTube" type="DD4hep_TestShape_Creator">
0021 <check vis="Shape1_vis">
0022 <shape type="TruncatedTube" dz="50*cm" rmin="20*cm" rmax="40*cm"
0023 startphi="0*deg" deltaphi="90*deg"
0024 cutAtStart="25*cm" cutAtDelta="35*cm"
0025 cutInside="false"/>
0026 <position x="0*cm" y="0*cm" z="100*cm"/>
0027 </check>
0028 <check vis="Shape1_vis">
0029 <shape type="TruncatedTube" dz="50*cm" rmin="20*cm" rmax="40*cm"
0030 startphi="0*deg" deltaphi="90*deg"
0031 cutAtStart="25*cm" cutAtDelta="35*cm"
0032 cutInside="false"/>
0033 <position x="0*cm" y="0*cm" z="-100*cm"/>
0034 </check>
0035 <check vis="Shape2_vis">
0036 <shape type="TruncatedTube" dz="50*cm" rmin="20*cm" rmax="40*cm"
0037 startphi="0*deg" deltaphi="45*deg"
0038 cutAtStart="20*cm" cutAtDelta="30*cm"
0039 cutInside="true"/>
0040 <position x="0*cm" y="150*cm" z="-100*cm"/>
0041 </check>
0042
0043 <!-- This one for one reason or another creates a slightly different mesh on MAC than on linux
0044 (two mesh points more, the others identical). Lets remove this test.
0045 <check vis="Shape3_vis">
0046 <shape type="TruncatedTube" dz="50*cm" rmin="20*cm" rmax="40*cm"
0047 startphi="0*deg" deltaphi="150*deg"
0048 cutAtStart="20*cm" cutAtDelta="35*cm"
0049 cutInside="true"/>
0050 <position x="90*cm" y="150*cm" z="100*cm"/>
0051 </check>
0052 -->
0053
0054 <ntest type="DD4hep_Mesh_Verifier" ref="${DD4hepExamplesINSTALL}/examples/ClientTests/ref/Ref_TruncatedTube.txt" create="CheckShape_create"/>
0055 <test type="DD4hep_Mesh_Verifier" ref="${DD4hepExamplesINSTALL}/examples/ClientTests/ref/Ref_TruncatedTube.txt" create="1"/>
0056 </detector>
0057 </detectors>
0058 </lccdd>