Re: [ROOT] TH1::Multiply()

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Jun 23 2003 - 14:15:42 MEST


Hi Cynthia,

This problem had already been fixed (February 19) in version 3.05.
See new code at:

http://root.cern.ch/root/htmldoc/src/TH1.cxx.html#TH1:Multiply

Rene Brun

Cynthia Hadjidakis wrote:
> 
> Hello rooters,
> 
> I would like to use the TH1 function Multiply(TF1* f1, Double_t c1 = 1)
> with c1 different from 1.  However looking more carefully at the function
> in the program
> (http://root.cern.ch/root/html304/src/TH1.cxx.html#TH1:Multiply), it
> appears that the error is not scaled by the factor c1.
> 
> That leads to obtain different error calculation on a histogram h when
> using:
> 
> 1. h.Multiply(f1,c1);
> 2. h.Scale(c1); h.Multiply(f1,1);
> 
> According to me, we should find the same errors. Is there a mistake or
> something I do not understand?
> 
> Thanks,
> Cynthia
> 
> ps : I use the 3.03.09 ROOT version



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