verbose level ?

From: Vincent Colin de Verdiere (Vincent.Colin.de.Verdiere@cern.ch)
Date: Fri Feb 11 2000 - 15:15:38 MET


I wonder if it is possible to change the "verbosity" of root.

A typical case is when you try to use a non existent method:
root [0] TH1F histo;
root [1] histo.GetMaximumBin()
Error: Can't call TH1F::GetMaximumBin() in current scope
FILE:/tmp/11832caa_cint LINE:1
Possible candidates are...
filename       line:size busy function type and name  (in TH1F)
filename       line:size busy function type and name  (in TH1)
filename       line:size busy function type and name  (in TNamed)
filename       line:size busy function type and name  (in TObject)
filename       line:size busy function type and name  (in TAttLine)
filename       line:size busy function type and name  (in TAttFill)
filename       line:size busy function type and name  (in TAttMarker)
filename       line:size busy function type and name  (in TArrayF)
filename       line:size busy function type and name  (in TArray)
*** Interpreter error recovered ***

it gives 10 lines of warning... It would be nice to have only a simple
message like "undefined function" when a verbose-level variable is set to
1, no message is it set to 0, and the full message if it is set to 2.
That's an example..

-- Vincent

ps: the example shows the risk of using some root version (2.23.08) and
using the web documentation of the last one (2.23.12 I believe!).



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