Dear ROOT Experts,
I need to combine different geometries on a GDML level to provide a full geometry for tracking in Geant4. Now, part of the geometry was provided to me as an xml file which probably has to be converted to gdml as a first step. I am pretty sure this conversion is not that difficult, however the following steps didn’t lead to success:
TGeoManager::Import("testGeo.xml");
gGeoManager->Export("testGeom.gdml");
Even though the xml seemed to be imported without error, the export lead to a segfault (invalid pointer). My knowledge of the TGeoManager class and all its methods is not deep enough to know how to proceed. Also, I can’t say anything yet on the integrity of the .xml input but I guess it should be ok. If that is a potential issue, I could check it, of course.
I was hoping some of the more experienced users here might be able to help - thanks in advance!
ROOT Version: 6.18/02
Platform: Fedora 30
Compiler: GCC 9.2.1