Rebinning a Th1

Hello ROOT users,
I have a maybe silly question, but I couldn’t find the answer in the documentation.
I have an histogram and by mistake i filled the bins shifted of 1 with respect to the correct value. I’m wondering if it exist a function which allows to shift all the bins in the next bins. I know I could just loop on all the bins and refill the histograms, but if it exists a faster way… I would appreciate.
Thank you for your help
Cheers
Paola

One solution is to shift the axis limits with

h->GetXaxis()->SetLimits(xmin,xmax)
Rene

Thank you very much Rene!
Cheers
Paola