[ROOT] Error detection for TFile

From: Haitao Liu (liuht@particle.phys.ethz.ch)
Date: Tue Nov 07 2000 - 11:34:38 MET


Dear rooters,

I used Root for simulation on a PC farm contains hundreds of process, so 
hundreds of files are produced every day. Sometimes, one of the TFile was 
corrupted for some reason( disk full). When my program try to read the object,
use TFile::Get(), I get segmentation fault. The File can be opened but it 
issue error message. So how can I judge the file is corrupted before I get 
egmentation fault. I think I get some error status from TFile, but I can not 
find.

Thanks with regards                     Haitao



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