Hi Stelios, What you observe is correct. By default the tree header is saved as soon as you write more than 100 Mbytes to the file. If you see 3 headers, it means that you have written at least 300 Mbytes. You can change the default via TTree::SetAutoSave. For more information, see: http://root.cern.ch/root/htmldoc/TTree.html#TTree:AutoSave Please do not send your mails both to roottalk and about_root@fnal Rene Brun > Stilianos Kesisoglou wrote: > > Hi, > > I've noticed a behavior on ROOT which I am not sure if it's normal or > indicates a problem. > > I have a macro that I am using for an analysis which creates a struct > (named "myResults"), > fills the struct with some values and at the end writes the struct in a tree. > > Over time the struct grew in size (I wanted to save more and more stuff) > and as it grew > I've noticed the following: > > a) When my tree had a relatively small size the name of the tree > written was the one I've chosen "myTree" > b) When my tree became bigger in size it saved two trees named > "myTree;1" and "myTree;2" > c) Now which is even bigger it saves two trees named "myTree;2" and > "myTree;3" > > Is there any reason for this behavior? I haven't changed the macro (apart > from growing the struct) and also > I don't see any problem with the values saved on the output file. > > Is this a normal behavior of ROOT or it indicates a problem? > > Thanks! > > Stelios.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:13 MET