Re: [ROOT] TChain::Add with wildcards in 3.03/07

From: Luiz Martins Mundim Filho (mundim@uerj.br)
Date: Wed Aug 14 2002 - 19:42:26 MEST






  
  


I had this same problem one year ago. The solution is to put the whole path
in the command, like:
root> tc.Add("/home/user/*.root")

Cheers

Luiz Mundim
Rene Brun wrote:
Hi Paul,

I cannot reproduce this problem.
Could you send me the output of
ls -l *.root

Rene Brun

On Wed, 14 Aug 2002, Paul Balm wrote:

Hello,

When comparing root 3.03/02 with 3.03/07 (both Linux RH6), I think I
notice a bug in the later version. In 3.03/02:

root [0] TChain tc("Global")
root [1] tc.Add("*.root")
(Int_t)13

And in 3.03/07:

root [0] TChain tc("Global")
root [1] tc.Add("*.root")
(Int_t)0

(executed in the same directory of course)
Somehow, in 3.03/07, if the argument to TChain::Add contains a wildcard,
no files will be added to the chain.
Regards,

Paul Balm







This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:04 MET