Message: Materials properties not being set in GDML Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Materials properties not being set in GDML 

Forum: Geometry
Re: None Can't read xsd extensions file in GDML (Christopher Walker)
Re: None Re: Can't read xsd extensions file in GDML (Christopher Walker)
Re: None Stil having problems with GDML (Christopher Walker)
Date: 01 Jul, 2015
From: Christopher Walker <Christopher Walker>

Hello,
   Nobody responding to this thread, but I live in hope!
I am using Geant version 4.9.2.p04. I am in the process of upgrading the code to the most recent version of Geant4, but I find that the current program doesn't work under 4.9.2.p04 although it should (at least it did before under DOS!). 

If find that my code G4String mname = material->GetName(); returns the name of the material,

but for G4String mformula = material->GetChemicalFormula();

 the mformula string is blank. There are a number of other materials properties that are supposed to be set by a GDML file, but they are also not setup.

I am thinking that perhaps this is an issue with using a different version of XERCESC than I should or perhaps there have been some changes to the GDML standard, so that the files are no longer read properly. Could it be an issue with transferring files from dos to unix? (I have converted the gdml and csd files using dos2unix utility).

 The libraries in /usr/local/lib are:
libxerces-c-3.1.so  libxerces-c.la  libxerces-c.a       libxerces-c.so

Any help much appreciated.

Chris Walker

 Add Message Add Message
to: "Materials properties not being set in GDML"

 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 ]