> 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