A question regarding TMinuit

From: Chris Jillings (chris@owl.phy.queensu.ca)
Date: Tue Oct 20 1998 - 06:13:09 MEST


Hello,
    I am a neophyte to Minuit. I have never used it in fortran or in Root.
My question concerns the example program from
http://root.cern.ch/root/html/examples/Ifit.C.html
I loaded it and it worked nicely. 

    What confuses me is the global variables 
Float_t z[5],x[5],y[5],errorz[5];

    In, for example, numerical recipes, the minimizer is passed three
arrays, x,y and sigma which contain the data to be fitted. It seems that
TMinuit requires hard-coded globals for the data. Is this the case or have
I missed the point?

    Thank you,

Chris

=================================================================
=                                                               =
= Chris Jillings                                                =
= Department of Physics   phone/voice mail: (613) 545-6000x4805 =   
= Queen's University      fax: (613) 545-6813                   =
= Kingston, Ontario       email: chris@sno.phy.queensu.ca       =             
= Canada, K7L 3N6         web: http://sno.phy.queensu.ca        =
=                                                               =
=================================================================



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET