Reading a TTree with multiple branches

Hi,
see also this answer for an overview of all the different ways you can read variables from TTrees. The thread also has some code snippets.

TTree::MakeClass might be an overkill or precisely what you need, depending on what actual application.