Message: gdml schema and gdml visualization Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question gdml schema and gdml visualization 

Forum: Geometry
Date: 23 Jan, 2014
From: Svetlana Shasharina <Svetlana Shasharina>

1. I am working with geant4-9.6.p02. I used Oxygen xml editor to validate tess.gdml from geant4-9.6.p02/examples/extended/persistency/gdml/G01. We had to make the following change to make tess.gdml to become valid:

--- gdml_solids.xsd    (revision 59)
+++ gdml_solids.xsd    (working copy)
@@ -828,7 +828,9 @@
       <xs:complexContent>
     <xs:extension base="SolidType">
       <xs:sequence>
-        <xs:element name="Facet" minOccurs="1" maxOccurs="unbounded" type="FacetType"/>
+        <!-- The following element schema does not validate properly. because it requests Facets by name, not reference -->
+        <!-- <xs:element name="Facet" minOccurs="1" maxOccurs="unbounded" type="FacetType"/> -->
+        <xs:element ref="Facet" minOccurs="1" maxOccurs="unbounded"/>
       </xs:sequence>
     </xs:extension>
       </xs:complexContent> 

Anybody tried to validate tess.gdml? Should the schema or gdml instances be corrected?

2. Is there a way to visualize gdml files containing tessellated solids? We tried ROOT and GraXML and they worked fine on regular solids but failed on tessellated solids.

Thanks, Sveta

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: gdml schema and gdml visualization   (Tatiana Nikitina - 18 Feb, 2014)
(_ None: Re: gdml schema and gdml visualization   (sveta - 18 Feb, 2014)
 Add Message Add Message
to: "gdml schema and gdml visualization"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]