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

From: LEE, KERRY T. (JSC-SR) (UHCL) (kerry.t.lee1@jsc.nasa.gov)
Date: Thu Mar 04 2004 - 08:12:43 MET

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


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