Dear experts,
I got the information from the link root.cern.ch/root/html/TFile.html#Open that TFile::Open could also open non-root format file, see:
" TFile and its remote access plugins can also be used to open any
file, i.e. also non ROOT files, using:
file.tar?filetype=raw
This is convenient because the many remote file access plugins allow
easy access to/from the many different mass storage systems. "
Then I tried:
root [4] TFile * f = TFile::Open("dcap://lcg-lrz-dcache.grid.lrz-muenchen.de:22125/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasscratchdisk/user.schieck/user.schieck.Iter00_Accumulate_outDS_Customed_Part00_20101028174920.101028175429_sub011558368/user.schieck.003227.EXT2._00001.vector.bin")
Error in <TDCacheFile::Init>: dcap://lcg-lrz-dcache.grid.lrz-muenchen.de:22125/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasscratchdisk/user.schieck/user.schieck.Iter00_Accumulate_outDS_Customed_Part00_20101028174920.101028175429_sub011558368/user.schieck.003227.EXT2._00001.vector.bin not a ROOT file
and:
root [5] TFile * f = TFile::Open("dcap://lcg-lrz-dcache.grid.lrz-muenchen.de:22125/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasscratchdisk/user.schieck/user.schieck.Iter00_Accumulate_outDS_Customed_Part00_20101028174920.101028175429_sub011558368/user.schieck.003227.EXT2._00001.vector.bin","file.tar?filetype=bin")
Error in <TDCacheFile::Init>: dcap://lcg-lrz-dcache.grid.lrz-muenchen.de:22125/pnfs/lrz-muenchen.de/data/atlas/dq2/atlasscratchdisk/user.schieck/user.schieck.Iter00_Accumulate_outDS_Customed_Part00_20101028174920.101028175429_sub011558368/user.schieck.003227.EXT2._00001.vector.bin not a ROOT file
If TFile::Open method can really open non-root file, how to correctly use it ?
Thanks!
Jike