Hi,
I have files given to me with multiple trees. Each tree contains a different block of information for each event (i.e., the trees have different branches). All trees have the same number of entries.
Is there a simple way to collapse all the trees into on output tree? I tried TTree::MergeTrees() but this seems to be expecting the same branches in each tree in the list passed to it.
The reason I want to do this is b/c, as far as I know, the TTree::AddFriend functionality does not work in a PROOF environment. At least, when I tried it, then in the TSelector::Process() I can’t see the branches from friend trees.
So right now, it looks like my only choice is to avoid parallelization altogether or merge the trees together.
thanks!