Re: [ROOT] tree buffer question

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Dec 24 2003 - 11:44:15 MET


Hi Pete,

Did you write your Tree with 3.10/01 or an old version?
In 3.10/02, I added a fix when reading very old files.
Could you try with the released version 3.10/02 or tell me where
I can take one of you files (small file if possible)?

Rene Brun

On Tue, 23 
Dec 
2003, Peter Elmer wrote:

>   Hi,
> 
>   Starting recently (probably from ROOT 3.10-01) we have started to see
> R__unzip errors in reading back tree branches containing only integers. It
> is a bit complicated so I've not yet succeeded in reducing it to a simple
> test case, but I already see something strange in looking at a file:
> 
> *............................................................................*
> *Br   19 :Emc_Bumps__n : Emc_Bumps__n/i                                      *
> *Entries :     6000 : Total  Size=      36446 bytes  One basket in memory    *
> *Baskets :        0 : Basket Size=      32000 bytes  Compression=   1.00     *
> *............................................................................*
> *Br   21 :Emc_Clusters__n : Emc_Clusters__n/i                                *
> *Entries :     6000 : Total  Size=      36464 bytes  One basket in memory    *
> *Baskets :        0 : Basket Size=      32000 bytes  Compression=   1.00     *
> *............................................................................*
> *Br   23 :Emc_Cands__n : Emc_Cands__n/i                                      *
> *Entries :     6000 : Total  Size=      36446 bytes  One basket in memory    *
> *Baskets :        0 : Basket Size=      32000 bytes  Compression=   1.00     *
> *............................................................................*
> 
> Is it normal that the total size would exceed the basket size yet a basket
> is not compressed and written separately from the tree?
> 
>   I recall that you put in some bug fix recently related to compression of
> branches containing integers, could you remind me what was that fix?
> 
>   [For the record, we are working on Linux (RH7.2) with gcc 2.95.3.]
> 
>                                  thanks,
>                                    Pete
> 
> -------------------------------------------------------------------------
> Peter Elmer     E-mail: Peter.Elmer@cern.ch      Phone: +41 (22) 767-4644
> Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland
> -------------------------------------------------------------------------
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET