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 10.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /persistency/gdml/schema/gdml.xsd (Version 11.3.0) and /persistency/gdml/schema/gdml.xsd (Version 5.2)


  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>