Hello Patrick, > there any way for setFCN has for a parameter a pointer of a > member function ? right now you can use member function if it is a static member. > It is rediculous to have to define a function > non class member where we lost all the advantage of the Class member > function. It is not a ROOT limitation but C++ limitation. The only thing which is possible to do is to define abstract class let say TFCN, where your real class must be inherited from it. But I am not sure that last approach is much more convenient. Victor Patrick Dupre LCMI wrote: > > Hello, > > I use the package TFitterand the function TFitter->SetFCN, is > there any way for setFCN has for a parameter a pointer of a > member function ? It is rediculous to have to define a function > non class member where we lost all the advantage of the Class member > function. > > Thank. > > -- > --- > ============================================================================== > Patrick DUPRE | | Tel: (33 4) 76-88-78-51 > CNRS/LCMI (GHMFL) | | Fax: (33 4) 76-85-56-10 > 25 Rue des Martyrs, BP 166 | | http://eschyle.polycnrs-gre.fr > F-38042 GRENOBLE Cedex 09 | | email: pdupre@polycnrs-gre.fr > ============================================================================== -- Victor M. Perevoztchikov perev@bnl.gov perev@vxcern.cern.ch Brookhaven National Laboratory MS 510A PO Box 5000 Upton NY 11973-5000 tel office : 631-344-7894; fax 631-344-4206; home 631-345-2690
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:39 MET