Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/Test_LoadDetector.xml is written in an unsupported language. File is not indexed.

0001 <lccdd>
0002 
0003   <info name="NS" title="NS" author="Test" url="https://cern.ch" status="development" version="1.0">
0004     <comment>
0005       Memory leak demonstrator
0006     </comment>
0007   </info>
0008 
0009   <debug>
0010     <type name="includes"    value="1"/>
0011     <type name="detelements" value="1"/>
0012   </debug>
0013 
0014   
0015   <includes>
0016     <file  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0017     <file  ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0018   </includes>
0019   
0020   <define>
0021     <!--  Define the world box  -->
0022     <constant name="world_side"     value="50000*mm"/>
0023     <constant name="world_x"        value="world_side"/>
0024     <constant name="world_y"        value="world_side"/>
0025     <constant name="world_z"        value="world_side"/>
0026   </define>
0027 
0028   <display>
0029     <vis name="MyVis" alpha="1" r="0.5" g="0.5" b="0.5" showDaughters="true" visible="true"/>
0030   </display>
0031 
0032   <detectors>
0033     <detector name="OnlyDet" type="DD4hep_VolumeAssembly" parent="/world" vis="MyVis">
0034       <envelope material="Air">
0035         <position x="0.0*mm" y="0.0*mm" z="12110.0*mm"/>
0036         <shape type="Assembly" name="shape-test"/>
0037       </envelope>
0038       <position x="0.0*mm" y="0.0*mm" z="12110.0*mm"/>
0039 
0040       <volume name="MyVolume" material = "Air" vis="OnlyDet:Support">
0041         <shape type="Box" name = "MyBox" dx = "1*m" dy = "1*m" dz = "1*m"/>
0042       </volume>
0043     </detector>
0044   </detectors>
0045 
0046 </lccdd>