GetPoint() in TGraphErrors

Pascal Perrodo (perrodo@lapp.in2p3.fr)
Sun, 18 Jan 1998 17:11:09 +0100 (MET)


Hi,

I use the ROOT version 1.03/08 24 November 1997.

I call the function

GetPoint() for a TGraphErrors using the example code :

Float_t xi,yi;
graph_emiss_a_vda_fine0->GetPoint(1,&xi,&yi);
printf("xi,yi = %f %f \n",xi,yi);

and I get the following message :

Error: Can't call TGraphErrors::GetPoint() in current scope
FILE:/users/atlas/perrodo/perso/aleph/btau/analysis/root/./study_histos.C
LINE:87
*** Interpreter error recovered ***

How is it possible to make this function work ?

Thanks in advance.
Cheers.
Pascal