With the latest root version (and maybe with some previous ones) I get an error attempting to load GDML files created by ROOT to Geant4.
On examination of the files, I see that there is a problem with atomic masses of elements and materials (a factor of 1e-19), for example:
Hi Andrey,
I cannot pin where the problem comes from, but could you check the transient values of material densities in the ROOT geometry? Something like: gGeoManager->GetListOfMaterials()->Print() Check if the values match the ones you see in the gdml file.
Hi Andrey,
There is currently an inconsistency in the GDML export class when using Geant4 units (default). I’m fixing this, but meanwhile, to be able to export correctly the materials, you can use: