Commit 456e2ab0 authored by Jérémie Dudouet's avatar Jérémie Dudouet
Browse files

Update the Autosave in TreeBuilder

parent 4df97edf
......@@ -240,7 +240,7 @@ UInt_t TreeBuilder::ProcessBlock(ADF::FrameBlock &inBlock)
fReadEvts++;
if(fReadEvts%fAutoSave == 0) {
fTree->AutoSave("SaveSelf");
fTree->AutoSave();
}
}
......
......@@ -58,7 +58,7 @@ protected:
protected:
static const Long64_t fMaxFileSize = 2*1024*1024*1024LL; //! the output file number is incremented all fMaxFileSize (Here 2GB)
static const Long64_t fAutoSave = 1*100*1000; //! the tree is saved all fAutoSave events (Here, 1e5 evts)
static const Long64_t fAutoSave = 1*1000*1000; //! the tree is saved all fAutoSave events (Here, 1e6 evts)
string fSaveDir = "";
string fNamePatern = "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment