plotting member functions

Wouter Hulsbergen (s37@nikhef.nl)
Tue, 20 Jan 1998 10:41:02 +0100 (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