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?
h->Rebin(h->GetNbinsX() / 10);
thanks. i tried it but it give me no effect it is working in same manner when i applied h->Rebin(10);
And what is your problem with this plot?
BTW. Before rebinning, you should probably execute:
if (h->GetSumw2N() == 0) h->Sumw2(kTRUE);
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.