Hi Ed, If the TChain contains a corrupted file, Root will try to recover the file. The recovery requires a sequential scan of the files. This may take time. If the recovery fails, the file is declared a Zombie and skipped during the chain processing. A test for a non-existing file in a TChain has been added several weeks ago in the version 3.10. Rene Brun Edward Moyse wrote: > > Hi, > > I'm using TChain::AddFile(name, kBigNumber) to add a bunch of root ntuples to > a chain, and then looping over all events. > > Unfortunately quite a few of the files either don't exist, or are corrupted. > Is there a way (within my event loop) to skip these files? At the moment, > processing seems to stop (or at least dramitically slow down) each time this > happens. > > Cheers, > > Ed > > P.S. I'm using AddFile because of the ROOT "wildcard" bug in 3.05/07, and so I > can't use the normal Add command.
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET