Copying some events

From: Arthur E. Snyder <snyder_at_slac.stanford.edu>
Date: Fri, 10 Oct 2008 18:28:32 -0700


Hi Root folks,

I would like to copy some selected events to a new file. Same TTree .. just a selection of events.

It must be easy but I'm not finding an example. The only things I see (I think) are methods of copying some of the tree variables. I want all the variables but not all the events.

Can some one point me to a simple example?

-Art S.

A.E. Snyder, Group EC                        \!c*p?/
SLAC Mail Stop #95                          ((.   .))
Box 4349                                        |
Stanford, Ca, USA, 94309                      '\|/`
e-mail:snyder_at_slac.stanford.edu                 o
phone:650-926-2701                              _
http://www.slac.stanford.edu/~snyder          BaBar
FAX:650-926-2657                          Collaboration
Received on Sat Oct 11 2008 - 03:28:39 CEST

This archive was generated by hypermail 2.2.0 : Sat Oct 11 2008 - 11:50:02 CEST