Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <lccdd>
0002   <!-- Verify transparency handling of ROOT:
0003 
0004        For details see: examples/ClientTests/compact/visTestEx.xml
0005        Also see compact/visTestEx.xml for more explanations
0006 
0007   -->
0008   <define>
0009     <constant name="world_x" value="1*m"/>
0010     <constant name="world_y" value="1*m"/>
0011     <constant name="world_z" value="1*m"/>
0012     <constant name="tracker_region_rmax" value="1*m"/>
0013     <constant name="tracker_region_zmax" value="1*m"/>
0014     <constant name="tracker_region_zmin" value="-1*m"/>
0015   </define>
0016 
0017   <includes>
0018     <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0019     <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0020   </includes>
0021   
0022   <display>
0023     <vis name="green" alpha="0.2" r= "0.0" g="1.0" b="0.0" />
0024     <vis name="blue"  alpha="0.6" r= "0.0" g="0.0" b="1.0" />
0025     <vis name="red"   alpha="1.0" r= "1.0" g="0.0" b="0.0" />
0026   </display>
0027 
0028   <detectors>
0029     <detector name="Tube1" type="DD4hep_TubeSegment" vis="green">
0030       <material name="Air"/>
0031       <tubs rmin="0" rmax="1*cm" zhalf="2*cm"/>
0032       <position x="0*cm" y="-4*cm" z="0"/>
0033       <rotation x="0" y="0" z="0"/>
0034     </detector>
0035 
0036     <detector name="Tube2" type="DD4hep_TubeSegment" vis="blue">
0037       <material name="Iron"/>
0038       <tubs rmin="0" rmax="1*cm" zhalf="2*cm"/>
0039       <position x="0*cm" y="0*cm" z="0"/>
0040       <rotation x="0" y="0" z="0"/>
0041     </detector>
0042 
0043     <detector name="Tube3" type="DD4hep_TubeSegment" vis="red">
0044       <material name="Iron"/>
0045       <tubs rmin="0" rmax="1*cm" zhalf="2*cm"/>
0046       <position x="0*cm" y="4*cm" z="0"/>
0047       <rotation x="0" y="0" z="0"/>
0048     </detector>
0049   </detectors>
0050 
0051 </lccdd>