# TGeo geometry in GEANT4

**URL:** <https://geant4-forum.web.cern.ch/t/tgeo-geometry-in-geant4/2075>\
**Category:** Geometry, Fields and Transportation\
**Created:** [March 10, 2020, 8:22pm UTC](https://geant4-forum.web.cern.ch/t/tgeo-geometry-in-geant4/2075 "2020-03-10T20:22:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Jonson](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/jason_jonson/32/197_2.png) [@Jason\_Jonson](https://geant4-forum.web.cern.ch/u/Jason_Jonson)\
**Post date:** [March 10, 2020, 8:22pm UTC](https://geant4-forum.web.cern.ch/t/tgeo-geometry-in-geant4/2075/1 "2020-03-10T20:22:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ivana](https://geant4-forum.web.cern.ch/user_avatar/geant4-forum.web.cern.ch/ivana/32/186_2.png) [@ivana](https://geant4-forum.web.cern.ch/u/ivana)\
**Post date:** [March 11, 2020, 2:21pm UTC](https://geant4-forum.web.cern.ch/t/tgeo-geometry-in-geant4/2075/2 "2020-03-11T14:21:56Z")

</div>

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](https://github.com/vmc-project/vgm)  
which provides in-memory conversion.

With best regards,
