TFile::Open and ZIP Archives

Hello,

I currently use a TFile for reading a raw file (non ROOT format).

But now my raw file are compressed with gzip and stored on CASTOR. Root cannot allow to find my input files.

TFile * myfile = TFile::Open(“rfio:/castor/cern.ch/…/data.lhe.gz#data.lhe?filetype=raw”);

It seems that “gz” is not a “known” suffix. Is there a way to open my files in this configuration ?

Thanks in advance,
Cheers,
Eric

Does it work if you rename the file to have the .root extension (can you try by just copying the file)? Just to understand where the problem is.

Cheers, Fons.