[ROOT] Fitting in TGraphError

From: Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
Date: Wed May 05 2004 - 19:55:57 MEST

Sorry, I forgot to put a topic in the email, and maybe many of you could
have deleted it as spam. 
Here it is again.


On Wed, 2004-05-05 at 15:38, Alberto Pulvirenti wrote:
> Dear ROOTers,
> I have seen that it is possible to fit a TGraphErrors object with a
> given TF1.
> My question is: does this fit take into account the errors which I pass
> to this object, or not?
> Maybe, must I specify something in order to accomplish this task?
> Another question: I saw in the class definition a method called 
> virtual void LeastSquareLinearFit(Int_t n, Double_t& a0, Double_t& a1,
> Int_t& ifail, Int_t first, Int_t last)
> Does it fit (according to parameters names) to which of the following?
> 1) a0 + a1*x
> 2) a0*x + a1
> What does 'ifail' mean?
> Thanks for all.

This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET