[ROOT] TH1::Multiply()

From: Cynthia Hadjidakis (cynthia@lnf.infn.it)
Date: Mon Jun 23 2003 - 14:09:01 MEST


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