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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 ]

  1 <?xml version="1.0"?>
  2 <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" version="1.0" xmlns:gdml="http://cern.ch/service-spi/app/releases/GDML/schema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  3   <xs:include schemaLocation="gdml_define.xsd"/>
  4   <xs:include schemaLocation="gdml_extensions.xsd"/>
  5   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
  6   <xs:complexType abstract="false" name="ReplicationAlgorithmType">
  7     <xs:annotation>
  8       <xs:documentation>Abstract base for replication placement strategies</xs:documentation>
  9     </xs:annotation>
 10   </xs:complexType>
 11   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 12   <xs:element name="ReplicationAlgorithm" abstract="true" type="ReplicationAlgorithmType">
 13     <xs:annotation>
 14       <xs:documentation>Abstract element for substitution group</xs:documentation>
 15     </xs:annotation>
 16   </xs:element>
 17   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 18   
 19   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 20   <xs:complexType name="AxisReplicationAlgorithmType">
 21     <xs:annotation>
 22       <xs:documentation>Replica volumes get created along the specified direction
 23   starting with the first replica placed at the given position and rotated
 24   according to the given rotation and others placed using the given distance;
 25   If position and/or rotation is omitted the defaults will be applied, e.g.
 26   position at the mother volume center and identity rotation;
 27   NOTE: THE ROTATION IS APPLIED TO ALL REPLICATED VOLUMES!</xs:documentation>
 28     </xs:annotation>
 29     <xs:complexContent>
 30       <xs:extension base="ReplicationAlgorithmType">
 31   <xs:sequence>
 32     <xs:choice minOccurs="0">
 33       <xs:element name="position" type="positionType"/>
 34       <xs:element name="positionref" type="ReferenceType"/>
 35     </xs:choice>
 36     <xs:choice minOccurs="0">
 37       <xs:element name="rotation" type="rotationType"/>
 38       <xs:element name="rotationref" type="ReferenceType"/>
 39     </xs:choice>
 40     <xs:choice>
 41       <xs:element ref="direction"/>
 42       <xs:element name="directionref" type="ReferenceType"/>
 43     </xs:choice>
 44     <xs:element ref="width"/>
 45     <xs:element ref="offset"/>
 46   </xs:sequence>
 47       </xs:extension>
 48     </xs:complexContent>
 49   </xs:complexType>
 50   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 51   <xs:element name="replicate_along_axis" substitutionGroup="ReplicationAlgorithm" type="AxisReplicationAlgorithmType"/>
 52   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 53   <xs:complexType name="ReplicaPlacementType">
 54     <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 55     <xs:annotation>
 56       <xs:documentation>Base type for replicated volumes</xs:documentation>
 57     </xs:annotation>
 58     <xs:sequence>
 59       <xs:element name="volumeref" type="ReferenceType"></xs:element> 
 60       <xs:element ref="ReplicationAlgorithm"/>
 61     </xs:sequence>
 62     <xs:attribute name="number" type="xs:positiveInteger" use="required"/>
 63     <xs:attribute name="copy_num_start" type="xs:positiveInteger" use="optional" default="1"/>
 64     <xs:attribute name="copy_num_step" type="xs:positiveInteger" use="optional" default="1"/>
 65   </xs:complexType>
 66   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 67   <xs:complexType name="directionType">
 68     <xs:attribute default="0.0" name="x" type="ExpressionOrIDREFType"></xs:attribute>
 69     <xs:attribute default="0.0" name="y" type="ExpressionOrIDREFType"></xs:attribute>
 70     <xs:attribute default="0.0" name="z" type="ExpressionOrIDREFType"></xs:attribute>
 71     <xs:attribute default="0.0" name="phi" type="ExpressionOrIDREFType"></xs:attribute>
 72     <xs:attribute default="0.0" name="rho" type="ExpressionOrIDREFType"></xs:attribute>
 73   </xs:complexType>
 74   <!-- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
 75   <xs:element name="direction" type="directionType"/>
 76   <xs:element name="width" type="QuantityType"/>
 77   <xs:element name="offset" type="QuantityType"/>
 78   <xs:element name="replicavol" type="ReplicaPlacementType"/>
 79 </xs:schema>