Tree autosave?

From: Wensheng Deng (wdeng@rcf.rhic.bnl.gov)
Date: Thu Mar 30 2000 - 02:09:46 MEST


Hi root experts,

I am learning to use the autosave feature of TTree.
I call SetAutoSave() right after I create a tree 
with statements like:
kinkTree = new TTree("kinkAnalysis","STAR kink analysis");
kinkTree->SetAutoSave(1000); // I use 1000 for testing purpose

But it seems to me that it never autosaves.

Then I looked into the code TTree.h and TREE_Tree.cxx.
Do 'grep -n fTotBytes' to TREE_Tree.cxx and TTree.h,
it looks like the member variable 'fTotBytes' never get increased.

Maybe I am wrong somewhere?

Thanks,
Wensheng



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