Hi All,
I divided a volume by using TGeoVolume::Divide(), but don’t know how to get one of the sub-volumes in the divided volume. Could you please let me know how to get it?
Thanks in advance,
Yun-Ha
Hi All,
I divided a volume by using TGeoVolume::Divide(), but don’t know how to get one of the sub-volumes in the divided volume. Could you please let me know how to get it?
Thanks in advance,
Yun-Ha
Hi Yun-Ha,
The method Divide() returns the pointer to the divided volume, e.g:
Cheers,
Hi Andrei,
Thank you for your kind reply.
I was able to get the pointer and tried to use it to find sub volumes but failed with some kind of messages such as
I’ve just found a way to get it by looking at the Divide() source. In the source the pointer is casted to TGeoVolumeMulti, and I could call some methods.
Thanks again,
Yun-Ha