Dear root users, I know from a root user that tree name is different from the name of tree object. One of the arguments in creating a TChain is the tree name. I check the tree name of 2 root TTree file from the Tree Viewer. I think the name written next to the small tree picture is the tree name. However, when I put it in the argument as "TChain chain("tre")" for creating a TChain object and later opened Tree Viewer (with "chain.StartViewer()"), ROOT said "cannot file tree with name tre in myfile.root". So I would like to know if the "tree name" that I found from Tree Viewer is really the intended argument in "TChain chain("..")". If no, how can I check it? Also, from the user guide, a TChain object is a list of root files containing the same tree. Does this means the trees of those root files to be chained must be of the same name? If yes, how can I chain root files with trees of different names? Thanks in advance, Lesley
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET