Hi Jacek, The automatic name/pointer assignement in ROOT/CINT does not work when there are two on the same statement. Do: TEventList *elOP = (TEventList*)f->Get("elOP"); nOP->SetEventList(elOP); Rene Brun On Sat, 7 Dec 2002, Jacek M. Holeczek wrote: > Hi, > (Root 3.03/09, RH7.3, gcc-2.95.3) > root [0] TFile *f=new TFile("BlahBlah.root","OLD); > root [1] elOP > (class TEventList*const)0x87e3d48 > root [2] nOP > (const class TNtuple*)0x8812ef8 > root [3] nOP->SetEventList(elOP) Error: Symbol elOP is not defined in current scope > FILE:/tmp/fileE9d91E_cint LINE:1 > *** Interpreter error recovered *** > root [4] nOP->SetEventList(((TEventList*)elOP)) > Error: Symbol elOP is not defined in current scope FILE:/tmp/file9BxvEm_cint LINE:1 > *** Interpreter error recovered *** > Is this a bug or a feature ? > > Best regards, > Jacek. >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:23 MET