[ROOT] TGeo: Compare current path with detector element

From: andi klein (aklein@lanl.gov)
Date: Tue Jul 15 2003 - 18:20:44 MEST


Hi Andrei

I have set up a detector with TGeoManager to simulate tracks in my 
experminet. (det is my geomanager). After doing a
det->GetPath(); I know what my next detector will be. I am wondering if 
there is a way how I can compare this with the name of one of my volumes 
to see if I should continue tracking;i.e. something like
if(det->GetPath == "element name") continue, where element name
would be the name of the node.
Maybe I just haven't found it, but any help would be appreiated.

Thanks, andi



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET