Re: [ROOT] scaling of sumw2 in TH1

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon May 10 2004 - 09:00:51 MEST


Hi Gero,

You are right. Thanks for reporting this problem. Now fixed in CVS.

Rene Brun

Gero Flucke wrote:
> 
> Hi,
> I wonder whether it is intended to simply scale the fTsumw2 data member of
> TH1 if the TH1 is scaled by TH1::Scale(scale) as is the current
> implementation. This makes fTsumw2 and the sum of the squared errors
> of all bins differ after scaling. So I'd prefer scale it with the square
> of 'scale'.
> 
> Cheers
> 
>         Gero
> 
> -----------------------------------------------------------------------
> Gero Flucke
> 1a / 603
> DESY
> Notkestr. 85
> 22607 Hamburg
> +49-(0)40-8998-2454
> 
> Privat / private:
> -----------------
> Von-Hutten-Str. 20
> 22761 Hamburg



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET