Re: cloning a TTree

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Thu, 04 Oct 2007 16:18:41 +0200


It is hard to come with a diagnostic without having your source and data files.
In the tutorials, we provide several examples for copying Trees. Look in particular at $ROOTSYS/tutorials/copytree3.C

Rene Brun

Pietro Govoni wrote:
> Dear ROOTers,
>
> I am trying to clone a TTree with some selections to copy only a
> subset of the original dataset.
> The code I am using to do that in ROOT Version 5.10/00e and can be
> found in attachment to this email.
> If necessary, please let me know if more information is needed to
> focus the problem.
>
> The output root file is produced with the expected number of events,
> but the copied variables are not filled with the original values.
> What do I am missing?
>
> Thank you, kind regards,
>
> pietro
>
>
>
>
Received on Thu Oct 04 2007 - 16:18:36 CEST

This archive was generated by hypermail 2.2.0 : Thu Oct 04 2007 - 17:50:02 CEST