[ROOT] TChain unexpected error

From: Andres F. Osorio (andres@hep.man.ac.uk)
Date: Mon May 05 2003 - 03:22:35 MEST


ROOT 3.02 - x86 Linux

Dear Rooters,

 After a successful merge process of 4 root files into a single root file
( < 1.9 GB), I get the following error at some point (not at the
beginning) during the analysis I perform on the file:

Error in <TFile::ReadBuffer>: error reading all requested bytes from file
pytrun_lc_ee->qq.root, got 5743 of 7141
R__unzip: discrepancy with initial size
Error in <TBasket::ReadBasketBuffers>: fObjlen = 7596, nout = 0
|
 *** Break *** segmentation violation
Aborted (core dumped)


The original 4 data files where in HBOOK format, then h2rooted and finally 
reunited using the Merge(,) member function:

...

TFile *outfile = new TFile("pytrun_lc_ee->qq.root","RECREATE");

TChain ch1("h10");

ch1.Add("1/pytrun_lc_ee->qq.root");
ch1.Add("2/pytrun_lc_ee->qq.root");
ch1.Add("3/pytrun_lc_ee->qq.root");
ch1.Add("4/pytrun_lc_ee->qq.root");

ch1.Merge(outfile,0);

outfile->Close();

...

What is it causing the error? Note that the analysis runs fine on any 
of the individual files. Many thanks for your collaboration. 

Cheers,

Andres 



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