[Histogram] Variable bins Size in order to have the same number of entries for each bins

Hi !

In order to have equal-statistics bins, i want to modify the size of each bins of my histogram in order to have the same number of entries.

I know i have to use the method TH1::Rebin() and probably GetBinContent() And FindBins() but i don’t really know how to start for create my array of new bins.

Is a method already exist for this ? I know that’s common for physicians to transform a histogram like that…

Thanks in advance !

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