hi would be nice if one could pass a logical function as an argument in CopyTree. E.g. in the example below i don't like the fact that i have to hardwire the cut values where i would like to use variables. In addition the selection might become more complicated. newtree =t->fTree->CopyTree("Chiprob>0.01&&Mass>5.129&&Mass<5.429"); 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 02 2001 - 11:50:20 MET