| 1 | <!-- ******************************************************** -->
|
|---|
| 2 | <!-- -->
|
|---|
| 3 | <!-- [History] -->
|
|---|
| 4 | <!-- Converted to DocBook: Katsuya Amako, Aug-2006 -->
|
|---|
| 5 | <!-- Changed by: Gabriele Cosmo, 04-Dec-2007 -->
|
|---|
| 6 | <!-- -->
|
|---|
| 7 | <!-- ******************************************************** -->
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 | <!-- ******************* Section (Level#2) ****************** -->
|
|---|
| 11 | <sect2 id="sect.Geom.GDML">
|
|---|
| 12 | <title>
|
|---|
| 13 | Importing XML Models Using GDML
|
|---|
| 14 | </title>
|
|---|
| 15 |
|
|---|
| 16 | <para>
|
|---|
| 17 | Geometry Description Markup Language (<ulink url="http://cern.ch/gdml/">GDML</ulink>)
|
|---|
| 18 | is a markup language based on XML and suited for the description of detector
|
|---|
| 19 | geometry models. It allows for easy exchange of geometry data in a
|
|---|
| 20 | <emphasis>human-readable</emphasis> XML-based description and structured
|
|---|
| 21 | formatting.
|
|---|
| 22 | </para>
|
|---|
| 23 | <para>
|
|---|
| 24 | The GDML parser is a component of Geant4 which can be built
|
|---|
| 25 | and installed as an optional choice. It allows for importing and
|
|---|
| 26 | exporting GDML files, following the schema specified in the
|
|---|
| 27 | <ulink url="http://cern.ch/gdml/doc/GDMLmanual.pdf">GDML documentation</ulink>.
|
|---|
| 28 | The installation of the plugin is optional and requires the installation of the
|
|---|
| 29 | <ulink url="http://xerces.apache.org/xerces-c/">XercesC</ulink> DOM parser.
|
|---|
| 30 | </para>
|
|---|
| 31 | <para>
|
|---|
| 32 | Examples of how to import and export a detector description model based on
|
|---|
| 33 | <ulink url="http://cern.ch/gdml/"><emphasis role="bold">GDML</emphasis></ulink>,
|
|---|
| 34 | and also how to extend the GDML schema, are provided and can be found in
|
|---|
| 35 | <literal>examples/extended/persistency/gdml</literal>.
|
|---|
| 36 | </para>
|
|---|
| 37 |
|
|---|
| 38 | </sect2>
|
|---|