[ROOT] tutorial advise gROOT->Reset() in named function...

From: Nicolas Produit (Nicolas.Produit@obs.unige.ch)
Date: Fri Jan 31 2003 - 15:58:10 MET


Hi,

in tutorial on the web

56- Use of the time mode on the axis

We can read:

#include <time.h>

timeonaxis()
{
// This macro illustrates the use of the time mode on the axis
// with different time intervals and time formats. It's result can
// be seen  here
// Through all this script, the time is expressed in UTC. some
// information about this format (and others like GPS) may be found at
//  http://tycho.usno.navy.mil/systime.html
//  or
//  http://www.topology.org/sci/time.html

    gROOT->Reset();
....

I thought that gROOT->Reset() should not been called in a named function.

Cheers

-- 
Nicolas Produit
INTEGRAL Science Data Center    Phone:  +41 22 950 91 40
16, Chemin d'Ecogia             Fax:    +41 22 950 91 33
CH-1290 Versoix                 www:    http://isdc.unige.ch/



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET