Appending two different branches from two different Tree into one tree

I have two different branches b1 and b2 in a Tree T1 and another root file with different branches b3, and b4 inside a Tree T2. Is there any way I can append b1 and b2 to T2 Tree?

If T2 has more entries that you’d like to process after processing the entries of T1 then use a TChain. If the entries of T2 contain additional information for each corresponding entry of T1 then use TTree::AddFriend().

Let me know if this doesn’t answer your question!