[ROOT] castor files

From: Mercedes Paniccia (Mercedes.Paniccia@cern.ch)
Date: Thu Sep 19 2002 - 16:28:17 MEST


Hello,
I have a list of root files on castor having the same structure,
 in particular they contain a CBNT directory which contain a Tree "h3333":

% rfdir /castor/cern.ch/user/p/paniccia/newevgen/ROOT_ntple/        
-rw-r--r--   1 paniccia zp       46852655 Sep 01 14:03 h011to20.root
-rw-r--r--   1 paniccia zp       47184419 Sep 06 18:12 h01to10.root
-rw-r--r--   1 paniccia zp       45234085 Sep 06 18:14 h021to30.root
-rw-r--r--   1 paniccia zp       46924968 Sep 06 18:16 h031to40.root
-rw-r--r--   1 paniccia zp       47062205 Sep 01 14:02 h041to50.root
-rw-r--r--   1 paniccia zp       47453720 Sep 07 10:38 h051to60.root
-rw-r--r--   1 paniccia zp       45704009 Sep 06 18:18 h061to70.root
-rw-r--r--   1 paniccia zp       45553287 Sep 06 18:20 h071to80.root
-rw-r--r--   1 paniccia zp       46220792 Sep 06 18:22 h081to90.root
-rw-r--r--   1 paniccia zp       47321172 Sep 01 14:03 h091to100.root

I would like to create a chain accessing these files remotely,
but I think there's something wrong in my setup:

  *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   3.02/07   10 January 2002   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

Compiled for linux with thread support.

CINT/ROOT C/C++ Interpreter version 5.15.25, Jan 6 2002
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .L $ROOTSYS/lib/libRFIO.so                                                                     
root [1] TFile *f=TFile::Open("rfio:/castor/cern.ch/user/p/paniccia/newevgen/ROOT_ntple/h01to10.root");
Error in <TRFIOFile::TRFIOFile>: file /castor/cern.ch/user/p/paniccia/newevgen/ROOT_ntple/h01to10.root does not exist
root [2]  


I'm using root directly from AFS at CERN

 echo $ROOTSYS                                             
/afs/cern.ch/na49/library.4/ROOT/pro/rh61_gcc2952/root

Could you help me?

Thank you

Mercedes



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:10 MET