Hi Wolgang,
Instead of TFile::Write, use myobject.Write();
ie, write your objects one by one.
Rene Brun
Wolfgang Waltenberger wrote:
>
> Dear root mailing list,
>
> I am writing to a TFile, and I have to write in more than one "go",
> i.e. I have multiple TFile::Write() calls.
> Now I would like to suppress the different "cycles", so I thought the
> kOverwrite flag was the right thing. But that destroyed the information
> written in previous steps. Can I TFile::Write("",kOverWrite) more than
> once, and keep all the data at the same time?
>
> Cheers
>
> Wolfgang
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET