TFile::Open and ZIP Archives


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/…/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,

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.