Making a combined MakeClass for multiple root files

Hi ROOT users,

Let’s say I have a directory that contains multiple root files:

RootFile_3 …

Each Root file contains a TTree with the same name (let’s say LHEF) and with same branch name (example: Particle.Px) . How would I create a combined MakeClass for all the trees from each ROOT file? Is that even possible?

Thank you in advance!

It looks like you are looking for TChain.

1 Like

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