Warning, /DD4hep/examples/ClientTests/compact/visTestEx.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
0006 This is the same content as visTest.xml BUT:
0007 The construction sequence of the tubes is inversed.
0008 With ROOT >= 6.29.1 we want to see the same picture,
0009 which was not the case with ROOT < 6.29.1
0010
0011 Also see compact/visTest.xml
0012 Also see scripts/visTest.C
0013 -->
0014 <define>
0015 <constant name="world_x" value="1*m"/>
0016 <constant name="world_y" value="1*m"/>
0017 <constant name="world_z" value="1*m"/>
0018 <constant name="tracker_region_rmax" value="1*m"/>
0019 <constant name="tracker_region_zmax" value="1*m"/>
0020 <constant name="tracker_region_zmin" value="-1*m"/>
0021 </define>
0022
0023 <includes>
0024 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0025 <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0026 </includes>
0027
0028 <display>
0029 <vis name="green" alpha="0.2" r= "0.0" g="1.0" b="0.0" />
0030 <vis name="blue" alpha="0.6" r= "0.0" g="0.0" b="1.0" />
0031 <vis name="red" alpha="1.0" r= "1.0" g="0.0" b="0.0" />
0032 </display>
0033
0034 <detectors>
0035 <detector name="Tube3" type="DD4hep_TubeSegment" vis="red">
0036 <material name="Iron"/>
0037 <tubs rmin="0" rmax="1*cm" zhalf="2*cm"/>
0038 <position x="0*cm" y="4*cm" z="0"/>
0039 <rotation x="0" y="0" z="0"/>
0040 </detector>
0041
0042 <detector name="Tube2" type="DD4hep_TubeSegment" vis="blue">
0043 <material name="Iron"/>
0044 <tubs rmin="0" rmax="1*cm" zhalf="2*cm"/>
0045 <position x="0*cm" y="0*cm" z="0"/>
0046 <rotation x="0" y="0" z="0"/>
0047 </detector>
0048
0049 <detector name="Tube1" type="DD4hep_TubeSegment" vis="green">
0050 <material name="Air"/>
0051 <tubs rmin="0" rmax="1*cm" zhalf="2*cm"/>
0052 <position x="0*cm" y="-4*cm" z="0"/>
0053 <rotation x="0" y="0" z="0"/>
0054 </detector>
0055 </detectors>
0056
0057 </lccdd>