Re: [ROOT] pruning events in a tree

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu Apr 17 2003 - 10:05:08 MEST


Hi Richard,

You can use TTree::CopyTree giving a selection expression
or TTree::CopyTree and implement yourself the few lines of code
to make the selection.
We give examples in the tutorials copytree, copytree2 and copytree3.C

see: http://root.cern.ch/root/htmldoc/TTree.html#TTree:CopyTree

Rene Brun



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET