Re: [ROOT] TEventList::Clear()

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Jan 02 2004 - 10:29:25 MET


Hi Pasha,

Thanks for this remark. TEventList::Clear is now implemented
in the CVS version.

I take this opportunity to wish a Happy New Year to all the members of 
this list.

Rene Brun

On Tue, 30 Dec 
2003, Pasha Murat 630-854-9188 wrote:

> Dear ROOTers,
> 
> a relatively minor comment: for most of the ROOT classes x::Clear does 
> reset, this is nice, intuitive and consistent throughout the system. 
> For TEventList class, however, ::Clear() does nothing - I guess it is just 
> missing, so one has to use TEventList::Reset. Would it be a big deal to 
> have TEventList::Clear(...) implemented ? - consistency is a HUGE deal 
> in the large software systems. 
> 				thanks and Happy New Year to everybody, Pasha
> -------------------------------------------------------------------------------
> root [18] TEventList a;
> root [19] a.Enter(100)
> root [20] a.GetEntry(0)
> (const Int_t)100
> root [21] a.Clear()
> root [22] a.GetN()
> (const Int_t)1
> root [23] a.GetEntry(0)
> (const Int_t)100
> root [24] a.Reset()
> root [25] a.GetN()
> (const Int_t)0
> -------------------------------------------------------------------------------
> 



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