mistake in multifit.C.html

From: Reinhardt Chamonal <chamonal_at_ph.ed.ac.uk>
Date: Wed, 19 Jan 2005 18:58:39 +0000 (GMT)


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+");
-- 
------------------------------------------------------------
 Reinhardt CHAMONAL            The University of Edinburgh  
                               School of Physics 
 email: chamonal_at_ph.ed.ac.uk   King's Buildings, JCMB, 5301 
                               Mayfield Road                
 phone: +44-131-650 5307       Edinburgh, EH9 3JZ           
 
 web: http://www.chezben.com/~ride
------------------------------------------------------------
Received on Wed Jan 19 2005 - 19:58:47 MET

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