[ROOT] limit of hbook size?

From: Mei Wen (Wen.Mei@lnf.infn.it)
Date: Mon Oct 29 2001 - 14:28:29 MET


Dear rooters,
    What's the limit of the max  .hbook file size when we use h2root? (or limit of statistics?) Now in KLOE we are taking long runs data about (100nb-1) for each run. It happens that for some runs when the .hbook file >10MB the h2root is not able to convert the file to .root successfully. Some strange message like following:

 (HI1E.     2  1882077(        ) SY/US/IO 0040/00000/0003 NL/NS/ND    0/    0/      60 N/U/O/@O       0/ 1882232/ 1882150/ 1882077
 (HCO1.     1  1882150(        ) SY/US/IO 0041/00000/31A3 NL/NS/ND    2/    2/      70 N/U/O/@O 1882077/ 1882232/ 1882231/ 1882150
 (HID1.  7000  1882232(        ) SY/US/IO 0041/00010/2D15 NL/NS/ND    1/    1/      21 N/U/O/@O       0/ 1995059/ 1995057/       0
     ** LINKS   1882150(HCO1                               

At the end the file .root might not be well closed. Because when I opened the .root file afterwords I got warning err message

TFile:TFile> file probably not closed. trying to recover.
TFile:Recover> successfully recovered 3 keys. 

Could you give me an explanation? I can see the histograms after the file opened. But I am not sure the file has been converted correctly. Thanks a lot.

By the way, thanks to Brun. After I redefined Directory instead of TFile as you wrote, now every pieces works properly!:)

Cheers                                                                                                        Meiwen





This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:05 MET