PropagteToVolume Problem in GeanePro [message #7409] |
Tue, 14 October 2008 15:15 |
Tobias Stockmanns
Messages: 489 Registered: May 2007
|
first-grade participant |
From: *ikp.kfa-juelich.de
|
|
Dear GeanePro-Developers,
there is a problem in the routine PropagateToVolume.
The parameters of the routine are "VolumeName", "CopyNr" and option. Unfortunately the volume name and the copy number are not unique. This happens if you are using hierarchies of assemblies and volumes like it is done in the MVD.
Here is an example of two different volumes in the MVD with identical name and copy number:
/cave_1/MVD_1/SmallDisk_1/PixelSensor_4
/cave_1/MVD_1/SmallDisk_3/PixelSensor_4
(This is just an example which does not really exist in the MVD geometry file. In reality the MVD structure is much more complicated)
To have a unique identifier for a volume one needs the full path of the volume in the GeoManager. (See the cd() and GetPath() function of the GeoManager).
Cheers,
Tobias
|
|
|