Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
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 
0004   <define>
0005    <position name="union_position2" x="10" y="0" z="75.0" unit="mm"/>
0006    <rotation name="union_rotation2" z="30" unit="deg"/>
0007   </define>
0008 
0009   <materials>
0010     <material Z="13" name="ALU" state="solid">
0011       <D unit="g/cm3" value="2.7"/>
0012       <atom unit="g/mole" value="26.98"/>
0013     </material>
0014     <material Z="1" name="AIR" state="gas">
0015       <D unit="g/cm3" value="1e-24"/>
0016       <atom unit="g/mole" value="1.00794"/>
0017     </material>
0018   </materials>
0019 
0020   <solids>
0021    
0022     <box lunit="mm" name="WorldBox" x="1000" y="1000" z="1000"/>
0023     <box lunit="mm" name="box_first" x="1" y="5" z="20" />
0024     <box lunit="mm" name="box_second" x="4" y="4.5" z="18" />
0025     <multiUnion name="multiu" >
0026       <multiUnionNode name="node-1">
0027         <solid ref="box_first"/>
0028       </multiUnionNode>
0029       <multiUnionNode name="node-2">
0030         <solid ref="box_second"/>
0031         <positionref ref="union_position2" />
0032         <rotationref ref="union_rotation2" />
0033       </multiUnionNode>
0034     </multiUnion>
0035   </solids>
0036 
0037   <structure>
0038     <volume name="lvmultiunion">
0039       <materialref ref="ALU"/>
0040       <solidref ref="multiu"/>
0041     </volume>
0042    
0043     <volume name="TOP">
0044       <materialref ref="AIR"/>
0045       <solidref ref="WorldBox"/>
0046       <physvol name="lvCube_phys">
0047         <volumeref ref="lvmultiunion"/>
0048       </physvol>
0049     </volume>
0050   </structure>
0051 
0052   <setup name="Default" version="1.0">
0053     <world ref="TOP"/>
0054   </setup>
0055 
0056 </gdml>