[ROOT] TTree & pointers

From: Matevz Tadel (Matevz.Tadel@ijs.si)
Date: Mon Feb 15 1999 - 16:13:04 MET


Hi ...

I have a case like:

class Ev:public TObject{
  TOrdCollection	*mFoo; // Collection of Bar objects
  Bar			*mBar; // Points to one of the Bars in mFoo
};


When writing Ev to a tree, Bar that is pointed to by mBar gets written
twice. Have I done sth wrong or is it a feature?

Cheers,
matevz

_____________________________________________________________
   Matevz Tadel,               E-mail: Matevz.Tadel@ijs.si
   Department of Experimental High Energy Physics - F9
   Jozef Stefan Institute, Jamova 39, P.o.Box 3000
   SI-1001 Ljubljana, Slovenia
   Tel.: +386-61-177-3674            Fax: +386-61-125-7074
-------------------------------------------------------------



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