Re: [ROOT] problem in tree->Print()

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jul 07 2000 - 22:25:20 MEST


Hi,
I know that this looks inconsistent and I will try to improve
the information in Print. Currently the information in the branch buffer
in memory is not counted in the total number of bytes in the branch.
Only branch buffers written to disk are counted.
If you have only a few entries, all data fit in memory (1 basket)
and the Print reports 0 bytes.

Rene Brun

On Fri, 7 Jul 2000, HP Wei wrote:

> Dear Rooters,
>    I created a simple tree with several branches
>    using tree->branch() and with simple data types
>    such as integer, char[5], char[13] etc.
>    
>    The tree is stored in TFile successfully.
>    
>    In a new ROOT session:
>    tree-Scan() generates correct listing of all 
>    1602 rows of data.
>    But all the branch section in the report
>    generated by tree->Print() gives 
>    Entries = 1602, Total Size =0, File Size =0.
>                               ^^^           ^^^
>                               
>    The `entries' is ok.  Why are the two sizes 0???
>    
>    
>    (For reference:
>     I built Root2.25.00 with arch= solarisegcs.)
>  HP
>  
> 



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