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