How to add root files

Dear developers,

I have many root files file1, file2 etc. All are histograms 1D and 2D. All files have variables like pt, eta, phi etc
with same names. I want to add all of them (like all pt’s, eta’s, phi’s) and then restore them again in a root file. How can I do this.

https://root-forum.cern.ch/t/how-to-use-tchain-to-combine-many-root-files/25164/2

1 Like

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