Re: Accessing TFx parameters by name

From: Eric Vaandering <ewv_at_fnal.gov>
Date: Wed, 09 Mar 2005 14:44:23 -0600


Rene BRUN wrote:
> Eric,
>
> Instead of:
> cout << P1G -> GetParError("Yield");
> do
> cout << P1G -> GetParError(2);
>
> see TF1 doc : http://root.cern.ch/root/htmldoc/TF1.html

I know how to get around the problem, I was asking if its possible in a future version to add the first method since it would be useful to not have to remember the numbers of parameters and is clearer when reading code.

Thanks,

Eric

-- 
Eric Vaandering           Phone: 615-343-6599     FAX: 615-343-7217
  Vanderbilt University    Email: ewv_at_fnal.gov
  Department of Physics    http://www.hep.vanderbilt.edu/~vondo
______________________________________________________________________________
If cars were like computers, they'd get 500mpg,
cost $10, and explode once a year.
______________________________________________________________________________
If at first you DO succeed, try not to look astonished!
Received on Wed Mar 09 2005 - 21:45:22 MET

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:05 MET