Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/Test_2ndHeader.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     <file  ref="not_allowed_second_header.xml"/>
0019   </includes>
0020   
0021   <define>
0022     <!--  Define the world box  -->
0023     <constant name="world_side"     value="50000*mm"/>
0024     <constant name="world_x"        value="world_side"/>
0025     <constant name="world_y"        value="world_side"/>
0026     <constant name="world_z"        value="world_side"/>
0027   </define>
0028 
0029   <display>
0030     <vis name="MyVis" alpha="1" r="0.5" g="0.5" b="0.5" showDaughters="true" visible="true"/>
0031   </display>
0032 
0033   <detectors>
0034     <detector name="OnlyDet" type="DD4hep_VolumeAssembly" parent="/world" vis="MyVis">
0035       <envelope material="Air">
0036         <position x="0.0*mm" y="0.0*mm" z="12110.0*mm"/>
0037         <shape type="Assembly" name="shape-test"/>
0038       </envelope>
0039       <position x="0.0*mm" y="0.0*mm" z="12110.0*mm"/>
0040 
0041       <volume name="MyVolume" material = "Air" vis="OnlyDet:Support">
0042         <shape type="Box" name = "MyBox" dx = "1*m" dy = "1*m" dz = "1*m"/>
0043       </volume>
0044     </detector>
0045   </detectors>
0046 
0047 </lccdd>