(no subject)

From: Alberto Pulvirenti (alberto.pulvirenti@ct.infn.it)
Date: Wed May 05 2004 - 15:38:06 MEST


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.

-- 
Dr. Alberto Pulvirenti
University of Catania
Via S. Sofia, 64 I-95123 Catania
Phone: +39-095-3785286



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