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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_materials.xsd (Version 11.3.0) and /persistency/gdml/schema/gdml_materials.xsd (Version 8.2)


  1 <?xml version="1.0" encoding="UTF-8"?>            
  2 <!DOCTYPE xs:schema []>                           
  3 <xs:schema attributeFormDefault="unqualified"     
  4   <!-- +++++++++++++++++++++++++++++++++++++++    
  5   <xs:include schemaLocation="gdml_core.xsd"><    
  6   <xs:include schemaLocation="gdml_define.xsd"    
  7   <xs:include schemaLocation="gdml_extensions.    
  8   <!-- Removed abstract="true" in AtomType -->    
  9   <!-- +++++++++++++++++++++++++++++++++++++++    
 10   <xs:complexType name="AtomType">                
 11     <xs:annotation>                               
 12       <xs:documentation>Atomic mass, quantity     
 13     </xs:annotation>                              
 14     <xs:complexContent>                           
 15       <xs:restriction base="QuantityType">        
 16   <xs:attribute default="g/mole" type="xs:stri    
 17   <xs:attribute fixed="A" type="xs:string" nam    
 18       </xs:restriction>                           
 19     </xs:complexContent>                          
 20   </xs:complexType>                               
 21   <!-- +++++++++++++++++++++++++++++++++++++++    
 22   <xs:complexType name="DensityType">             
 23     <xs:annotation>                               
 24       <xs:documentation>Density</xs:documentat    
 25     </xs:annotation>                              
 26     <xs:complexContent>                           
 27       <xs:restriction base="QuantityType">        
 28   <xs:attribute default="g/cm3" type="xs:strin    
 29   <xs:attribute fixed="density" type="xs:strin    
 30       </xs:restriction>                           
 31     </xs:complexContent>                          
 32   </xs:complexType>                               
 33   <!-- +++++++++++++++++++++++++++++++++++++++    
 34   <xs:group name="MaterialPropertiesGroup">       
 35     <xs:annotation>                               
 36       <xs:documentation>General material prope    
 37     </xs:annotation>                              
 38     <xs:sequence>                                 
 39     <xs:choice minOccurs="0">                     
 40       <xs:element maxOccurs="unbounded" name="    
 41         <xs:annotation>                           
 42     <xs:documentation>General material propert    
 43         </xs:annotation>                          
 44         <xs:complexType>                          
 45     <xs:complexContent>                           
 46       <xs:extension base="ReferenceType">         
 47         <xs:attribute name="name" type="xs:str    
 48       </xs:extension>                             
 49     </xs:complexContent>                          
 50         </xs:complexType>                         
 51       </xs:element>                               
 52           </xs:choice>                            
 53       <xs:choice minOccurs="0">                   
 54   <xs:element name="RL">                          
 55     <xs:annotation>                               
 56       <xs:documentation>Radiation length</xs:d    
 57     </xs:annotation>                              
 58     <xs:complexType>                              
 59       <xs:complexContent>                         
 60         <xs:restriction base="QuantityType">      
 61     <xs:attribute default="cm" type="xs:string    
 62     <xs:attribute fixed="X0" type="xs:string"     
 63         </xs:restriction>                         
 64       </xs:complexContent>                        
 65     </xs:complexType>                             
 66   </xs:element>                                   
 67   <xs:element name="RLref" type="ReferenceType    
 68     <xs:annotation>                               
 69       <xs:documentation>A reference to a previ    
 70     </xs:annotation>                              
 71   </xs:element>                                   
 72       </xs:choice>                                
 73       <xs:choice minOccurs="0">                   
 74   <xs:element name="AL">                          
 75     <xs:annotation>                               
 76       <xs:documentation>Absorption length</xs:    
 77     </xs:annotation>                              
 78     <xs:complexType>                              
 79       <xs:complexContent>                         
 80         <xs:restriction base="QuantityType">      
 81     <xs:attribute default="cm" type="xs:string    
 82     <xs:attribute fixed="lambda" type="xs:stri    
 83         </xs:restriction>                         
 84       </xs:complexContent>                        
 85     </xs:complexType>                             
 86   </xs:element>                                   
 87   <xs:element name="ALref" type="ReferenceType    
 88     <xs:annotation>                               
 89       <xs:documentation>A reference to a previ    
 90     </xs:annotation>                              
 91   </xs:element>                                   
 92       </xs:choice>                                
 93       <xs:choice minOccurs="0">                   
 94   <xs:element name="T">                           
 95     <xs:annotation>                               
 96       <xs:documentation>Temperature</xs:docume    
 97     </xs:annotation>                              
 98     <xs:complexType>                              
 99       <xs:complexContent>                         
