Re: Q:TMinuit: A simple (and enlighting) example ?

Rene Brun (Rene.Brun@cern.ch)
Tue, 18 Mar 1997 16:12:20 +0100


Matthias Vitt wrote:
>
> Hi there,
>
> Although there is supposed to be a howto on Fitting with TMinuit, I 'd
> like to ask where I can find a really simple example (not minexam.C)
> which uses TMinuit, and which has more helpful comments. Maybe there is
> some of the Howto already done. Is there any possibility to access it ?
> I would like to fit some z=f(x,y) function where the x and y values are
> not equally spaced. So I tried using the minexam-example using a
> function that returns chisquare, but the result of the program is that
> just nothing is done. Something is lacking or there is a gross error in
> my code (most likely).

Matthias,
I suggest the following:
Send me a simplified version of your code with the data and the function
you want to fit. I will post the result on this list.

Rene Brun