Textgeom and parallel worlds

Hi all

I’m struggling to use the textgeom functionality to build geometries in parallel worlds.

I implemented my own G4tgbDetectorBuilder-based detector builder including a custom parser for my text geometry files. I would like to use this in the main mass world as well as in parallel worlds. Unfortunately G4tgbVolumeMgr, G4tgrFileReader, etc. all seem to be singletons with no possibility to reset (e.g. to read further geometry files for parallel worlds). I saw some traces of parallel-world functionality in those classes in older versions of Geant4 but apparently this code has been removed.

Any hints and tips would be highly appreciated.

Cheers
Dominik

I have a working version of textGeom with parallel worlds, but it is GAMOS dependent. Give me some days to take out these dependencies I will give it to you, and put it in the Geant4 release.

Hi Pedro

Thanks for your answer. I did find indeed some GAMOS sources with this functionality. It would be great if the code could be added to the official Geant4 release.

Let me know if I could be of any help with e.g. testing.

Cheers
Dominik