Message: verbose levels Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question verbose levels 

Keywords: verbose levels
Forum: Run Management
Date: 22 Mar, 2002
From: Mark Boland <>

Hi GEANT4 Team,

I am trying to control the output I generate in my EventAction class
by setting the verbose levels in a macro, e.g.

/run/verbose 2
/tracking/verbose 2
/event/verbose 2

I would like to use these levels to switch on and off G4cout statements
containing values of energy deposition etc. Is there a way I can test
these levels in my EventAction class? For example

if(EventVerboseLevel == 2) G4cout << Energy << endl;

In some of the examples a "magical" variable varboseLevel is tested, and
I cannot find where it is defined or which verbose level it refers to:
run, tracking or event.

In summary, how do I access and test verbosity levels?


Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: verbose levels   (Vladimir Ivantchenko - 22 Mar, 2002)
 Add Message Add Message
to: "verbose levels"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]