Hello Hans, We have examples illustrating how to clone a TTree. See: $ROOTSYS/tutorials/copytree.C $ROOTSYS/tutorials/copytree2.C $ROOTSYS/test/stress.cxx (look at stress15) However, I agree that it is a good idea to provide a function where one can specify a selection formula. I will implement it. Rene Brun Hans Wenzel (lokal) wrote: > > dear Root team > > we were just playing with TTree. we think it would be nice not only to > be able to clone > just specified branches but also to be able to specify some cuts so that > only selected events > (and branches) end up in the clone. > > cheers > > hans > -- > ________________________________________________________________________________ > Hans Wenzel | Phone:(721) 608 3418 > Inst. für Experimentelle Kernphysik | (721) 96453 45 > (home) > Universität Karlsruhe | Fax: (721) 607 262 > .~. L > Engesserstr. 7 | email: wenzel@fnal.gov > /V\ I > D-76128 Karlsruhe | http://kcdf1.fnal.gov/~wenzel/ > // \\ N > Germany | > /( )\ U > ______________________________________________________________________ > ^`~'^__X_
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET