Suppose you have a root file with two trees with the same name but in a different directory:
file.root
* dirA/treename
* dirB/treename
Now, creating a chain with the two trees is not an issue. However, creating an entry list with chain.Draw(">>elist", …) only contains entries from one of the trees. I suspect this is “by design” as the documentation of TEntryList says “Trees and lists are matched by the TTree name and its file name (full path)”.
Is there a workaround for this use case? Is a fix feasible in the near future?
I can reproduce the issue you report: there is an action on the ROOT side to find a proper solution: I’ll get back to you. Meanwhile, a quick workaround if you are using linux/mac could be creating a symlink to the file where the trees are stored in order to differentiate the two trees.