Hello,
I’ve seen lots of examples of copying a tree or a subset of a tree into a new tree, but how about copying the contents of a tree into a new tree while applying a TCut? Something like:
newtree = origtree.CloneTree(“deltaE<0.014”);
-Brandon
Hello,
I’ve seen lots of examples of copying a tree or a subset of a tree into a new tree, but how about copying the contents of a tree into a new tree while applying a TCut? Something like:
newtree = origtree.CloneTree(“deltaE<0.014”);
-Brandon
see TTree::CopyTree
root.cern.ch/root/htmldoc/TTree. … e:CopyTree
Rene