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.