Rene Brun ??: > Changing the name of a branch is more complex than what you do. > In your case, you should also set the leaf names, eg > mon_tree->GetLeaf("xxx")->SetTitle("yyy"); > mon_tree->GetLeaf("xxx")->SetName("yyy"); > same for other branches > mon_tree->Write(); > > Rene Brun > > On Mon, 28 Hi, Brun, Do you mean I should do like the following if I want to change one branch's name and title : ---- tree->GetBranch("xxx")->SetTitle("yyy"); tree->GetBranch("xxx")->SetName("yyy"); tree->GetLeaf("xxx")->SetTitle("yyy"); tree->GetLeaf("xxx")->SetName("yyy"); ---- Regards. Exaos
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET