How to transfer fitted value of parameter to other variable.

From: Wei Xie (xiewei@ceropa.weizmann.ac.il)
Date: Thu Jun 25 1998 - 23:34:02 MEST


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



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