[ROOT] Re: TEventList: failure to create event list for 2nd TEventList object in scope

From: Justin Findlay (findlay@cosmic.utah.edu)
Date: Wed Sep 29 2004 - 22:45:51 MEST


On Wed, Sep 29, 2004 at 02:27:47PM -0600, Justin Findlay wrote:
> I am unsure as to whether I've made a false assumption about TEventLists or if this
> is a ROOT bug.  The following code compiled against the latest CVS head produces
> the output shown.

Amazing what reading your code from the outbox can do to your vision!

I believe making a call to TTree::SetEventList, like this,

  ntuple->SetEventList(0);

after setting up each TEventList will clear the ntuple for a new selection.  Thanks,


Justin



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:09 MET