Hello, I get the following error as I try to merge histograms with hadd:
$ hadd prova.root EffTrkBasic060621-060712.root EffTrkBasic060713-060717.root
Target file: prova.root
Source file 1: EffTrkBasic060621-060712.root
Source file 2: EffTrkBasic060713-060717.root
Target path: prova.root:/
Error in <TH1I::Merge>: Cannot merge histograms - limits are inconsistent:
first: (173, 0.000000, 1500.000000), second: (173, 0.000000, 1500.000000)
Error in <TH1I::Merge>: Cannot merge histograms - limits are inconsistent:
first: (173, 0.000000, 1500.000000), second: (173, 0.000000, 1500.000000)
It sounds strange to me because I did hadd many times before, and everything worked smoothly. I also don’t understand why it complains about inconsistent limits.
I use root 5.20 on a 32 bit machine.
Thanks to everyone for the help