Hello,
I have multiple root files each containing the same number of entries. I want to read trees and branches from these files. I think there is something as TChain. Can someone help me with this?
Thanks!
Hello,
I have multiple root files each containing the same number of entries. I want to read trees and branches from these files. I think there is something as TChain. Can someone help me with this?
Thanks!
Hi @tanmaya_shree,
Yes, vertical combinations, i.e. reading entries from multiple TTrees is supported via the TChain class. For more information, refer to this section of the manual.
Cheers,
J.
ch1->Add(TString::Format("blahblah_%d.root", i));
Thanks ! ![]()