Re: Using CopyTree() in python

From: Tim Head <betatim_at_gmail.com>
Date: Sat, 23 Jan 2010 10:56:49 -0600


Wim replied in private with the following suggestion which solves the problem.

2010/1/20 <WLavrijsen_at_lbl.gov>:
> Tim,
>
> responding to your message from roottalk which got forwarded to me: in
> the make_tree() method, the arrays have limited scope. You should either
> reset the branch addresses to 0, or keep them alive like e.g. so:
>
> ntup._a, ntup._b, ntup._c = a, b, c
>

Thanks,
Tim

-- 
http://tim.jottit.com/
Received on Sat Jan 23 2010 - 17:56:53 CET

This archive was generated by hypermail 2.2.0 : Sat Jan 23 2010 - 23:50:01 CET