problem with castor

From: Massimiliano Chiorboli <massimiliano.chiorboli_at_cern.ch>
Date: Mon, 16 Aug 2010 11:25:52 +0200


Dear experts,

        I'm trying to read some files on castor from a macro. I have:

     TChain *fChain = new TChain("HltTree");
     fChain->add("/castor/cern.ch/user/c/chiorbo/OpenHlt_Spring10/LM0/openhlt_100_1_ios.root");
     fChain->add("/castor/cern.ch/user/c/chiorbo/OpenHlt_Spring10/LM0/openhlt_101_1_LuY.root");


I tried also:

     fChain->add("rfio:/castor/cern.ch/user/c/chiorbo/OpenHlt_Spring10/LM0/openhlt_100_1_ios.root");

and

     fChain->add("rfio:///castor/cern.ch/user/c/chiorbo/OpenHlt_Spring10/LM0/openhlt_100_1_ios.root");

I always get:

Error: Can't call TChain::add("/castor/cern.ch/user/c/chiorbo/OpenHlt_Spring10/LM0/openhlt_100_1_ios.root") in current scope BaseHltTree.h:1689: Possible candidates are...
(in TChain)
(in TTree)

*** Interpreter error recovered ***

What is wrong in what I do?

I'm using root 5.22/00d with all the environments set as for the cms software (command cmsenv under a cmssw project).

Thanks,

        Massimiliano Received on Mon Aug 16 2010 - 11:25:57 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 16 2010 - 11:50:01 CEST