Re: multiple TKeys to an object w/ different cycle number

From: Kazuyoshi Furutaka <furutaka.kazuyoshi_at_jaea.go.jp>
Date: Thu, 18 Jan 2007 16:40:38 +0900 (JST)


Dear Rene and rooters,

Rene, thanks for your quick reply.
For hours I was struggling to find mistakes in my code...

From: Rene Brun <Rene.Brun_at_cern.ch>
Subject: Re: [ROOT] multiple TKeys to an object w/ different cycle number Date: Thu, 18 Jan 2007 08:26:02 +0100

> When filling a TTree the header is saved to the file every 200 MBytes
> (see SetAutoSave).
> The last copy of the header is kept, ie if you write 1 GByte, you will
> have 5 AutoSaves. The last AutoSave will be kept. In addition you will
> have the final header when you close the tree.
> This mechanism is in place to guarantee the data integrity on the file
> up to and including the last AutoSave in case your program crashes.

Well, then, two more questions...
1. The final one is with the larger cycle number, right? 2. With TFile::Get() can we safely obtain the pointer to

   the final one?

Thanks in advance.

Yours,
Kazuyoshi

--
Kazuyoshi Furutaka
furutaka _dot_ kazuyoshi _at_ jaea _dot_ go _dot_ jp
Received on Thu Jan 18 2007 - 08:40:51 CET

This archive was generated by hypermail 2.2.0 : Thu Jan 18 2007 - 11:50:00 CET