GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » TGeoManager and TGeoVolume
TGeoManager and TGeoVolume [message #5963] Mon, 25 February 2008 16:21 Go to previous message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: 141.30.85*
Hi all,

I have a root geometry file which contains a new design of the MVD. However, it is inside a TGeoManager object in the file. My main problem is that there can be only one TGeoManager in the simulation. This forbids me to load the stored manager from the file and subsequently adding the volumes to the global gGeoManager.
I tried to do a workaround by storing the Volumes in a new root file without the manager:
Toggle Spoiler

Loading this to the simulation does not work and it seems that only the top volume is stored, but not the subsequent ones.
Does have someone (Mohammed? Tobias(currently N/A)?) have experience with this?
I suppose there shall be some intelligent recursive loop over all entries in the file. Is there maybe a possibility to load the volumes directly and bypassing this stored geomanager?

Kind greetings from Dresden, Ralf.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Includes for MacOs X for different detectors.
Next Topic: root files with the same hitcolection structure
Goto Forum:
  


Current Time: Sat Dec 14 00:43:41 CET 2024

Total time taken to generate the page: 0.00747 seconds