Re: [ROOT] Streamer with options and TTree

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Oct 31 2000 - 09:55:44 MET


Hi Anton,
This is possible with the hand-written Streamers. In this case, you
must be consistent between the write and read sections of the Streamer.

Rene Brun

FOKIN@tsl.uu.se wrote:
> 
> Hi Rene,
> 
> Is it possible to have a tree with many branches in
> case of object streamer with options. Somewhat like
> 
>   b << fData1;
>   b << fOption;
>   if (fOption == kOpt1)
>     b << fData2;
> 
> etc.
> 
> Regards,
> Anton



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:36 MET