Hadd only one key

Dear Root Experts,

I have a set of TFiles to merge each containing a few hundred histograms. I am interested only in few of them which are all stored in the same directory.
Is there a way to merge only those histograms using hadd?
Thanks for your help,

mathieu


ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided


Try

rootcp source1.root:hist1 source1.root:hist2 dest.root

see rootcp --help for more information.

2 Likes

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