Re: How to get a volume path by id's [message #5927 is a reply to message #5913] |
Wed, 20 February 2008 08:42 |
Tobias Stockmanns
Messages: 489 Registered: May 2007
|
first-grade participant |
From: *ikp.kfa-juelich.de
|
|
Hi Ralf,
you are right. I have introduced the additional string in PndMvdMCPoint to store the (encoded) full path of a detector hit. Another way to get the volume which was hit is by the function geoManager->FindNode(x,y,z).
Take the pos and posOut position and calculate the mean of these two . With this position you can use FindNode to give you the node of your volume.
Cheers,
Tobias
|
|
|