Rebin a TH1 plot with minEventsPerBin

Hi Philippe

So, could you possibly indicate what the loop should be like in order work as I need it ?? I know, that it starts to be annoying with all continuous posts from my side (also similar topic How to make custom binning ), but my “ultimate” goal as I already said, is to be able to bin a histo with custom#events/bin and maybe pass this to a TAxis for further processing / next plots of the same variable…and as the days pass by and I cannot get into this, I am starting to be really frustrated… So, if by any change you know to implement this (or even correct my existing scripts), in order to have this I would be more obliged

Thanks for your tolerance and time!