How to transfer fitted value of parameter to other variable.

Wei Xie (xiewei@ceropa.weizmann.ac.il)
Thu, 25 Jun 1998 23:34:02 +0200 (EET)


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