TGeo geometry in GEANT4

Hello,

I was wondering if anyone has some comments to make about using ROOT’s TGeo class to generate geometry for geant4. More so, has anyone done this through jupyter taking advantage of jsroot? Perhaps with some on click actions to initialize volume locations?

Any comments and discussion would be welcome!

Cheers

Hello,

One possibility is to export ROOT TGeo geometry in a GDML file and then load this file in Geant4.

The other possibility is to use the VGM tool: https://github.com/vmc-project/vgm
which provides in-memory conversion.

With best regards,