Re: [ROOT] Suggestion for TreeViewer and TBrowser

From: Nick van Eijndhoven (Nick@phys.uu.nl)
Date: Fri Apr 19 2002 - 13:17:41 MEST


Hi Rene,
Thanks for the info.
I don't think TTree::Show is what I need; I would like to
plot in a histo for instance the (mean) Pt of all the tracks for
only 1 single event.
So far I haven't used the TFolder facility; I will look into it
and see if it offers the functionality I want.
Are there any examples of how to use the TFolder stuff ?
Indeed the reason I didn't use TFolder so far was that the
automatic TTree <-> TFolder conversion was not available.
If this is coming in the 3.03 release that would make indeed
the TFolder facility much more powerful.

                                              Cheers,
                                               Nick.

Rene Brun wrote:
> 
> Hi Nick,
> 
> I agree that the TreeViewer should have an option in the GUI
> to select and show a given entry number. Meanwhile, you can use
> the often ignored function TTree::Show
> 
> The best way to browse a given entry is to store your structures
> in TFolder and use TBrowser.
> The version of ROOT 3.03 to be released in June will contain
> additional facilities to automatically generate Trees from TFolder
> and vice-versa
> 
> Rene Brun
> 
> Nick van Eijndhoven wrote:
> >
> > Dear friends,
> > I am looking into event-by-event analysis for several experiments and in
> > doing so it would be convenient if the TreeViewer and TBrowser facilities
> > would have the following functionality.
> >
> > * In a root session one connects a chain of trees containing exp. data
> > * To investigate the data one starts-up a TreeViewer of TBrowser
> > * The TreeViewer and TBrowser contain a button "Load next entry"
> >   (even better would be the additional option to specify a specific entry
> >    number with e.q. -1 meaning "next").
> > * Once the entry is "loaded" the various plotting commands should only
> >   show the data of the currently loaded entry.
> >
> > Could something like this be implemented, or is this already available ?
> >
> >                                                       Cheers,
> >                                                        Nick.
> >
> > --
> > Dr. Nick van Eijndhoven mailto:nick@phys.uu.nl http://www.phys.uu.nl/~nick
> > --------------------------------------------------------------------------
> > Org.:    Utrecht University/Nikhef, Department of Subatomic Physics
> > Address: Princetonplein 5, NL-3584 CC Utrecht, The Netherlands
> > Phone:   +31-30-2532331(direct) +31-30-2531492(secr.)  Fax: +31-30-2518689
> > NIKHEF:  +31-20-5922178(direct) +31-20-5922000(secr.)  Fax: +31-20-5925155
> > CERN:    +41-22-7679751(direct) +41-22-7675857(secr.)  Fax: +41-22-7679480
> > Offices: Buys Ballot lab. 710 (Utrecht)   N241 (Nikhef)   B23 1-020 (CERN)
> > --------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:50 MET