Re: TGraph labels and TGraph into a Tree

Rene Brun (Rene.Brun@cern.ch)
Thu, 12 Nov 1998 09:28:24 +0100


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