Dear experts,
my problem is extremely simple and yet I did not manage to find any answer so far. I have a TTree inside a TFile. That tree comes in a hierarchy, i.e. the tree called “outTree” comes in my TFile as “demo/outTree” where “demo” is the name of my folder.
I would like to copy a subset of that tree, e.g. using copytree.C in the tutorials. In those tutorial macros, the new tree is created using CloneTree()
Problem: when I use CloneTree(), the folder “demo” disappears in the new tree inside the new TFile. I would like to keep it inside the new File. How can I do that ?
Thanks a lot.
Otman