GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » How to get a volume path by id's
Re: How to get a volume path by id's [message #5927 is a reply to message #5913] Wed, 20 February 2008 08:42 Go to previous message
Tobias Stockmanns is currently offline  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
 
Read Message
Read Message
Read Message
Previous Topic: Requirements for an analysis toolset
Next Topic: DPG Group Talk
Goto Forum:
  


Current Time: Wed Dec 04 12:32:12 CET 2024

Total time taken to generate the page: 0.00735 seconds