Translating a th1

Dear, is there a simple way to translate a TH1 along the x-axis using a constant? thanks!


@moneta can perhaps give an answer here? Thanks!

Hi,
No there is not such functioning ROOT. You need to create a new histogram and then copy the bin content in the new one using for example TH1::SetBinContent

Lorenzo

I believe I answered a follow-up question on this from the same user yesterday: