Re: interactive handling of TClonesArray (ROOT 1.01/07)

From: Pasha Murat (murat@cdfsga.fnal.gov)
Date: Sat Jul 05 1997 - 14:53:58 MEST


Rene Brun writes:
 > 
 > You can access the Track data interactively. That is precisely the intention
 > of the root/test/Event example you are quoting.
 > This program writes a Tree with a TClonesArray.
 > In an interactive session, you can then access any element of the array
 > with statements like:
 >    Root > TFile f("Event.root");
 >    Root > T.Draw("fPx");  where fPx is a data member of the class Track
 > 

	Dear Rene,

I apologize for being a little bit impatient. What I mean is that given an event
it doesn't seem possible to calculate an effective mass of 2 tracks or to find 
a track in event with highest Pt, in other words - it doesn't seem possible to 
get a pointer to a track defined in user's code. This is a problem. 
The option you mentioned - looping (inside ROOT, not inside user's code) over all 
the tracks - doesn't solve it. 

                                                  Regards, Pasha.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:20 MET