Message: Re: materials database in GDML format Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: materials database in GDML format 

Forum: Geometry
Re: None materials database in GDML format (Svetlana Shasharina)
Date: 06 Sep, 2017
From: Gabriele Cosmo <Gabriele Cosmo>

Hi Svetlana,

you can specify NIST materials by their name in your GDML file, and these
should be properly handled in Geant4 (see the sample mat_nist.gdml in
example extended/persistency/gdml/G01).
This will trigger schema validation warnings at the time the GDML file is 
parsed, as such configuration is not foreseen by the schema itself, but
materials will be nevertheless properly loaded from the internal
NIST data-base in Geant4.
Hope it helps!


On Tue, 05 Sep 2017 18:05:31 GMT, Svetlana Shasharina wrote:
> Hello, A couple of questions:
> 1. If I use just G4_Al etc without defining it within gdml, the material
> does not get found. This is strange, because the elements are in the G4
> source file. Why materials are not found?
> 2. So I started usin populating my own database materials.xml file and
> use it with this syntax:
> <!DOCTYPE gdml [
> <!ENTITY materials SYSTEM "materials.xml">
> ]>
> But maybe somebody can point me to a comprehensive materials.xml file
> that I could include, instead of me populating this file?
> Thanks, Sveta

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

1 None: Re: materials database in GDML format   (Svetlana G. Shasharina - 06 Sep, 2017)
 Add Message Add Message
to: "Re: materials database in GDML format"

 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 ]