Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/persistency/gdml/G01/scaledTube.gdml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8" ?>
0002 <gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd">
0003    <define>
0004    </define>
0005 
0006    <materials>
0007       <material Z="1.0" name="AIR">
0008          <D value="1e-24"/>
0009          <atom value="1.00794"/>
0010       </material>
0011       <material name="ALU" Z="13.0">
0012          <D value="2.70"/>
0013          <atom value="26.98"/>
0014       </material>
0015    </materials>
0016 
0017    <solids>
0018       <box y="200" x="200" lunit="cm" z="200" name="WorldBox"/>
0019       <tube z="100.0" rmax="10.0" deltaphi="360" lunit="cm" aunit="deg" name="DiamondTube"/>
0020       <xtru name="Extruded">
0021          <twoDimVertex x="0" y="0"/>
0022          <twoDimVertex x="100" y="0"/>
0023          <twoDimVertex x="0" y="200"/>
0024          <section zOrder="0" zPosition="000" xOffset="0" yOffset="0" scalingFactor="1.0"/>
0025          <section zOrder="1" zPosition="200" xOffset="0" yOffset="0" scalingFactor="0.5"/>
0026       </xtru>
0027       <scaledSolid name="DiamondScaledTube">
0028          <solidref ref="DiamondTube"/>
0029          <scale name="ScaleTube" x="1" y="2" z="1"/>
0030       </scaledSolid>
0031    </solids>
0032 
0033    <structure>
0034       <volume name="VExtruded">
0035          <materialref ref="ALU"/>
0036          <solidref ref="Extruded"/>
0037       </volume>
0038       <volume name="VDiamondTube">
0039          <materialref ref="ALU"/>
0040          <solidref ref="DiamondScaledTube"/>
0041          <physvol>
0042             <volumeref ref="VExtruded"/>
0043             <scale name="ScalePPP" x="+1" y="+1" z="+1"/>
0044          </physvol>
0045          <physvol>
0046             <volumeref ref="VExtruded"/>
0047             <scale name="ScaleNPP" x="-1" y="+1" z="+1"/>
0048          </physvol>
0049          <physvol>
0050             <volumeref ref="VExtruded"/>
0051             <scale name="ScalePNP" x="+1" y="-1" z="+1"/>
0052          </physvol> 
0053          <physvol>
0054             <volumeref ref="VExtruded"/>
0055             <scale name="ScaleNNP" x="-1" y="-1" z="+1"/>
0056          </physvol>
0057          <physvol>
0058             <volumeref ref="VExtruded"/>
0059             <scale name="ScalePPN" x="+1" y="+1" z="-1"/>
0060          </physvol>
0061          <physvol>
0062             <volumeref ref="VExtruded"/>
0063             <scale name="ScalePNN" x="+1" y="-1" z="-1"/>
0064          </physvol>
0065          <physvol>
0066             <volumeref ref="VExtruded"/>
0067             <scale name="ScaleNPN" x="-1" y="+1" z="-1"/>
0068          </physvol>
0069          <physvol>
0070             <volumeref ref="VExtruded"/>
0071             <scale name="ScaleNNN" x="-1" y="-1" z="-1"/>
0072          </physvol>
0073       </volume>
0074       <volume name="VMother">
0075          <materialref ref="ALU"/>
0076          <solidref ref="WorldBox"/>
0077          <physvol>
0078             <volumeref ref="VDiamondTube"/>
0079             <position name="pos" x="200"/>
0080             <rotation name="rot" z="30" unit="deg"/>
0081          </physvol>
0082       </volume>
0083       <volume name="TOP">
0084          <materialref ref="AIR"/>
0085          <solidref ref="WorldBox"/>
0086          <physvol>
0087             <volumeref ref="VMother"/>
0088          </physvol>
0089          <physvol>
0090             <volumeref ref="VMother"/>
0091             <scale name="scl2" x="-1" y="1" z="1"/>
0092          </physvol>
0093       </volume>
0094    </structure>
0095 
0096    <setup version="1.0" name="Default">
0097       <world ref="TOP"/>
0098    </setup>
0099 
0100 </gdml>