How do I know which algorithm/method is used for fitting?

Hi,

for example, up to now I fitted in the following way

TGraph* data = new TGraph(number_of_data_points, X, Y);
TF1 *fit = new TF1(“fit”,"(fit quation)", some_parameter, another_parameter);
fit->Fit(data, “Q”);

I only know it’s based on TH1::Fit but due to some topics, I’m forced to work with different languages which provide different fit methods. I’ve never been aware of this so I wonder which method did/do I use in case of ROOT?

Accurding to the documentation, the TH1F::Fit uses a chisquare fit by default.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.