Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/persistency/gdml/G01/scale.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       <box y="41" x="21" lunit="cm" z="100" name="DiamondBox"/>
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    </solids>
0028 
0029    <structure>
0030       <volume name="VExtruded">
0031          <materialref ref="ALU"/>
0032          <solidref ref="Extruded"/>
0033       </volume>
0034       <volume name="VDiamond">
0035          <materialref ref="ALU"/>
0036          <solidref ref="DiamondBox"/>
0037          <physvol>
0038             <volumeref ref="VExtruded"/>
0039             <scale name="ScalePPP" x="+1" y="+1" z="+1"/>
0040          </physvol>
0041          <physvol>
0042             <volumeref ref="VExtruded"/>
0043             <scale name="ScaleNPP" x="-1" y="+1" z="+1"/>
0044          </physvol>
0045          <physvol>
0046             <volumeref ref="VExtruded"/>
0047             <scale name="ScalePNP" x="+1" y="-1" z="+1"/>
0048          </physvol> 
0049          <physvol>
0050             <volumeref ref="VExtruded"/>
0051             <scale name="ScaleNNP" x="-1" y="-1" z="+1"/>
0052          </physvol>
0053          <physvol>
0054             <volumeref ref="VExtruded"/>
0055             <scale name="ScalePPN" x="+1" y="+1" z="-1"/>
0056          </physvol>
0057          <physvol>
0058             <volumeref ref="VExtruded"/>
0059             <scale name="ScalePNN" x="+1" y="-1" z="-1"/>
0060          </physvol>
0061          <physvol>
0062             <volumeref ref="VExtruded"/>
0063             <scale name="ScaleNPN" x="-1" y="+1" z="-1"/>
0064          </physvol>
0065          <physvol>
0066             <volumeref ref="VExtruded"/>
0067             <scale name="ScaleNNN" x="-1" y="-1" z="-1"/>
0068          </physvol>
0069       </volume>
0070       <volume name="VMother">
0071          <materialref ref="ALU"/>
0072          <solidref ref="WorldBox"/>
0073          <physvol>
0074             <volumeref ref="VDiamond"/>
0075             <position name="pos" x="200"/>
0076             <rotation name="rot" z="30" unit="deg"/>
0077          </physvol>
0078       </volume>
0079       <volume name="TOP">
0080          <materialref ref="AIR"/>
0081          <solidref ref="WorldBox"/>
0082          <physvol>
0083             <volumeref ref="VMother"/>
0084          </physvol>
0085          <physvol>
0086             <volumeref ref="VMother"/>
0087             <scale name="scl" x="-1" y="1" z="1"/>
0088          </physvol>
0089       </volume>
0090    </structure>
0091 
0092    <setup version="1.0" name="Default">
0093       <world ref="TOP"/>
0094    </setup>
0095 
0096 </gdml>