Filling histograms the same way in ROOT 5.34/36 and ROOT 6.24/06 gives me different results.
For example,
double N[2000];
for (int k = 0; k < 2000; k++) N[k] = k * 5;
TH1D *n = new TH1D("n", " ", 2000, -0.5, 1999.5);
for (int k = 0; k < 2000; k++) n -> Fill(k,N[k]);
The result - a histogram with big “error bars”, while the same part of code gives a nice line without any “error bars”. It comes from the Fill method, correct? In other words, I used this command before in the old version of ROOT, but now it works differently with the new version.
histogram->Fill(value, weight);
If more explanations or pictures from TBrowser needed, I can provide them asap. Kindly ask someone to clarify this little problem.
P.S. Probably, this problem was discussed many times, but I could not find the solution myself.