Re: [ROOT] TObject leave in TTree structure

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 02 2001 - 13:08:51 MEST


Hi Denis,

As indicated in my previous email, you should call

   MyClass::Class()->IgnoreTObjectStreamer();

in the program creating the Tree (typically the main program).
See example in $ROOTSYS/test/MainEvent.cxx

You do not need to call this function in the reader. The information
is kept in the ROOT file

Rene Brun

Denis Bertini wrote:
> 
> Hi Rene,
> 
> where should i put the statement
> 
>  MyClass::Class()->IgnoreTObjectStreamer();
> 
> to get rid of the leaves "TObject",  in the constructor of MyClass ?
> 
>                                     Thanks,
>                                           Denis



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET