Rebinning custom binning and increasing number of bins

Hi all,

I am working with a TH1D called numu_flux, root file attached. It currently has custom binning with bin sizes ranging from 0.125 to 2.000. I need to rebin this so that it has a constant bin size. However, as i do not want to lose any information, is it possible to set the new constant bin size to 0.125?

I understand this will involve splitting a few of the larger bins.

Thanks in advance.
g4lbne_v3r2p4b_FHC_ND.root (81.3 KB)

Hi,

Maybe this tutorial can help…

Cheers, Bertrand.