Message: Re: suppress stdout Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: suppress stdout 

Forum: Event and Track Management
Re: None suppress stdout (Kathrin Schier)
Date: 21 Feb, 2017
From: Michael H. Kelsey <Michael H. Kelsey>

On Tue, 21 Feb 2017 12:45:27 GMT, Kathrin Schier wrote:
> Dear all!
> 
> When running my simulation, I get lots of output on the console of this
> kind:
> 
> eBrem:   for  e+    SubType= 3
>       dE/dx and range tables from 100 eV  to 10 TeV in 77 bins
>       Lambda tables from threshold to 10 TeV in 77 bins, spline: 1
>       LPM flag: 1 for E > 1 GeV
>       ===== EM models for the G4Region  DefaultRegionForTheWorld ======
>              eBremSB :  Emin=        0 eV    Emax=        1 GeV   DipBustGen
>             eBremLPM :  Emin=        1 GeV   Emax=       10 TeV   DipBustGen
> 
> and
> 
> You have successfully registered the following model factories.
> Registered model factories:
> 
> My question is whether there is a way to generally suppress all output
> or where and how to suppress the messages for the different processes.

The default verbosity when instantiating physics lists is "verobse=1". You can change this to verbose=0, which will suppress all of the process configuration output.

  -- Michael Kelsey

 Add Message Add Message
to: "Re: suppress stdout"

 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 ]