Re: TH1::Fit and gMinuit->mnfixp

Rene Brun (Rene.Brun@cern.ch)
Wed, 16 Dec 1998 14:29:37 +0100


Otto Schaile wrote:
>
> Dear Rooters,
>
> TH1::Fit(const Text_t *fname .. ) is an extremely useful and simple tool
> to access Minuit. It has an implementation for setting ParLimits.
> I think fixing parameters (gMinuit->mnfixp) would also be useful and
> quite simple to implement (just along the lines SetParLimits works).
> mnfree is probably not needed at this level since a new invocation of
> TH1::Fit without fixing does the required job.
>

Hi Otto,
In my development version, I have added the following option
in TH1::Fit and TGraph::Fit:
If you use the option "B" (Bound) and if the lower=upper limit
for a parameter, this parameter will be fixed (call to mnfixp).

Rene Brun