[ROOT] TGraph fit

From: Yuriy Prokazov (yuriypro@narod.ru)
Date: Thu Mar 28 2002 - 16:55:29 MET


Dear ROOTers, I'd like to fit TGraph with squear polynom. There is function
TGraph::LeastSquareFit(), but it was declared as protected. I made derevative
class from TGraph where I made this function open and it seems to work. Is 
there any reason to hide this function? Is it safe to use it?

The main reason to use this function is the speed. I need to fit about 1000 
TGraphs with around 20k points per each graph. Standart function TGraph::Fit()
works, but it looks strange to use common function instead of the specialy 
designed for polynomial fil.

Thank you.
Best regards, Yuriy.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:47 MET