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 > > >
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:34 MET