Re: [ROOT] how to read a TTree ?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Feb 21 2002 - 15:08:27 MET


Alexis,

Please read the Root users Guide and the many examples in the tutorials
starting with $ROOTSYS/tutorials/tree1.C

Rene Brun

Mignon Alexis wrote:
> 
> I've got a TTree which is in fact a hbook ntuple converted in TTree.
> 
> In a C++ program, I would like to read, for all entries, the values of
> the variables in the tree but I don't understand how!
> 
> Another question :
> 
> Can I directly fill a TH1F from the TTree class?  (All the method I've
> seen seems to be used with CINT)
> 
> Thank you
> 
> --
> Alexis Mignon
> GANIL
> Bd Henri Becqurel
> 14076 CAEN Cedex 5
> France
> tel: +(33) (0)231454680
> e-mail : mignon@ganil.fr



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