Re: TPad::Print()

From: Dmitry Naumov <naumov_at_nusun.jinr.ru>
Date: Wed, 08 Jun 2005 09:08:30 +0200


Thank you Rene for this explanation.

Best regards,
Dmitry

Rene Brun wrote:

> Hi Dmitry,
>
> You can use the global variable gErrorIgnoreLevel that controls
> the level at which Info messages are printed.
> By default gErrorIgnoreLevel=0. If you gErrorIgnoreLevel=1
> the message printed by TPad::Print will disappear.
>
> gErrorIgnoreLevel is in "TError.h"
>
> Rene Brun
>
> On Tue, 7 Jun 2005, Dmitry Naumov wrote:
>
>> Dear ROOTers,
>>
>> would it be possible to have a possibility to switch off/on Print
>> message when a picture
>> is printed by TPad::Print() method? Sometimes in loops it is very
>> convinient to get this (generally
>> usefull) message. I looked the code and it seems this possibility is
>> not foreseen:
>>
>> TPad::Print(...)
>> if (!gSystem
>> <http://root.cern.ch/root/html/TSystem.html>->AccessPathName
>> <http://root.cern.ch/root/html/TSystem.html#TSystem:AccessPathName>(psname.Data()))
>> {
>> Info("Print", "file %s has been created", psname.Data());
>>
>> If I am not mistaken a small "if" could easily handle this.
>>
>> Thank you,
>> Dmitry
>>
Received on Wed Jun 08 2005 - 09:08:24 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:09 MET