plotting member functions

From: Wouter Hulsbergen (s37@nikhef.nl)
Date: Tue Jan 20 1998 - 10:41:02 MET


Dear Root,
Is it possible to plot member functions? The following does not work:

  class RtRelation
  {
  public:
    double rmin,rmax;
    double* Rt(double * x, double* par);
  } 

  RtRelation* rtrelation = new RtRelation;
  TF1* rt = new TF1("rt",rtrelation->Rt,
		    rtrelation->rmin,rtrelation->rmax,0); 

If it is possible, how should I do it ?
Regards, thanks, Wouter
	



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