Dear Experts,
I would like to make a projection from a sparse type object to 1-dimensional histogram in variable bin sizes but I got wrong number of entries at the end of projection which I don’t understand where I’m doing wrong.
I defined 3 different histogram with following intervals to check the code ,
hist1- from 0 to first bin,
hist2- first bin to second bin in the loop,
hist3- second bin to last bin.
I’m expecting that hist2-(hist3-hist1) should be 0, but I got different numbers for each projection bin.
Root file and the relevant macro is attached. Please help me to solve this problem.
Thank you very much,
Kind regards to All,
Ayben
test.C (1.6 KB)
sparse.root (1.06 MB)