[ROOT] writing a subselection of a tree

From: Matthieu Guillo (guillo@jlab.org)
Date: Fri Sep 15 2000 - 00:51:45 MEST


Hi,

I have a Ntuple (TNtuple object)  and I would like to write a
subselection of it, using a TCut, into another TNtuple object.
Say in my TNtuple "myNtuple", I have a variable x, and I would like to
save entries of "myNTuple" that have x > 3   into a new TNtuple
"my_newTNtuple".

Does anybody knows how to do that?

Thanks

--
Matthieu Guillo
Thomas Jefferson National Laboratory
Office 71 trailer 16
Phone: 757-269-5551



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:32 MET