Hello, I would like to create a file on castor with ROOT, but my usual method to do that does not work anymore with the version 3.10.02 of ROOT (on lxplus, my ROOTSYS is /afs/cern.ch/sw/root/v3.10.02/rh73_gcc2952/root ). below a simple example : void start() { TFile *F=TFile::Open("rfio:/castor/cern.ch/user/l/lechowsk/test.root", "RECREATE"); TH1F *H=new TH1F("h","h",100,-5,5); H->FillRandom("gaus",10000); H->Write(); F->Close(); } With 3.5.05 this works, but with 3.10.02 I have the message " stage_updc_filcp " several times. The file has been created on castor (the Open works), but has 0 octets (the Close doesn't work). Do you know something about that ? Has something changed ? I see that now there is TCastorFile, I tried it but ROOT doesn't know it : Error: Symbol TCastorFile is not defined in current scope How could I use it ? Thank you. Matthieu Lechowski.
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:07 MET