Rootd TChain and wildcarding

Hi,

I use TChain to combine multiple root trees that reside on a local disk. For instance.

Files:

pythia_00.root
pythia_01.root
pythia_02.root

Then:

TChain * c = new TChain(“tree”);
c->Add(“pythia_0*.root”);

And now I would like to try and do this using rootd. I can access each
file individually with rootd but when i try to use wildcards the file
access just hangs. Is wild card supported in rootd (and from which
version of root, I am forced to use 5.02.00 b/c nothing else will
build on the server). Thanks for any insight.


Loren A. Linden Levy
481 Loomis, Department of Physics
University of Illinois at Urbana-Champaign
1110 W. Green St., Urbana, IL 61801-3080
Tel: 217-244-7995 Fax: 217-333-1215
Email: lindenle@uiuc.edu
url: w3.physics.uiuc.edu/~lindenle/


Hi,

when you add the files using “root://host/path/file*.root” to TChain::Add() this should work when you are using the rootd daemon on the remote system. If you are using xrootd than this will only work from 5.06 onwards.

Cheers, Fons.

I am using root 5.02 as the rootd with the command:

rootd -p 6969 -T /scratch/me

And I am trying to make a chain with root 5.08.00b on my laptop and when i do:

TChain * c = new TChain(“tree”);
c->Add(“root://server:6969/path/file_00.root”);

Everything works fine but when I wildcard like:

TChain * c = new TChain(“tree”);
c->Add(“root://server:6969/path/file_0*.root”);

It just sits there and does nothing after showing:
060331 03:40:28 001 Xrd: : © 2004 SLAC XrdClientAdmin 0.3

So do i need to upgrade the root on the server side? It seems from
your statement that you beleive that this should be working?


Loren A. Linden Levy
481 Loomis, Department of Physics
University of Illinois at Urbana-Champaign
1110 W. Green St., Urbana, IL 61801-3080
Tel: 217-244-7995 Fax: 217-333-1215
Email: lindenle@uiuc.edu
url: w3.physics.uiuc.edu/~lindenle/