Hi Yuriy, By default, TTree::Fill will automatically save the Tree every time you have written 100 MBytes of uncompressed data. In your case, you write 102 Mbytes. So you should see two headers data;1 and data;2. Each Autosave writes the tree Header. You can increase the value of Autosave, eg mytree->SetAutoSave(1.99e9); Rene Brun On Fri, 13 Dec 2002, Yuriy Prokazov wrote: > Dear ROOTers, > I use some script like attaced one to convers my old data to the ROOT > format (test.C includes only .root file writing part). After an > execution it will produce test1.root file that holds the tree "data". > Some times, I suppose when the amount of data is big, there are 2 > objects called data in the browser window: "data;1" and "data;2". > > If I use tree.AutoSave() method instead of write there is only one > object. > > The question is: am I doing anything wrong to write the data or may be > it's TBrowser bug? > > Thank you. > > Best regards, > Yuriy.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:23 MET