I hoped that somebody had come across the following problem when rebinning a 1D histogram.
I have a scenario where I am chaining say 5 files together and then I draw the resultant output. I do this in the following way.
The problem arises when I rebin the histogram which is redrawn. I initially have something of the order of 70,000,000 events, but when I rebin this changes to 750,000 events.
This also occurs when I specify a cut such as :-
chain.Draw(“NaI25”,“NaI25 > 0”);
You would expect the drawn histogram to look the same as the chain.Draw(“NaI25”) command except counts at zero would be neglected. However root draws a histogram with hugely reduced number of entries at values > 0 and the histograms look entirely different even when binned the same.
Does anyone know what is going on here?
Root version 5.12