Re: [ROOT] TChain speed

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Sep 19 2003 - 10:22:26 MEST


Hi Sebastien,

It could be that you hit the same problem than Ed Moyse (reported recently).
In case your file name contains some combination of strings like ".",":","_",
TChain::Add may interpret the string as a wilcard expression.
Could you try to replace your calls to 
  mychain.Add("....");
by
  mychain.AddFile("...",TChain::kBigNumber);

The problem had already been fixed in the CVS version.

Rene Brun

Sebastien Greder wrote:
> 
> Hello Rooters,
> 
>  I have a pb while using TChain if I put open file in the chain
>  the prog runs  nicely, adding other files decrease the execution
>  speed by 10-15. Before bothering you with code, I'd like to know what I
>  should look at first (if they are some obvious causes to this
>  consequence !)to make tests
>  otherwise I can send some piece of code on a public aera,
> 
>  thanks,
> 
>  seb.
> 
>  I'm running on RH 7.2 , gcc 2.96. rootv3.05.07



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:15 MET