[ROOT] Binomial y-errors

From: Carl Gwilliam (cbgwilliam@hep.man.ac.uk)
Date: Thu Mar 06 2003 - 16:59:43 MET


Hi

I want to plot a histogram with Binomial errors in the y direction, how
can I do this in root?

More specifically I am dividing two histograms which plot Ntrig and N
as the height of each point to get the efficiency as:

eff = Ntrig/N

and on this divided histogram I want to plot the errors on each
point according to the formula:

eff_error = sqrt(Ntrig/(N*N)*(1-Ntrig/N)).

At the same time I want to plot the markers as points with x-error bars
which are the width of the bin.

Cheers,

Carl



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET