Geant4 Cross Reference |
1 <?xml version="1.0" encoding="UTF-8"?> 2 <xs:schema attributeFormDefault="unqualified" 3 <xs:include schemaLocation="gdml_core.xsd"/> 4 <xs:include schemaLocation="gdml_define.xsd" 5 <xs:include schemaLocation="gdml_materials.x 6 <xs:include schemaLocation="gdml_solids.xsd" 7 <xs:include schemaLocation="gdml_replicas.xs 8 <xs:include schemaLocation="gdml_parameteris 9 <xs:include schemaLocation="gdml_extensions. 10 <!-- +++++++++++++++++++++++++++++++++++++++ 11 <xs:complexType abstract="true" name="Identi 12 <xs:attribute name="name" type="xs:ID" use 13 </xs:complexType> 14 <!-- +++++++++++++++++++++++++++++++++++++++ 15 <xs:complexType name="SinglePlacementType"> 16 <xs:annotation> 17 <xs:documentation>Represents a single un 18 in geometrical hierarchy</xs:documenta 19 </xs:annotation> 20 <xs:sequence> 21 <xs:choice minOccurs="1"> 22 <xs:element name="file" type="FileReferenceT 23 <xs:element name="volumeref" type="Reference 24 </xs:choice> 25 <xs:choice minOccurs="0"> 26 <xs:element name="position" type="positionTy 27 <xs:element name="positionref" type="Referen 28 </xs:choice> 29 <xs:choice minOccurs="0"> 30 <xs:element name="rotation" type="rotationTy 31 <xs:element name="rotationref" type="Referen 32 </xs:choice> 33 <xs:choice minOccurs="0"> 34 <xs:element name="scale" type="scaleType"/> 35 <xs:element name="scaleref" type="ReferenceT 36 </xs:choice> 37 </xs:sequence> 38 <xs:attribute name="name" type="xs:ID"></x 39 <xs:attribute name="copynumber" type="xs:i 40 </xs:complexType> 41 <!-- +++++++++++++++++++++++++++++++++++++++ 42 <xs:complexType name="DivisionPlacementType" 43 <xs:annotation> 44 <xs:documentation>Represents a division 45 in geometrical hierarchy</xs:documenta 46 </xs:annotation> 47 <xs:sequence> 48 <xs:element name="volumeref" type="Refer 49 </xs:sequence> 50 <xs:attribute name="axis" type="xs:string" 51 <xs:attribute name="number" type="Expressi 52 <xs:attribute name="width" type="Expressio 53 <xs:attribute name="offset" type="Expressi 54 <xs:attribute default="mm" name="unit" typ 55 </xs:complexType> 56 <!-- +++++++++++++++++++++++++++++++++++++++ 57 <xs:complexType name="VolumeType"> 58 <xs:annotation> 59 <xs:documentation>Represents a top of a 60 None of its children can coincide with 61 Two different placements of the same l 62 hierarchies in space</xs:documentation 63 </xs:annotation> 64 <xs:complexContent> 65 <xs:extension base="IdentifiableVolumeTy 66 <xs:sequence> 67 <xs:element name="materialref" type="Refer 68 <xs:element name="solidref" type="Referenc 69 <xs:choice minOccurs="0"> 70 <xs:element maxOccurs="unbounded" name=" 71 <xs:element maxOccurs="1" minOccurs="1" 72 <xs:element maxOccurs="1" minOccurs="1" 73 <xs:element maxOccurs="1" minOccurs="1" 74 </xs:choice> 75 <xs:element maxOccurs="unbounded" minOccur 76 <xs:element name="auxiliary" maxOccurs="un 77 </xs:sequence> 78 </xs:extension> 79 </xs:complexContent> 80 </xs:complexType> 81 <!-- +++++++++++++++++++++++++++++++++++++++ 82 <xs:complexType name="AssemblyVolumeType"> 83 <xs:annotation> 84 <xs:documentation>Allows to create a gro 85 All the volumes exits inside the same 86 they belong to 87 When assembly volume is placed all its 88 to their assembly volume 89 After the assembly volume is placed it 90 independent of each other</xs:document 91 </xs:annotation> 92 <xs:complexContent> 93 <xs:extension base="IdentifiableVolumeTy 94 <xs:choice> 95 <xs:element maxOccurs="unbounded" name="ph 96 <xs:element maxOccurs="1" minOccurs="1" re 97 <xs:element maxOccurs="1" minOccurs="1" na 98 </xs:choice> 99 </xs:extension> 100 </xs:complexContent> 101 </xs:complexType> 102 <!-- +++++++++++++++++++++++++++++++++++++++ 103 <xs:complexType name="LogicalSurfaceType"> 104 <xs:annotation> 105 <xs:documentation>Base type for logical 106 </xs:documentation> 107 </xs:annotation> 108 <xs:attribute name="name" type="xs:ID" use 109 <xs:attribute name="surfaceproperty" type= 110 </xs:complexType> 111 <!-- +++++++++++++++++++++++++++++++++++++++ 112 <xs:element abstract="true" name="Surface" t 113 <xs:annotation> 114 <xs:documentation>Abstract element for a 115 </xs:annotation> 116 </xs:element> 117 <!-- +++++++++++++++++++++++++++++++++++++++ 118 <xs:element name="bordersurface" substitutio 119 <xs:annotation> 120 <xs:documentation>Surface between two ph 121 </xs:annotation> 122 <xs:complexType> 123 <xs:complexContent> 124 <xs:extension base="LogicalSurfaceType"> 125 <xs:sequence> 126 <xs:element name="physvolref" type="Refere 127 <xs:element name="physvolref" type="Refere 128 </xs:sequence> 129 </xs:extension> 130 </xs:complexContent> 131 </xs:complexType> 132 </xs:element> 133 <!-- +++++++++++++++++++++++++++++++++++++++ 134 <xs:element name="skinsurface" substitutionG 135 <xs:annotation> 136 <xs:documentation>Surface between two ph 137 </xs:annotation> 138 <xs:complexType> 139 <xs:complexContent> 140 <xs:extension base="LogicalSurfaceType"> 141 <xs:sequence> 142 <xs:element name="volumeref" type 143 </xs:sequence> 144 </xs:extension> 145 </xs:complexContent> 146 </xs:complexType> 147 </xs:element> 148 <!-- +++++++++++++++++++++++++++++++++++++++ 149 <xs:element name="structure"> 150 <xs:annotation> 151 <xs:documentation>Definitions of a geome 152 </xs:annotation> 153 <xs:complexType> 154 <xs:sequence> 155 <xs:choice maxOccurs="unbounded"> 156 <xs:element name="volume" type="VolumeType 157 <xs:element name="assembly" type="Assembly 158 <xs:element maxOccurs="unbounded" minOccur 159 <xs:element ref="ParameterisationAlgorithm 160 </xs:choice> 161 <xs:element minOccurs="0" maxOccurs="unbound 162 </xs:sequence> 163 </xs:complexType> 164 </xs:element> 165 <!-- +++++++++++++++++++++++++++++++++++++++ 166 <xs:element name="gdml"> 167 <xs:complexType> 168 <xs:sequence> 169 <xs:element ref="define"/> 170 <xs:element ref="materials"/> 171 <xs:element ref="solids"/> 172 <xs:element ref="structure"/> 173 <xs:element minOccurs="0" maxOccurs="1" name 174 <xs:complexType> 175 <xs:sequence> 176 <xs:element maxOccurs="unbounded" minO 177 </xs:sequence> 178 </xs:complexType> 179 </xs:element> 180 181 <xs:element maxOccurs="unbounded" name="setu 182 <xs:annotation> 183 <xs:documentation>Geometry setup represe 184 a given volume which becomes the 185 </xs:annotation> 186 <xs:complexType> 187 <xs:sequence> 188 <xs:element name="world" type="Referen 189 <xs:annotation> 190 <xs:documentation>A reference to the pre 191 in the structure block cho 192 World volumme can't be an 193 </xs:annotation> 194 </xs:element> 195 </xs:sequence> 196 <xs:attribute name="name" type="xs:ID" u 197 <xs:attribute name="version" type="xs:st 198 </xs:complexType> 199 </xs:element> 200 </xs:sequence> 201 <xs:attribute fixed="3.1.7" name="versio 202 <xs:annotation> 203 <xs:documentation>The GDML Schema version 204 where these mean: 205 X - major number, increased when m 206 features or backward incompatible 207 are added and means the GDML Proce 208 allowed to refuse processing of su 209 document if this is using the more 210 version of the GDML Schema then GD 211 understands 212 Y - minor number, increased when i 213 backward compatible changes or imp 214 are made into the GDML Schema. GDM 215 should be able to process such a d 216 using higher minor version number 217 the GDML Processor 218 Z - bugfix revision number, increa 219 backward compatible changes which 220 problem in GDML Schema are applied 221 </xs:annotation> 222 </xs:attribute> 223 </xs:complexType> 224 </xs:element> 225 </xs:schema>