Is there a function that outputs the number of branches on a tree?

Hello,

I would just like to know if there is a function that I can use to get the total number of branches in a tree. I tried looking in the guide but wasn’t successful in finding it.

Best Wishes,

Juan

Try: tree->GetListOfBranches()->GetEntries()

Perfect, I tested it and it works.

Thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.