Re: mistake in multifit.C.html

From: Rene BRUN <brun_at_mail.cern.ch>
Date: Wed, 19 Jan 2005 21:12:00 +0100 (MET)


Reinhardt,

Thanks for reporting this problem with the html page. The example in the tutorials was already changed several years ago. Now fixed in html too.

Rene Brun

On Wed,
19 Jan 2005,
Reinhardt Chamonal wrote:

> Hi,
> there is a mistake in the example:
> http://root.cern.ch/root/html/examples/multifit.C.html
> (the fitted line isn't drawn)
>
> instead of :
> h->Fit("g1","R0");
> h->Fit("g2","R0+");
> h->Fit("g3","R0+");
> ...
> h->Fit("total","R0+");
>
> one should basically get rid of the 0 in the fit option such that
> h->Fit("g1","R");
> h->Fit("g2","R+");
> h->Fit("g3","R+");
> ...
> h->Fit("total","R+");
>
>
>
Received on Wed Jan 19 2005 - 21:18:19 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:04 MET