Printing out all trees and their elements within a root file

Hi ROOT experts,

I have a large root file with a complicated structure. I want to print out all tree elements in order to search for a given quantity.

Is there any built-in functionality within ROOT to print out all trees and their elements within a root file? Otherwise, does anyone have any suggestions on how to do so?

Thanks in advance,
Will

See:

TTree::GetListOfBranches
TTree::GetListOfLeaves

Thanks Wile E. Coyote!

FileName->GetListOfKeys()->Print() and TTreeName->GetListOfBranches()->Print() did the trick.

Cheers,
Will