Make hadd without merging histogram

Hi,

Is there a option in order to make a hadd of root file to only merge TDirectories and not the histograms?

Best

Nicolás

May be one of the command line tools listed here may be use instead of hand:

https://root.cern.ch/how/how-quickly-inspect-content-file

No, unfortunately not. There is only the -T option to not merge TTrees. Depending on what you want, you could use the TFileMerger directly to do what you want, however.

Ok, many thanks, is possible with rootrm, delete a TDirectory from a root file?

Best

Nicolás

I guess … just try …

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