Re: Retrieving tree name

From: lijowski@cosray2.wustl.edu
Date: Wed Aug 12 1998 - 19:01:39 MEST


   Rene,

   Thank you for the response. I just want to put a name of the HBOOK
   ntuple containing information about data processing onto root 
   canvas as a text.

   Michal Lijowski

  
> From owner-roottalk@hpsalo.cern.ch Wed Aug 12 09:03:03 1998
> Delivered-To: lijowski@cosray2.wustl.edu
> X-Authentication-Warning: dxmint.cern.ch: Host root@nimes1-133.club-internet.fr [195.36.131.133] claimed to be pcnotebrun.cern.ch
> Date: Wed, 12 Aug 1998 09:59:47 +0200
> From: Rene Brun <Rene.Brun@cern.ch>
> MIME-Version: 1.0
> To: roottalk@hpsalo.cern.ch
> Subject: Re: Retrieving tree name
> Content-Transfer-Encoding: 7bit
> 
> >  Hello Rooters,
> >
> >  Is it an easy way to retrieve a tree/ntuple name?
> >  I would like to pass a name of the HBOOK ntuple into root generated
> >  histograms, plots, etc after capplying h2root.
> >
> >  Michal Lijowski
> >
> 
> What do you want to do exactly?
> You can retrieve the name of a Tree via tree->GetName().
> You can get the list of branches or leaves via
>   TTree::GetListOfBranches
>   TTree::GetListOfLeaves
> These 2 functions return a pointer to a TList object.
> You can get a pointer to a branch or leaf via
>   TTree::GetBranch
>   TTree::GetLeaf
> 
> Rene Brun
> 
> 
> 



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