_ROOT Version: tags/v6-18-04@v6-18-04
_Platform: x86_64-centos7-gcc8-opt
_Compiler: ROOT macro
For some reasons I need to be able to access the exact same TTree using different tree names ( O(10) ). All trees should be accessible from the same file.
What is the smartest way to do this from a memory/size point of view? Are multiple hard copies (using CloneTree) unavoidable?
I thought about creating friends with only a single branch copied from the original tree but then the additional trees do not have the exact same structure (in terms of branch read directly from them or from the original tree) than the original and ROOT gets confused when both types are read at the same time e.g. in a TChain (see Behavior of TChain when adding Trees which have friends already defined)
Thanks a lot in advance for your ideas
Cheers
Matthias