Hi Farah, Please see the documentation of TH1::Scale at: http://root.cern.ch/root/htmldoc/TH1.html#TH1:Scale Look at these 3 lines: IMPORTANT NOTE: If you intend to use the errors of this histogram later you should call Sumw2 before making this operation. This is particularly important if you fit the histogram after TH1::Scale Rene Brun Farahnaaz Nauyock wrote: > > Hi there, > > Does it make a difference using the function TH1F::Sumw2() first > and then TH1F::Scale() or should one use TH1F::Scale() and then > TH1F::Sumw2()? I basically want to scale a plot and want my error bars to > be scaled as well. > > Cheers, > Farah
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET