Re: Converting large hbook files caused warning in h2root. Should I worry?

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Mar 12 1998 - 11:31:47 MET


Gordon Watts (Brown University) wrote:
> 
> Hi,
>   I ran h2root on a large ntuple file. At the end of the file it printed out
> the below error message. Shoudl I worry? Initial inspection of the resulting
> file makes me think the translation happened ok...
> 

The h2root conversion program has to cope with several pathological
cases:
  - Hbook files written with different versions of Packlib/Zebra.
    New files are identified with 7 works per key. Old files had
    only 4.
  - Files written on VMS systems with versions of Packlib that I
    cannot identify.
  - Hbook files not correctly closed. I implemented a pedestrian way
    to recover such files. However, the recovery is not always
    possible (case of job time-limit or disk-quota).
  - Files with more than one ntuple in case the Hbook ntuple header
    was saved more than once in the file (Hbook Autosave).
  - Case of large Hbook ntuples exceeding the limit of 64K keys.
    Hbook itself was able to recover from this situation, but there
    are may be still a few cases not considered. Most of these cases
    should be correctly recovered. In particular, if you get the result
    of TTree::Print at the end of the conversion process, things should
    be OK.

I decided to keep the warning message when one of the 5 above cases
has been identified. In your case, the conversion should be OK.
I have one or two cases of problems not correctly processed that
I am currently investigating.

Rene Brun

*...........................................................................
> .......*
> *Branch  :Lp_jet    : Lp_jet[Npjet]/I
> *
> *Entries :       10 : Total  Size =         0 bytes  File Size  =          0
> bytes *
> *Baskets :        0 : Basket Size =      8000 bytes  Compression=   1.00
> *
> *...........................................................................
> .......*
> Found nasty Hbook case!! You had an Hbook error message
>  when creating the file (too many records)
>  Hbook file should have been created with a bigger LRECL
>  ROOT will try to recover
> TFile Writing Name=upgrade.root Title=HBOOK file: upgrade.hst4 converted to
> ROOT
> TFile**         upgrade.root    HBOOK file: upgrade.hst4 converted to ROOT
>  TFile*         upgrade.root    HBOOK file: upgrade.hst4 converted to ROOT
>   KEY: TTree    h1;1



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:31 MET