Merging TH1D with alphanumeric labels bug in root6?

Hi Root Community,

Recently I upgraded to root 6 from root 5 and I found some weird behavior when merging Histograms with alphanumeric labels. Previously I just had to do hadd (files_to_merge), and it would merge the histograms according to the label. Now in root 6 when I merge it merges according to the position rather than the label. You can try it for yourself with these two files one.root and two.root. When merged a should = 25 and b should = 11 but with root6 a=15 and b= 21two.root (3.7 KB)
one.root (3.7 KB)

Am I doing something wrong?

I think @moneta can help you.

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