Re: [ROOT] Interactive minuit access from ROOT?

From: Arthur E. Snyder (snyder@SLAC.stanford.edu)
Date: Sun Dec 02 2001 - 23:40:12 MET


Hi Rene,

I was able to grab gMinuit and use mnexcm to execute minuit commands, refit,
etc. It is pretty awkward interactively, but works. However, the results do
not propagate back to the function attached to my histogram, so when I
redraw it I see the result of the original default fit. Also, if I refit it
seems to start again from scratch and forget any 'fix' or 'set par' I've
done to gMinuit object.

Perhaps, I would be better off using the get/set functions provided in TF1?
It looks pretty easy to write my own little macro to manipulate these
functions with minimal typing ...

Art


----- Original Message -----
From: "Rene Brun" <brun@pcbrun.cern.ch>
To: "Arthur E. Snyder" <snyder@SLAC.Stanford.EDU>
Cc: <roottalk@pcroot.cern.ch>
Sent: Sunday, December 02, 2001 1:39 PM
Subject: Re: [ROOT] Interactive minuit access from ROOT?


> Use the global gMinuit
>
> Rene Brun
>
> On Sun, 2 Dec 2001, Arthur E. Snyder wrote:
>
> > Thanks, Rene. Can you tell me how I access TMinuit object when I'm
fitting a
> > histogram? I don't find an assessor either in TF1 or TH1. I've also
looked
> > up the inheritance tree but don't find anything that looks like the
right
> > thing.
> >
> > Art
> >
> >
> >
> > ----- Original Message -----
> > From: "Rene Brun" <brun@pcbrun.cern.ch>
> > To: "Arthur E. Snyder" <snyder@SLAC.Stanford.EDU>
> > Cc: <roottalk@pcroot.cern.ch>
> > Sent: Sunday, December 02, 2001 9:49 AM
> > Subject: Re: [ROOT] Interactive minuit access from ROOT?
> >
> >
> > > Hi Art,
> > >
> > > The direct equivalent of PAW option "M" does not exist.
> > > However, you can invoke any function from TMinuit directly.
> > > This should provide even more flexibility at the expense
> > > of slightly more typing.
> > >
> > > Rene Brun
> > >
> > > On Sat, 1 Dec 2001, Arthur E. Snyder wrote:
> > >
> > > > Try again to post this with more sensible subject line!
> > > >
> > > > ----- Original Message -----
> > > > From: "Arthur E. Snyder" <snyder@SLAC.Stanford.EDU>
> > > > To: <roottalk@pcroot.cern.ch>
> > > > Sent: Saturday, December 01, 2001 12:29 AM
> > > > Subject: Re: [ROOT] tiny Bug in root
> > > >
> > > >
> > > > > Is it possible to invoke interactive minuit from within ROOT?
I.e.,
> > the
> > > > > equivalent of 'h/fit 100 myfunc.f m' in paw? The ROOT fit provides
> > most of
> > > > > the options of paw, but not this one. The 'm' option in ROOT seems
to
> > be
> > > > > something different.
> > > > >
> > > > > I've looked in TMinuit, TF, and TH1 classes, but have not been
able to
> > > > find
> > > > > anyway to get to the interactive interface of minuit or some
> > alternative.
> > > > >
> > > > > Art Snyder at SLAC
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> >



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:10 MET