Re: Errors

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Mon, 27 Aug 2007 16:10:17 +0200


Before calling DrawNormalized, call Sumw2 to get the correct calculation of the errors when scaling your histogram. See remarks in TH1::Scale. I have added the same remark in DrawNormalized.

Rene Brun

Daniel Andrade Leon wrote:
> Hi Rooters,
>
> I have some troubles when I use DrawNormalized("E") to display the histograms with errors. The error bars have unexpected values.
> May be is a scaling problem.
> Do you know about another option to draw normalized histograms with errors?
> Thank you very much,
>
>
> Daniel Andrade Leon
>
Received on Mon Aug 27 2007 - 16:10:24 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 27 2007 - 17:50:02 CEST