| 1 | <?xml version="1.0" encoding="UTF-8" ?>
|
|---|
| 2 | <gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gdml="http://cern.ch/2001/Schemas/GDML"
|
|---|
| 3 | xsi:noNamespaceSchemaLocation="/afs/cern.ch/user/z/ztorzsok/scratch0/GDML2/GDMLSchema/gdml.xsd">
|
|---|
| 4 |
|
|---|
| 5 | <define>
|
|---|
| 6 | <position name="DiamondPos" x="100" y="0"/>
|
|---|
| 7 | <rotation name="DiamondRot" z="30" unit="deg"/>
|
|---|
| 8 | <scale name="DiamondScl" x="-1" y="+1" z="+1"/>
|
|---|
| 9 | </define>
|
|---|
| 10 |
|
|---|
| 11 | <materials>
|
|---|
| 12 | <material Z="1.0" name="AIR">
|
|---|
| 13 | <D value="1e-25"/>
|
|---|
| 14 | <atom value="1.00794"/>
|
|---|
| 15 | </material>
|
|---|
| 16 | <material name="ALU" Z="13.0">
|
|---|
| 17 | <D value="2.70"/>
|
|---|
| 18 | <atom value="26.98"/>
|
|---|
| 19 | </material>
|
|---|
| 20 | </materials>
|
|---|
| 21 |
|
|---|
| 22 | <solids>
|
|---|
| 23 | <box y="200" x="200" lunit="cm" z="200" name="WorldBox"/>
|
|---|
| 24 | <xtru name="Extruded">
|
|---|
| 25 | <twoDimVertex x="0" y="0"/>
|
|---|
| 26 | <twoDimVertex x="100" y="0"/>
|
|---|
| 27 | <twoDimVertex x="0" y="200"/>
|
|---|
| 28 | <section zOrder="0" zPosition="000" xOffset="0" yOffset="0" scalingFactor="1.0"/>
|
|---|
| 29 | <section zOrder="1" zPosition="200" xOffset="0" yOffset="0" scalingFactor="0.5"/>
|
|---|
| 30 | </xtru>
|
|---|
| 31 | </solids>
|
|---|
| 32 |
|
|---|
| 33 | <structure>
|
|---|
| 34 |
|
|---|
| 35 | <volume name="VExtruded">
|
|---|
| 36 | <materialref ref="ALU"/>
|
|---|
| 37 | <solidref ref="Extruded"/>
|
|---|
| 38 | </volume>
|
|---|
| 39 |
|
|---|
| 40 | <volume name="VDiamond">
|
|---|
| 41 | <materialref ref="ALU"/>
|
|---|
| 42 | <solidref ref="Extruded"/>
|
|---|
| 43 | <physvol>
|
|---|
| 44 | <volumeref ref="VExtruded"/>
|
|---|
| 45 | <scale name="ScalePPP" x="+1" y="+1" z="+1"/>
|
|---|
| 46 | </physvol>
|
|---|
| 47 | <physvol>
|
|---|
| 48 | <volumeref ref="VExtruded"/>
|
|---|
| 49 | <scale name="ScaleNPP" x="-1" y="+1" z="+1"/>
|
|---|
| 50 | </physvol>
|
|---|
| 51 | <physvol>
|
|---|
| 52 | <volumeref ref="VExtruded"/>
|
|---|
| 53 | <scale name="ScalePNP" x="+1" y="-1" z="+1"/>
|
|---|
| 54 | </physvol>
|
|---|
| 55 | <physvol>
|
|---|
| 56 | <volumeref ref="VExtruded"/>
|
|---|
| 57 | <scale name="ScalePPN" x="+1" y="+1" z="-1"/>
|
|---|
| 58 | </physvol>
|
|---|
| 59 | <physvol>
|
|---|
| 60 | <volumeref ref="VExtruded"/>
|
|---|
| 61 | <scale name="ScaleNNP" x="-1" y="-1" z="+1"/>
|
|---|
| 62 | </physvol>
|
|---|
| 63 | <physvol>
|
|---|
| 64 | <volumeref ref="VExtruded"/>
|
|---|
| 65 | <scale name="ScalePNN" x="+1" y="-1" z="-1"/>
|
|---|
| 66 | </physvol>
|
|---|
| 67 | <physvol>
|
|---|
| 68 | <volumeref ref="VExtruded"/>
|
|---|
| 69 | <scale name="ScaleNPN" x="-1" y="+1" z="-1"/>
|
|---|
| 70 | </physvol>
|
|---|
| 71 | <physvol>
|
|---|
| 72 | <volumeref ref="VExtruded"/>
|
|---|
| 73 | <scale name="ScaleNNN" x="-1" y="-1" z="-1"/>
|
|---|
| 74 | </physvol>
|
|---|
| 75 | </volume>
|
|---|
| 76 |
|
|---|
| 77 | <volume name="VMother">
|
|---|
| 78 | <materialref ref="ALU"/>
|
|---|
| 79 | <solidref ref="WorldBox"/>
|
|---|
| 80 | <physvol>
|
|---|
| 81 | <volumeref ref="VDiamond"/>
|
|---|
| 82 | <positionref ref="DiamondPos"/>
|
|---|
| 83 | <rotationref ref="DiamondRot"/>
|
|---|
| 84 | <scaleref ref="DiamondScl"/>
|
|---|
| 85 | </physvol>
|
|---|
| 86 | </volume>
|
|---|
| 87 |
|
|---|
| 88 | <volume name="TOP">
|
|---|
| 89 | <materialref ref="AIR"/>
|
|---|
| 90 | <solidref ref="WorldBox"/>
|
|---|
| 91 | <physvol>
|
|---|
| 92 | <file name="axes.gdml" volname="TOP"/>
|
|---|
| 93 | </physvol>
|
|---|
| 94 | <physvol>
|
|---|
| 95 | <volumeref ref="VMother"/>
|
|---|
| 96 | <scaleref ref="DiamondScl"/>
|
|---|
| 97 | </physvol>
|
|---|
| 98 | </volume>
|
|---|
| 99 |
|
|---|
| 100 | </structure>
|
|---|
| 101 |
|
|---|
| 102 | <setup version="1.0" name="Default">
|
|---|
| 103 | <world ref="TOP"/>
|
|---|
| 104 | </setup>
|
|---|
| 105 |
|
|---|
| 106 | </gdml>
|
|---|