Re: [ROOT] TGeoManager->AddTrack() and TGeoTrack->AddDaughter()

From: Andrei Gheata (Andrei.Gheata@cern.ch)
Date: Thu Mar 04 2004 - 09:49:17 MET


Hi Kerry,

I will implement this and let you know when it will be in CVS.

Regards,
Andrei

LEE, KERRY T. (JSC-SR) (UHCL) wrote:
> Dear ROOT Team,
> 
> I spoke with Andrei about this at the ROOT workshop, but thought I'd post it
> here to make an official request.
> 
> I'd like to request two methods TGeoManager->AddTrack(TGeoTrack *track) and
> TGeoTrack->AddDaughter(TGeoTrack *track).  The reason for such a request is
> that when using FLUKA and trying to display the tracks in ROOT, one does not
> always know the parent of the current particle track at the time FLUKA is
> trasporting the particle.  As you probably know FLUKA starts with the end of
> a branch of tracks and works it way back up to the primary.  It will
> simplify some logic in my code if I could just store the track as a
> TGeoTrack *T until I find out who the parent is and then add it to the
> parent using TGeoTrack->AddDaughter(T).  Then if it turns out the current
> track is the primary simply add it to the manager using
> TGeoManager->AddTrack(T).
> 
> Thanks
> Kerry 
> 
> 



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET