I have a corrupted root file with 19498 events.
If I loop over the events, the first 4465 are read fine, but from event 4466 onwards when I do inputTree->GetEntry I get the error:
R__unzip: error -5 in inflate (zlib)
Error in <TBasket::ReadBasketBuffers>: fNbytes = 26379, fKeylen = 86, fObjlen = 31424, noutot = 0, nout=0, nin=26293, nbuf=31424
aborting
if I run file0->IsZombie(), the result is false.
Now, my question is, is there some other method that could help detecting the corruption of the file?