How to make a faster fit?

Good morning dear ROOT experts,

I am actually doing many fits, using defaut settings of ROOT fitter ( Minuit as library and MIGRAD as minimizer) and I would like to save time during these fits.

Do you have an idea of a faster minimization algorithm/ chi2 conputation?

Thank you by advance for your help

Best regards

Matthieu Marionneau

Hi Matthieu,

You will have to tell something more about your function:

  • Is it linear in the fit parameter, if so you are better off doing some linear
    algebra
  • Are you calculating the derivatives of the fit function wrt the fitting
    parameters numerically, if so supplying an analytical expression
    can make a significant difference


    Eddy

Hello Eddy,

Thank you for these informations, I will try to make these changes in my fit.

Matthieu