Hello,
the wildcard behaviour of TChain::Add() caused me a bit of a headache, so I thought I'd send in a patch to clarify its documentation a bit.
Kind regards,
Thiemo
-- +-----------------------------------+--------------------------+Received on Thu Feb 19 2009 - 22:28:12 CET
| Dipl.-Phys. Thiemo Nagel | |
| Technische Universitaet Muenchen | Room PH1 3276 |
| Physik-Department E18 | |
| James-Franck-Strasse | Phone +49 89 289-12379 |
| D-85747 Garching | Fax +49 89 289-12570 |
+-----------------------------------+--------------------------+--- TChain.cxx 2009-02-19 22:16:26.000000000 +0100 +++ TChain.cxx.new 2009-02-19 22:20:05.000000000 +0100 @@ -241,8 +241,9 @@ // //machine/file_name.root/subdir/tree_name // machine, subdir and tree_name are optional. If tree_name is missing, // the chain name will be assumed. - // Name may use the wildcarding notation, eg "xxx*.root" means all files - // starting with xxx in the current file system directory. + // In the file name part (but not in preceding directories) wildcarding + // notation may be used, eg. specifying "xxx*.root" adds all files starting + // with xxx in the current file system directory. // NB. To add all the files of a TChain to a chain, use Add(TChain *chain). // // A- if nentries <= 0, the file is connected and the tree header read
This archive was generated by hypermail 2.2.0 : Fri Feb 20 2009 - 11:50:01 CET