100         <xs:restriction base="QuantityType">      
101     <xs:attribute default="K" type="xs:string"    
102     <xs:attribute fixed="temperature" type="xs    
103         </xs:restriction>                         
104       </xs:complexContent>                        
105     </xs:complexType>                             
106   </xs:element>                                   
107   <xs:element name="Tref" type="ReferenceType"    
108     <xs:annotation>                               
109       <xs:documentation>A reference to previou    
110     </xs:annotation>                              
111   </xs:element>                                   
112       </xs:choice>                                
113       <xs:choice minOccurs="0">                   
114   <xs:element name="P">                           
115     <xs:annotation>                               
116       <xs:documentation>Pressure</xs:documenta    
117     </xs:annotation>                              
118     <xs:complexType>                              
119       <xs:complexContent>                         
120         <xs:restriction base="QuantityType">      
121     <xs:attribute default="pascal" type="xs:st    
122     <xs:attribute fixed="pressure" type="xs:st    
123         </xs:restriction>                         
124       </xs:complexContent>                        
125     </xs:complexType>                             
126   </xs:element>                                   
127   <xs:element name="Pref" type="ReferenceType"    
128     <xs:annotation>                               
129       <xs:documentation>A reference to previou    
130     </xs:annotation>                              
131   </xs:element>                                   
132       </xs:choice>                                
133       <!-- new property added >>>>>>>>>>>>>>>>    
134       <xs:choice minOccurs="0">                   
135   <xs:element name="MEE">                         
136     <xs:annotation>                               
137       <xs:documentation>Ionisation potential o    
138     </xs:annotation>                              
139     <xs:complexType>                              
140       <xs:complexContent>                         
141         <xs:restriction base="QuantityType">      
142     <xs:attribute default="eV" type="xs:string    
143     <xs:attribute fixed="excitationE" type="xs    
144         </xs:restriction>                         
145       </xs:complexContent>                        
146     </xs:complexType>                             
147   </xs:element>                                   
148   <xs:element name="MEEref" type="ReferenceTyp    
149     <xs:annotation>                               
150       <xs:documentation>A reference to previou    
151     </xs:annotation>                              
152   </xs:element>                                   
153       </xs:choice>                                
154       <!-- <<<<<<<<<<<<<<<<<<<<<<<<< new prope    
155     </xs:sequence>                                
156   </xs:group>                                     
157   <!-- +++++++++++++++++++++++++++++++++++++++    
158   <xs:attributeGroup name="MaterialAttributeGr    
159     <xs:annotation>                               
160       <xs:documentation>General material attri    
161     </xs:annotation>                              
162     <xs:attribute name="name" type="xs:ID" use    
163       <xs:annotation>                             
164   <xs:documentation>Material name</xs:document    
165       </xs:annotation>                            
166     </xs:attribute>                               
167     <xs:attribute name="formula" type="xs:stri    
168       <xs:annotation>                             
169   <xs:documentation>Material chemical formula<    
170       </xs:annotation>                            
171     </xs:attribute>                               
172     <xs:attribute default="unknown" name="stat    
173       <xs:annotation>                             
174   <xs:documentation>Material physical state</x    
175       </xs:annotation>                            
176       <xs:simpleType>                             
177   <xs:restriction base="xs:NMTOKEN">              
178     <xs:enumeration value="gas"></xs:enumerati    
179     <xs:enumeration value="liquid"></xs:enumer    
180     <xs:enumeration value="solid"></xs:enumera    
181     <xs:enumeration value="unknown"></xs:enume    
182   </xs:restriction>                               
183       </xs:simpleType>                            
184     </xs:attribute>                               
185   </xs:attributeGroup>                            
186   <!-- +++++++++++++++++++++++++++++++++++++++    
187   <xs:complexType name="MaterialType">            
188     <xs:annotation>                               
189       <xs:documentation>Base type for material    
190     </xs:annotation>                              
191     <xs:group ref="MaterialPropertiesGroup"></    
192     <xs:attributeGroup ref="MaterialAttributeG    
193   </xs:complexType>                               
194   <!-- +++++++++++++++++++++++++++++++++++++++    
195   <!--                                            
196       <xs:complexType name="ComplexMaterialTyp    
197   <xs:annotation>                                 
198     <xs:documentation>                            
199             Base type for complex materials       
200     </xs:documentation>                           
201   </xs:annotation>                                
202   <xs:complexContent>                             
203     <xs:extension base="MaterialType">            
204       -->                                         
205   <!-- <xs:group ref="MaterialPropertiesGroup"    
206   <!--                                            
207       Removed from referenced attribute group     
208           <xs:attribute name="N" use="prohibit    
209           -->                                     
210   <!--                                            
211         <xs:attribute name="Z" type="xs:double    
212     <xs:annotation>                               
213       <xs:documentation>Atomic number</xs:docu    
214     </xs:annotation>                              
215       </xs:attribute>                             
216       </xs:extension>                             
217       </xs:complexContent>                        
218       </xs:complexType>                           
219  -->                                              
220   <!-- +++++++++++++++++++++++++++++++++++++++    
221   <xs:element name="materials">                   
222     <xs:annotation>                               
223       <xs:documentation>Materials description<    
224     </xs:annotation>                              
225     <xs:complexType>                              
226       <xs:choice maxOccurs="unbounded">           
227         <xs:element maxOccurs="unbounded" minO    
228   <xs:element minOccurs="0" name="define" type    
229     <xs:annotation>                               
230       <xs:documentation>Material related defin    
231               In this version of schema these     
232     </xs:annotation>                              
233   </xs:element>                                   
234   <xs:element maxOccurs="unbounded" minOccurs=    
235     <xs:annotation>                               
236       <xs:documentation>An isotope</xs:documen    
237     </xs:annotation>                              
238   </xs:element>                                   
239   <xs:element maxOccurs="unbounded" minOccurs=    
240     <xs:annotation>                               
241       <xs:documentation>A simple element or an    
242     </xs:annotation>                              
243   </xs:element>                                   
244   <xs:element maxOccurs="unbounded" minOccurs=    
245     <xs:annotation>                               
246       <xs:documentation>A composite or a mixtu    
247     </xs:annotation>                              
248   </xs:element>                                   
249       </xs:choice>                                
250     </xs:complexType>                             
251   </xs:element>                                   
252   <!-- +++++++++++++++++++++++++++++++++++++++    
253   <xs:complexType name="MaterialIsotopeType">     
254     <xs:annotation>                               
255       <xs:documentation>Exported isotope type<    
256     </xs:annotation>                              
257     <xs:complexContent>                           
258       <xs:extension base="MaterialType">          
259   <xs:sequence>                                   
260     <xs:choice minOccurs="0">                     
261       <xs:element name="D" type="DensityType">    
262         <xs:annotation>                           
263     <xs:documentation>Density quantity value</    
264         </xs:annotation>                          
265       </xs:element>                               
266       <xs:element name="Dref" type="ReferenceT    
267         <xs:annotation>                           
268     <xs:documentation>A reference to a previso    
269         </xs:annotation>                          
270       </xs:element>                               
271     </xs:choice>                                  
272     <xs:element name="atom" type="AtomType"></    
273   </xs:sequence>                                  
274   <xs:attribute name="N" type="xs:positiveInte    
275     <xs:annotation>                               
276       <xs:documentation>Number of nucleons</xs    
277     </xs:annotation>                              
278   </xs:attribute>                                 
279   <xs:attribute name="Z" type="xs:double" use=    
280     <xs:annotation>                               
281       <xs:documentation>Atomic number</xs:docu    
282     </xs:annotation>                              
283   </xs:attribute>                                 
284       </xs:extension>                             
285     </xs:complexContent>                          
286   </xs:complexType>                               
287   <!-- +++++++++++++++++++++++++++++++++++++++    
288   <xs:complexType name="MaterialElementType">     
289     <xs:annotation>                               
290       <xs:documentation>Exported material elem    
291     </xs:annotation>                              
292     <xs:complexContent>                           
293       <xs:extension base="MaterialType">          
294   <xs:sequence>                                   
295     <xs:choice minOccurs="0">                     
296       <xs:element name="D" type="DensityType">    
297         <xs:annotation>                           
298     <xs:documentation>Density quantity value</    
299         </xs:annotation>                          
300       </xs:element>                               
301       <xs:element name="Dref" type="ReferenceT    
302         <xs:annotation>                           
303     <xs:documentation>A reference to a previso    
304         </xs:annotation>                          
305       </xs:element>                               
306     </xs:choice>                                  
307     <xs:choice>                                   
308       <xs:annotation>                             
309         <xs:documentation>An element can be de    
310                 of isotopes fractions</xs:docu    
311       </xs:annotation>                            
312       <xs:element name="atom" type="AtomType">    
313       <xs:element maxOccurs="unbounded" name="    
314         <xs:annotation>                           
315     <xs:documentation>An isotope fraction of a    
316       of the isotope in the element</xs:docume    
317         </xs:annotation>                          
318         <xs:complexType>                          
319     <xs:complexContent>                           
320       <xs:extension base="ReferenceType">         
321         <xs:attribute name="n" type="xs:double    
322       </xs:extension>                             
323     </xs:complexContent>                          
324         </xs:complexType>                         
325       </xs:element>                               
326     </xs:choice>                                  
327   </xs:sequence>                                  
328   <xs:attribute name="N" type="xs:positiveInte    
329     <xs:annotation>                               
330       <xs:documentation>Number of nucleons</xs    
331     </xs:annotation>                              
332   </xs:attribute>                                 
333   <xs:attribute name="Z" type="xs:double" use=    
334     <xs:annotation>                               
335       <xs:documentation>Atomic number</xs:docu    
336     </xs:annotation>                              
337   </xs:attribute>                                 
338       </xs:extension>                             
339     </xs:complexContent>                          
340   </xs:complexType>                               
341   <!-- +++++++++++++++++++++++++++++++++++++++    
342   <xs:complexType name="MaterialMixtureType">     
343     <xs:annotation>                               
344       <xs:documentation>Exported material comp    
345     </xs:annotation>                              
346     <xs:complexContent>                           
347       <!-- <xs:extension base="ComplexMaterial    
348       <xs:extension base="MaterialType">          
349   <xs:sequence>                                   
350     <xs:choice>                                   
351       <xs:element name="D" type="DensityType">    
352         <xs:annotation>                           
353     <xs:documentation>Density quantity value</    
354         </xs:annotation>                          
355       </xs:element>                               
356       <xs:element name="Dref" type="ReferenceT    
357         <xs:annotation>                           
358     <xs:documentation>A reference to a previso    
359         </xs:annotation>                          
360       </xs:element>                               
361     </xs:choice>                                  
362     <xs:choice>                                   
363       <xs:annotation>                             
364         <xs:documentation>A complex material c    
365                 its material properties are kn    
366                 or a mixture. A composite mate    
367                 by specifying the number of at    
368                 The second way is by a set of     
369                 can be either simple elements     
370                 The restriction is that one ca    
371                 at the same time.</xs:document    
372             </xs:annotation>                      
373       <xs:element name="atom" type="AtomType">    
374       <xs:element maxOccurs="unbounded" name="    
375         <xs:annotation>                           
376     <xs:documentation>Elements of this composi    
377                   to already defined simple el    
378         </xs:annotation>                          
379         <xs:complexType>                          
380     <xs:complexContent>                           
381       <xs:extension base="ReferenceType">         
382         <xs:attribute name="n" type="xs:positi    
383       </xs:extension>                             
384     </xs:complexContent>                          
385         </xs:complexType>                         
386       </xs:element>                               
387       <xs:element maxOccurs="unbounded" name="    
388         <xs:annotation>                           
389     <xs:documentation>Fractions of this mixtur    
390                   elements or other mixtures w    
391                   material in the range 0.0 &l    
392         </xs:annotation>                          
393         <xs:complexType>                          
394     <xs:complexContent>                           
395       <xs:extension base="ReferenceType">         
396         <xs:attribute name="n" type="xs:double    
397       </xs:extension>                             
398     </xs:complexContent>                          
399         </xs:complexType>                         
400       </xs:element>                               
401     </xs:choice>                                  
402   </xs:sequence>                                  
403   <xs:attribute name="Z" type="xs:double" use=    
404     <xs:annotation>                               
405       <xs:documentation>Atomic number</xs:docu    
406     </xs:annotation>                              
407   </xs:attribute>                                 
408       </xs:extension>                             
409     </xs:complexContent>                          
410   </xs:complexType>                               
411   <!-- +++++++++++++++++++++++++++++++++++++++    
412 </xs:schema>