Please fill also the fields below. Note that root -b -q will tell you this info, and starting from 6.28/06 upwards, you can call .forum bug from the ROOT prompt to pre-populate a topic.
ROOT Version: Not Provided Platform: Not Provided Compiler: Not Provided
then when I read it (blackbox script), I should get the geometry structure described in my first post
this I am modifying by adding daughters to bottomVolume
I found out, that when having MC simulation file with Geant3 everything works as it should work.
The described behavior occurs, when running MC simulation with Geant4 - and I just found out, that it is because bottomVolume is now not unique. For some reason I now get two bottomVolume’s instead of a single one.
Summary:
for Geant3 TGeoManager::fUniqueVolumes and TGeoManager::fVolumes have both 1 member named bottomVolume
for Geant4 TGeoManager::fUniqueVolumes has 1 member named bottomVolume, and TGeoManager::fVolumes has now 2 members named bottomVolume
Volumes get copied if misalignment is used. All volumes in the alignable physical node path are cloned to be moved independently. Please check if any misalignment is involved. On the other hand, if you add daughters in a closed geometry, do not expect navigation to work out of the box, without some operations done when closing a geometry.
The top volume may change during some operations, like volume->Draw. The original top volume defined can be accessed with GetMasterVolume. Also, getting a volume by name only returns just the first volume with that name. Why don’t you print also the pointers of the volumes to see if they are unique/those you expect. Better, send the geometries and a script reproducing the problem.