RE: Opening Castor files

From: <WLavrijsen_at_lbl.gov>
Date: Tue, 9 Aug 2005 09:21:42 -0700 (PDT)


Gustavo,

> TFile *f = TFile::Open("rfio://castor/cern.ch/grid/atlas/data...

afaics, you're lacking a '/' (the '//' is for the protocol, then you still need a '/' to designate the absolute directory), as in:

  TFile *f = TFile::Open("rfio:///castor/cern.ch/grid/atlas/data...

See also:

> Error in <TRFIOFile::TRFIOFile>: file castor/cern.ch/grid/atlas/data...

which tells you that the relative path castor/cern.ch/... does not exist.

HTH,
  Wim

--
Wim.Lavrijsen_at_cern.ch   --   WLavrijsen_at_lbl.gov   --   www.lavrijsen.net

"Stop making excuses for your software."    --first step towards quality
   "GIGO is not a valid design pattern."         --corollary
Received on Tue Aug 09 2005 - 18:21:51 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET