Re: How to check if timer is in gSystem:: list of timers?

Fons Rademakers (Fons.Rademakers@cern.ch)
Fri, 07 Aug 1998 18:23:46 +0200


There is no direct way. You can Remove and Add it to make sure it is
there (multiple adds of the same timer will be ignored).

In the current version Remove() always returns the input argument timer.
I've fixed this so Remove() will return 0 if timer not in list.

Cheers, Fons.

Valeriy Onuchin wrote:
>
> Hi Rooters!
> How to check if timer is in gSystem::(list of timers)?
>
> Best regards. Valery

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland          Phone: +41 22 7679248
E-Mail: Fons.Rademakers@cern.ch              Fax:   +41 22 7677910