Hi, Is it possible for TH1::Fit to be overloaded to take an explicit TF1 * argument as well as the char * version? Using the name lookup is of course quite convenient at the command line, but in compiled code it exposes you to uncertainties of this lookup, when the likelihood is you know the exact TF1 object to be used already. Then if someone constructs a second TF1 object with the same name, you don't have the problem of not being sure which one a fit will give you. George Heintzelman gah@bnl.gov
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET