Hi Yiqun Thank you for reporting this problem. The fix will be uploaded to the CVS repository shortly. Cheers, Philippe -----Original Message----- From: owner-roottalk@pcroot.cern.ch [mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Yiqun Wang Sent: Saturday, July 26, 2003 4:53 PM To: roottalk@pcroot.cern.ch Subject: [ROOT] Int_t TChain::Add(const char *name, Int_t nentries) Hi, Rooters: There is problem in "Int_t TChain::Add(const char *name, Int_t nentries)" for the latest root_v3.05.07. I use Mandrake 9.1, and compiled 3.05.07 from source (the one before "root_v3.05.07.source.tar.gz. . . Jul 25 21:44 9737k" worked fine, but not the lastest one). Attached please find three macros. "fillTree.C" to fill the tree and write to a root file. Then run "chainTest_1.C" and you get "Error in <TChain::LoadTree>: cannot find tree with name h in file aaa_0001.root". Interestingly, macro "chainTest_2.C" (which is the same as "chainTest_1.C" except that it calls "TChain::AddFile(..)") works. Yiqun Wang ################################################################# ################################################################# ################################################################# ##### ##### ##### ################################################################# ################################################################# #################################################################
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET