Re: [ROOT] Getting info about a stored class

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Sep 11 2002 - 13:09:57 MEST


Hi Ole,

You can see the list of all classes used in a TFile (typically a TTree)
with TFile::ShowStreamerInfo

You can see the top level class of a branch via
TBranchElement::GetClassName.

Currently, there is no API to see all the classes in a Tree or branch.
Note that the complete list of classes for a Tree or branch may only be
known at run time after the last TTree::Fill.

Rene Brun

On Wed, 11 Sep 2002, Ole Streicher wrote:

> Hi!
> 
> How can I get the information (name, version) about what class(es) is (are)
> stored in a ROOT tree or branch? 
> 
> Ole
> 
> 



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