Fitting calls-> set a max value

Hello,

I guess this had been answered so many times, but I had not found it yet…

I wan to maximalize the fitting calls (seems to set 5000 by deafault), how can I do that… ( my fitting is not so good, so I have to wait too much for convergence)

Thanks,

Tamas

Before fitting call the static function
TVirtualFitter::SetMaxIterations(maxiter); //eg 1000

Rene

[quote=“brun”]Before fitting call the static function
TVirtualFitter::SetMaxIterations(maxiter); //eg 1000

Rene[/quote]

Thank You!

(and also do: #include <TVirtualFitter.h> )

Tamas