[ROOT] copying branches between trees

From: Eddy Offermann (eddy@rentec.com)
Date: Mon Apr 23 2001 - 22:35:52 MEST


Dear Root-ers,

Suppose we have tree t1 and tree t2 and we want to copy
a branch from t1 to t2. How does one do it in a general
way, so no knowledge about the type of branch (case A, B ...)
??

I would have expected a command like t2->SetBranch(t1->GetBranch(".."))

Best regards,
Eddy



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:43 MET