Reset only Errors of histogram to 0


I want to reset only errors of histogram to 0 without touching bin contents.
Looks like Reset method of TH1 resets bin contents to 0 as well for all listed options.

Now I will probably will loop over histogram bins, and set them to 0 or other value depending on bin,
but I have filling that there might be an easier way to do this.


SetError does the loop for you.

Thanks, It worked…