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

From: Rene Brun (brun@pcbrun.cern.ch)
Date: Thu Sep 30 2004 - 08:55:09 MEST


Justin,

This is documented in TTree::Draw, section "Using a TEventList as input"

http://root.cern.ch/root/htmldoc/TTree.html#TTree:Draw

Rene Brun

On 
Wed, 29 Sep 2004, Justin Findlay wrote:

> 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