Re: Copying some events

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Sat, 11 Oct 2008 09:02:57 +0200


see the $ROOTSYS/tutorials/tree/copytree,2,3.C examples

Rene Brun

Arthur E. Snyder wrote:
> 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 - 09:03:00 CEST

This archive was generated by hypermail 2.2.0 : Mon Oct 13 2008 - 11:50:03 CEST