Re: Fwd: svcClass and TChain::Add

From: Simone Bifani <simone.bifani_at_cern.ch>
Date: Wed, 10 Nov 2010 14:08:41 +0000


  Hi Fons,

I thinks so... couldn't you?
It is in my grid castor space.

Thanks,
s.

On 10/11/2010 13:38, Fons Rademakers wrote:
> Hi Simone,
>
> I am investigating. Can I access the file in castor?
>
> Cheers, Fons.
>
>> -------- Original Message --------
>> Subject: [ROOT] svcClass and TChain::Add
>> Date: Tue, 9 Nov 2010 16:03:51 +0000
>> From: Simone Bifani <simone.bifani_at_cern.ch>
>> To: CERN ROOT Talk <roottalk_at_cern.ch>
>>
>>
>>
>> Dear ROOTers,
>>
>> which is the proper way to specify the svcClass of a CASTOR file when
>> using a TChain::Add?
>>
>> While I am able to set svcClass=lhcbuser when using TFile::Open
>>
>> root [0] TFile *_file0 =
>> TFile::Open("root://castorlhcb.cern.ch//castor/cern.ch/grid/lhcb/user/s/simone/2010_11/12435/12435999/DVNtuples.root?svcClass=lhcbuser")
>>
>> root [1] _file0->ls()
>> TXNetFile**
>> root://castorlhcb.cern.ch//castor/cern.ch/grid/lhcb/user/s/simone/2010_11/12435/12435999/DVNtuples.root
>>
>> Gaudi Trees
>> TXNetFile*
>> root://castorlhcb.cern.ch//castor/cern.ch/grid/lhcb/user/s/simone/2010_11/12435/12435999/DVNtuples.root
>>
>> Gaudi Trees
>> KEY: TDirectoryFile DecayTreeTuple;1 DecayTreeTuple
>> KEY: TDirectoryFile GetIntegratedLuminosity;1
>> GetIntegratedLuminosity
>>
>>
>> I cannot do the following:
>>
>> root [0] TChain *fChain = new TChain("DecayTreeTuple/DecayTree")
>> root [1]
>> fChain->Add("root://castorlhcb.cern.ch//castor/cern.ch/grid/lhcb/user/s/simone/2010_11/12435/12435999/DVNtuples.root?svcClass=lhcbuser")
>>
>> (Int_t)0
>> root [2] fChain->Scan()
>> (Long64_t)0
>>
>>
>> Thanks,
>> s.
>>
>>
>>
>

Received on Wed Nov 10 2010 - 15:08:48 CET

This archive was generated by hypermail 2.2.0 : Wed Nov 10 2010 - 17:50:01 CET