Hello,
we are trying to acces root files in CASTOR with
TFile *f1 =
TFile::Open("rfio:/castor/cern.ch/user/s/schieck/mc2790_1_111.root");
and the system complains with:
Error in <TRFIOFile::TRFIOFile>: file
/castor/cern.ch/user/s/schieck/mc2790_1_111.root does not exist
But the file exists as you can see:
[lxplus044] ~ > rfstat /castor/cern.ch/user/s/schieck/mc2790_1_111.root
Device : 0
Inode number : 4236991
Protection : -rw-r--r-- (100644)
Hard Links : 1
Uid : 19235 (schieck)
Gid : 1135 (ws)
Size (bytes) : 126547074
Last access : Thu Nov 29 12:15:50 2001
Last modify : Thu Nov 29 12:00:40 2001
Last stat. mod. : Thu Nov 29 12:00:40 2001
We tried a similar thing in PAW with opening a hbook file in CASTOR and it
actually worked!
We managed to access the file with manual stagein -M and using a symbolic
link. However, if we try to access a tree within the root file via
TFile *f = TFile::Open("rfio:link.root");
TTree *ntuple = f.Get("h10");
ntuple->StartViewer();
and try to plot a variable in a TBranch ROOT crashes.
We use root ver 3.01 from afs
ROOTSYS=/afs/cern.ch/na49/library.4/ROOT/new/i386_redhat60/root
LD_LIBRARY_PATH=/afs/cern.ch/na49/library.4/ROOT/new/i386_redhat60/root/lib/
on lxplus.
Thanks for any help
Jochen
----------------------------------------------------------------------
Jochen Schieck
EMAIL: schieck@mppmu.mpg.de
Max-Planck-Institut fuer Physik (Werner-Heisenberg-Institut)
Tel: +49 89 323 54 352
+49 179 54 72 113
Fax: +49 89 322 67 04
Foehringer Ring 6 / Room 245
80805 Muenchen
----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:10 MET