Re: Rint questions

From: Rene Brun (Rene.Brun@cern.ch)
Date: Mon Mar 13 2000 - 21:18:01 MET


Hi Anton,
By default TRint does not print the RT/CPU use by each command.
This is activated via gROOT->Time("on/off").
Check your rootlogon.C file.

Concerning PrintLogo, you can derive from TRint and in your derived class
have a function PrintLogo (dummy or your own logo).

Rene Brun


On Mon, 13 Mar 2000, Anton Fokin wrote:

> Just a stupid one.
> 
> How can I turn off Real time/CPU time shown after executing every command in
> a Rint based application?
> 
> And about PrintLogo() welcome message. I found this on the roottalk:
> 
> >Hi Selim,
> 
> >  just derive a class from TRint and override PrintLogo().
> 
> >Cheers, Fons.
> 
> 
> The problem is that PrintLogo call is inside TRint constructor, so if I do
> TMyRint::TMyRint(bla bla) : TRint(bla bla) with new PrintLogo() in TMyRint I
> will get TRint::PrintLogo() called in TRint constructor. Am I wrong?
> 
> 
> Best,
> 
> /Anton
> 



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:21 MET