Hi Rooters
What if I have an application that takes a ROOT geometry as an input but I am given a Geant4 geometry instead? Is there any tool to convert A Geant4 Geometry into a ROOT one?
Thanks
Cheers
Hi Rooters
What if I have an application that takes a ROOT geometry as an input but I am given a Geant4 geometry instead? Is there any tool to convert A Geant4 Geometry into a ROOT one?
Thanks
Cheers
yes, you can use the GDML converter provided by Geant4 and read directly the gdml file within ROOT with something like
root > TGeoManager::Import("mygeometry.gdml");
Rene
Thanks René, that will save me a lot of time!