am trying rebin in this way but i know one command of rebing e.g. h->Rebin(10); but i don’t know is it right for this or not how i can manuplate it?
am trying rebin in this way but i know one command of rebing e.g. h->Rebin(10); but i don’t know is it right for this or not how i can manuplate it?
Try:
h->Rebin(h->GetNbinsX() / 10);
And what is your problem with this plot?
BTW. Before rebinning, you should probably execute:
if (h->GetSumw2N() == 0) h->Sumw2(kTRUE);