Hi Zaldy,
You are correct in your interpretation of the behavior of
SetAutoSave. In particular it means that if the process
is halted to due a catastrophic event (seg-fault, loss of
power, etc...). The file will have been check-pointed
at the last multiple of 10000000 and only that data will
be recoverable.
Cheers,
Philippe.
-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of zaldy
Sent: Friday, December 05, 2003 11:41 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] SetAutoSave
Dear Rene,
Concerning the tree->SetAutoSave(10000000);
What happens if, inside the function loop, a flag signals exit?
Will the remaining tree->Fill() still be save ?
If I am correct, the SetAutoSave option is called by the fill function if
the amount of filled data equals or greater than the amount being preset.
That means the system works on a discrete (or in multiple of 10000000
basis).
I just want to have some further explanation: What happens if at the last
ith saved, the loop is still filling the tree and the process(or loop)
ends with some filled bytes less than 10000000? Will this be also save as
a default behavior? How does it goes?
Thanks.....
--
--------------------------------------------------------
Zaldy A. Nawang
PS Users Room 2
Yon Gokan,
E362, Neutrino Group,
IPNS, KEK,
Japan
e-mail: zaldy@neutrino.kek.jp
Tel. No. : (81) 029864 - 5387
--------------------------------------------------------
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET