Re: [ROOT] TEventList and TTree::Draw(...,nentries)

From: Alexander Bürger (buerger@iskp.uni-bonn.de)
Date: Thu Aug 12 2004 - 11:25:18 MEST


Hi Rene,

> > I would like to limit the number of entries processed by TTree::Draw. I
> > find that
> >
> >     t.Draw("x", "", "", 123 )
> >
> > only stops after 123 events when as there is no eventlist set on the tree.

> I do not understand your question.
> With:   t.Draw("x", "", "", 123 );
> you should process 123 events.

It processes 123 entries if there is no eventlist. If I do
t.SetEventList(somelist) before, all entries in the list are processed (I
tried with nentries=0, 123, 198364918 for a list of 11000).

Alexander



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