Cannot get the branches of merged root file


I have a bunch of root files each contain a Tree called “Nominal”, some of them has 0 entry, I merge all of the output root files using “hadd -f”.
My problem is when I try to print the content of the merged root files I got something like this

root [1] Nominal->Print()
Tree    :Nominal   : Nominal                                                
Entries :  3216510 : Total =             329 bytes  File  Size =        194 
        :          : Tree compression factor =   1.00                       

without any branch printed.
My assumption is that somehow the merged root file got affected by the root files with 0 entry. I would be grateful if you could help me solve this ?


Does your first file contain any entry?

No, it doesn’t but others that follow do have entries

So that is likely the problem … ie. you need to start with a non-empty tree/file

Thank you so much, it worked

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