Fitting more than 2000 root histos

Hi everyone,

I have a user defined function which is Moyal function. I had to set parameters by hand to fit the data. However, I have more than 2000 histos so it is not possible to do that by hand. On the other hand sometime parameters are changing so I can not set the parameters on a specific values.

Do I have a chance to detemine automatically the parameters that minimizes the value of chi-square?( Moyal function is some kind of Landau or Gauss function.)

Maybe TMinut help me?

Thank you very much



This question was answered already when you were still using the landau model.

The answer still applies.