Re: How to transfer fitted value of parameter to other variable.

Rene Brun (brun@hpbrun.cern.ch)
Thu, 25 Jun 1998 22:30:28 +0200 (METDST)


Have a look at
http://root.cern.ch/root/HowtoFit.html
See section "Access to the Fit parameters and results"

Rene Brun

On Thu, 25 Jun 1998, Wei Xie wrote:

>
> Dear ROOTer's
>
> I fit a histogram with a function defined by myself.
> At the end of fitting, ROOT will print the value of fitted
> parameter. But I want to transfer the value directly to
> some other variable without printing it. I know there's the
> option "q" for this but I do not know how to transfer the
> value.
>
> More specifically, in file: $ROOTSYS/tutorials/myfit.C,
> I want to use command "printf" to print values of par[0],
> par[1], par[2]. How can I manage it ?
>
> Sincerely
>
> Xie
>
>
>