Re: TGraph labels and TGraph into a Tree

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Nov 12 1998 - 09:28:24 MET


Carlos Lacasta wrote:
> 
>         Hi,
>         When trying to write a class that contains a TGraph into a tree in split
> mode I get the following error
> 
> Error in <TClass::GetMethod>:
> Did not find matching TMethod <GetOption> with "" for TGraph
> 
> How can I solve that. I do not know how those methods work but, could I
> implement something into a class derived fromTGraph...?
> 

Hi Carlos,
The split mode will work, if in your class, you have
  TGraph *graph;
not
  TGraph graph;
will not work, because internally TGraph contains arrays of basic types.

Rene Brun



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