Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/Check_Shape_Box_Reflect_DetElement.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="AssemblyDetector" parent="/world" type="DD4hep_VolumeAssembly" vis="ShapeGray_vis_50">
0021       <envelope material="Air">
0022         <shape name="BiggerBox" type="Box" dx="100*cm" dy="100*cm" dz="100*cm"/>
0023       </envelope>
0024       <position x="0*cm" y="0*cm" z="0*cm"/>
0025       <volume name="lvSmallerBox1" material="Air" vis="Shape1_vis">
0026         <shape type="Box" dx="5*cm" dy="5*cm" dz="5*cm"/>
0027       </volume>
0028       <volume name="lvSmallerBox2" material="Air" vis="Shape2_vis">
0029         <shape type="Box" dx="10*cm" dy="10*cm" dz="10*cm"/>
0030       </volume>
0031       <volume name="lvSmallerBox3" material="Air" vis="Shape3_vis">
0032         <shape type="Box" dx="20*cm" dy="20*cm" dz="20*cm"/>
0033       </volume>
0034       <physvol element="Smaller1" volume="lvSmallerBox1">
0035         <position x="0*cm" y="0*cm" z="0*cm"/>
0036       </physvol>
0037       <physvol element="Smaller2" volume="lvSmallerBox2">
0038         <position x="-90*cm" y="-90*cm" z="-90*cm"/>
0039       </physvol>
0040       <physvol element="Smaller3" volume="lvSmallerBox3">
0041         <position x="80*cm" y="80*cm" z="80*cm"/>
0042       </physvol>
0043     </detector>
0044     <detector id="2" name="AssemblyReflected_Z" type="DD4hep_ReflectedDetector" sdref="AssemblyDetector">
0045       <reflect type="Z"/>
0046       <position x="0*cm" y="0*cm" z="-200*cm"/>
0047     </detector>
0048     <detector id="3" name="AssemblyReflected_Y" type="DD4hep_ReflectedDetector" sdref="AssemblyDetector">
0049       <reflect type="Y"/>
0050       <position x="0*cm" y="200*cm" z="0*cm"/>
0051     </detector>
0052     <detector id="4" name="AssemblyReflected_X" type="DD4hep_ReflectedDetector" sdref="AssemblyDetector">
0053       <reflect type="X"/>
0054       <position x="200*cm" y="0*cm" z="0*cm"/>
0055     </detector>
0056   </detectors>
0057 </lccdd>