verbose level [message #16429] |
Wed, 23 April 2014 17:54  |
ForamShah
Messages: 25 Registered: March 2014 Location: india
|
continuous participant |
From: 106.66.216*
|
|
hi,
// Verbosity level
Int_t iVerbose = 0;
Int_t nEvents = 0;
what is the basic use of verbosity level?
|
|
|
Re: verbose level [message #16431 is a reply to message #16429] |
Wed, 23 April 2014 17:59   |
MartinJGaluska
Messages: 203 Registered: March 2010 Location: Germany
|
first-grade participant |
From: *physik.uni-giessen.de
|
|
A variable with such a name is usually used as a "switch" for putting out some debugging information. The higher the number is, the more information is written to the screen.
However, as these two lines could come from any kind of code it is hard to tell what exactly it does. I would recommend to search for the name iVerbose and check where it is being used and for what purpose.
For future posts, please consider to give more detailed information about your questions. Once you start doing that, you will probably recognize that you will be able to answer your own questions in many cases.
[Updated on: Wed, 23 April 2014 18:01] Report message to a moderator
|
|
|
|
Re: verbose level [message #16439 is a reply to message #16429] |
Thu, 24 April 2014 16:20  |
Shyam Kumar
Messages: 78 Registered: September 2012 Location: Mumbai, Maharashtra India
|
continuous participant |
From: 103.21.127*
|
|
Hi,
If you really want to understand it please go to a directory /pandaroot/sds/SdsDigi and open this class PndSdsCalcStrip.cxx then you will find there are many statement like (for example):
if (fVerboseLevel > 2){
std::cout<<" part of last strip : "<<(nuOut-prevOut)<<std::endl ;
std::cout<<" charge : "<<Q2<<std::endl ;
std::cout<<" end of previous strip : "<<prevOut<<std::endl ;
}
so when you will choose verboselevel greater than two than the below cout statement will be show the details of what is happening at the time of execution of macro. so It gives the detailed information of what is happening at the time of running of macro.
|
|
|