Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/Check_Shape_PseudoTrap3.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   <define>
0016     <constant name="CheckShape_create1" value="1"/>
0017   </define>
0018   <includes>
0019     <gdmlFile ref="CheckShape.xml"/>
0020   </includes>
0021   <detectors>
0022     <detector id="1" name="Shape_PseudoTrap" type="DD4hep_TestShape_Creator">
0023 
0024       <comment>
0025       <SolidSection label="testPseudoTrapSolids.xml">
0026         <PseudoTrap name="ptrap1" dx1="10*cm" dx2="3*cm" dy1="30*cm" dy2="10*cm" dz="30*cm" radius="10*cm" atMinusZ="false"/>
0027         <PseudoTrap name="ptrap2" dx1="10*cm" dx2="3*cm" dy1="30*cm" dy2="10*cm" dz="30*cm" radius="10*cm" atMinusZ="true"/>
0028         <PseudoTrap name="ptrap3" dx1="10*cm" dx2="3*cm" dy1="30*cm" dy2="10*cm" dz="30*cm" radius="-10*cm" atMinusZ="false"/>
0029         <PseudoTrap name="ptrap4" dx1="10*cm" dx2="3*cm" dy1="30*cm" dy2="10*cm" dz="30*cm" radius="-10*cm" atMinusZ="true"/>
0030       </SolidSection>
0031       </comment>
0032       <!--   <PseudoTrap name="ptrap1" dx1="10*cm" dx2="3*cm" dy1="30*cm" dy2="10*cm" dz="30*cm" radius="10*cm" atMinusZ="false"/>     -->
0033       <check vis="Shape1_vis">
0034         <shape type="PseudoTrap" name="ptrap1" 
0035                x1="10*cm" x2="3*cm" 
0036                y1="30*cm" y2="10*cm" 
0037                z="30*cm"  radius="3*cm" minusZ="false"/>
0038         <position x="-40*cm"  y="-10*cm" z="0*cm"/>
0039         <rotation x="0*rad"   y="0*rad"  z="0*rad"/>
0040       </check>
0041       <!--   <PseudoTrap name="ptrap2" dx1="10*cm" dx2="3*cm" dy1="30*cm" dy2="10*cm" dz="30*cm" radius="10*cm" atMinusZ="true"/>     -->
0042       <check vis="Shape2_vis">
0043         <shape type="PseudoTrap" name="ptrap2" 
0044                x1="10*cm" x2="3*cm" 
0045                y1="30*cm" y2="10*cm" 
0046                z="30*cm"  radius="10*cm" minusZ="true"/>
0047         <position x="-10*cm"  y="-10*cm" z="0*cm"/>
0048         <rotation x="0*rad"   y="0*rad"  z="0*rad"/>
0049       </check>
0050 
0051       <!--   <PseudoTrap name="ptrap3" dx1="10*cm" dx2="3*cm" dy1="30*cm" dy2="10*cm" dz="30*cm" radius="-10*cm" atMinusZ="false"/>     -->
0052       <check vis="Shape3_vis">
0053         <shape type="PseudoTrap" name="ptrap3" 
0054                x1="10*cm" x2="3*cm" 
0055                y1="30*cm" y2="10*cm" 
0056                z="30*cm"  radius="-3*cm" minusZ="false"/>
0057         <position x="20*cm" y="-10*cm" z="0*cm"/>
0058         <rotation x="0*rad" y="0*rad"  z="0*rad"/>
0059       </check>
0060       <!--   <PseudoTrap name="ptrap4" dx1="10*cm" dx2="3*cm" dy1="30*cm" dy2="10*cm" dz="30*cm" radius="-10*cm" atMinusZ="true"/>     -->
0061       <check vis="Shape4_vis">
0062         <shape type="PseudoTrap" name="ptrap4" 
0063                x1="10*cm" x2="10*cm" 
0064                y1="30*cm" y2="10*cm" 
0065                z="30*cm"  radius="-10*cm" minusZ="true"/>
0066         <position x="50*cm"  y="-10*cm" z="0*cm"/>
0067         <rotation x="0*rad"  y="0*rad"  z="0*rad"/>
0068       </check>
0069       <check vis="Shape4_vis">
0070         <shape type="PseudoTrap" name="ptrap4" 
0071                x1="10*cm" x2="3*cm" 
0072                y1="30*cm" y2="10*cm" 
0073                z="30*cm"  radius="-30*cm" minusZ="true"/>
0074         <position x="80*cm" y="-10*cm" z="0*cm"/>
0075         <rotation x="0"     y="0"      z="0*rad"/>
0076       </check>
0077       <check vis="Shape1_grey">
0078         <shape type="Box" name="plane" dx="80*cm" dy="50*cm" dz="0.0001*cm"/>
0079         <position x="20*cm"  y="0*cm"   z="-30*cm"/>
0080         <rotation x="0*rad"  y="0*rad"  z="0*rad"/>
0081       </check>
0082       <test type="DD4hep_Mesh_Verifier" ref="${DD4hepExamplesINSTALL}/examples/ClientTests/ref/Ref_PseudoTrap3.txt" create="CheckShape_create"/>
0083     </detector>
0084   </detectors>
0085 </lccdd>