[807] | 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 | <constant name="XLength" value="100"/> |
---|
| 7 | <constant name="YLength" value="200"/> |
---|
| 8 | <constant name="ZLength" value="300"/> |
---|
| 9 | <position name="XBoxPos" x="XLength/2"/> |
---|
| 10 | <position name="YBoxPos" y="YLength/2"/> |
---|
| 11 | <position name="ZBoxPos" z="ZLength/2"/> |
---|
| 12 | <position name="XArrowPos" x="XLength"/> |
---|
| 13 | <position name="YArrowPos" y="YLength"/> |
---|
| 14 | <position name="ZArrowPos" z="ZLength"/> |
---|
| 15 | <rotation name="XArrowRot" y="-90" unit="deg"/> |
---|
| 16 | <rotation name="YArrowRot" x="90" unit="deg"/> |
---|
| 17 | <rotation name="ZArrowRot" unit="deg"/> |
---|
| 18 | <position name="v1" x="+10" y="+10" z="0"/> |
---|
| 19 | <position name="v2" x="-10" y="+10" z="0"/> |
---|
| 20 | <position name="v3" x="-10" y="-10" z="0"/> |
---|
| 21 | <position name="v4" x="+10" y="-10" z="0"/> |
---|
| 22 | <position name="v5" x="0" y="0" z="30"/> |
---|
| 23 | </define> |
---|
| 24 | |
---|
| 25 | <materials> |
---|
| 26 | <material Z="1.0" name="AIR"> |
---|
| 27 | <D value="1e-25"/> |
---|
| 28 | <atom value="1.00794"/> |
---|
| 29 | </material> |
---|
| 30 | <material name="ALU" Z="13.0"> |
---|
| 31 | <D value="2.70"/> |
---|
| 32 | <atom value="26.98"/> |
---|
| 33 | </material> |
---|
| 34 | </materials> |
---|
| 35 | |
---|
| 36 | <solids> |
---|
| 37 | <box name="WorldBox" x="2000" y="2000" z="2000"/> |
---|
| 38 | <box name="XBox" x="100" y="005" z="005"/> |
---|
| 39 | <box name="YBox" x="005" y="200" z="005"/> |
---|
| 40 | <box name="ZBox" x="005" y="005" z="300"/> |
---|
| 41 | <box name="Origin" x="10" y="10" z="10"/> |
---|
| 42 | <tessellated name="Arrow"> |
---|
| 43 | <quadrangular vertex1="v1" vertex2="v2" vertex3="v3" vertex4="v4"/> |
---|
| 44 | <triangular vertex1="v1" vertex2="v2" vertex3="v5"/> |
---|
| 45 | <triangular vertex1="v2" vertex2="v3" vertex3="v5"/> |
---|
| 46 | <triangular vertex1="v3" vertex2="v4" vertex3="v5"/> |
---|
| 47 | <triangular vertex1="v4" vertex2="v1" vertex3="v5"/> |
---|
| 48 | </tessellated> |
---|
| 49 | </solids> |
---|
| 50 | |
---|
| 51 | <structure> |
---|
| 52 | |
---|
| 53 | <volume name="vXBox"> |
---|
| 54 | <materialref ref="ALU"/> |
---|
| 55 | <solidref ref="XBox"/> |
---|
| 56 | </volume> |
---|
| 57 | <volume name="vYBox"> |
---|
| 58 | <materialref ref="ALU"/> |
---|
| 59 | <solidref ref="YBox"/> |
---|
| 60 | </volume> |
---|
| 61 | <volume name="vZBox"> |
---|
| 62 | <materialref ref="ALU"/> |
---|
| 63 | <solidref ref="ZBox"/> |
---|
| 64 | </volume> |
---|
| 65 | <volume name="vOrigin"> |
---|
| 66 | <materialref ref="ALU"/> |
---|
| 67 | <solidref ref="Origin"/> |
---|
| 68 | </volume> |
---|
| 69 | <volume name="vArrow"> |
---|
| 70 | <materialref ref="ALU"/> |
---|
| 71 | <solidref ref="Arrow"/> |
---|
| 72 | </volume> |
---|
| 73 | |
---|
| 74 | <volume name="TOP"> |
---|
| 75 | <materialref ref="AIR"/> |
---|
| 76 | <solidref ref="WorldBox"/> |
---|
| 77 | <physvol> |
---|
| 78 | <volumeref ref="vXBox"/> |
---|
| 79 | <positionref ref="XBoxPos"/> |
---|
| 80 | </physvol> |
---|
| 81 | <physvol> |
---|
| 82 | <volumeref ref="vYBox"/> |
---|
| 83 | <positionref ref="YBoxPos"/> |
---|
| 84 | </physvol> |
---|
| 85 | <physvol> |
---|
| 86 | <volumeref ref="vZBox"/> |
---|
| 87 | <positionref ref="ZBoxPos"/> |
---|
| 88 | </physvol> |
---|
| 89 | <physvol> |
---|
| 90 | <volumeref ref="vOrigin"/> |
---|
| 91 | </physvol> |
---|
| 92 | <physvol> |
---|
| 93 | <volumeref ref="vArrow"/> |
---|
| 94 | <rotationref ref="XArrowRot"/> |
---|
| 95 | <positionref ref="XArrowPos"/> |
---|
| 96 | </physvol> |
---|
| 97 | <physvol> |
---|
| 98 | <volumeref ref="vArrow"/> |
---|
| 99 | <rotationref ref="YArrowRot"/> |
---|
| 100 | <positionref ref="YArrowPos"/> |
---|
| 101 | </physvol> |
---|
| 102 | <physvol> |
---|
| 103 | <volumeref ref="vArrow"/> |
---|
| 104 | <rotationref ref="ZArrowRot"/> |
---|
| 105 | <positionref ref="ZArrowPos"/> |
---|
| 106 | </physvol> |
---|
| 107 | </volume> |
---|
| 108 | </structure> |
---|
| 109 | |
---|
| 110 | <setup version="1.0" name="Default"> |
---|
| 111 | <world ref="TOP"/> |
---|
| 112 | </setup> |
---|
| 113 | |
---|
| 114 | </gdml> |
---|