Scaling TH1 error

What is the simplest method of scaling the errors of a histogram?

A TH1 with the ‘G’ option, acoording to the docs, calculates error as the 1-sigma error on the mean (sigma/sqrt(N)).

When drawing the histogram to a canvas, what is the simplest method of drawing the 2-sigma error instead?

Simiarly, how would you achieve the same effect with the default Poisson-statistics errors of TH1?

Apologies if this has been answered in the docs, but I have been unable to find it.

ROOT 6.12/06
Linux 4.16, gcc7.3.1

TH1:Scale doe not help ?

May be @moneta can help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.