Message: reduce physics list verbosity Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question reduce physics list verbosity 

Forum: Physics List
Date: 16 Jun, 2015
From: Eduard Friske <Eduard Friske>

Hello,

I am currently in the process of testing additional code for my simulation, which leads to frequent runs of the code. But finding the information I am looking for in the command line output is rather tedious as the physics list output clutters the terminal window.

Currently my physics list code looks like this:

G4PhysListFactory factory;
  G4VModularPhysicsList* phys = 0;
  G4String physName = "QGSP_BIC_HP";
  phys = factory.GetReferencePhysList(physName);
  phys->SetVerboseLevel(0);
  runManager->SetUserInitialization(phys);

I have tried different values for the verbosity level, but even a value of 0 is too much information for my current purpose.

Is there a way to suppress the output at the start of the program?

Thanks in advance. :-)

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

1 Idea: Re: reduce physics list verbosity   (Vladimir Ivanchenko - 19 Jun, 2015)
1 None: Re: reduce physics list verbosity   (Eduard Friske - 19 Jun, 2015)
(_ Idea: Re: reduce physics list verbosity   (Vladimir Ivanchenko - 19 Jun, 2015)
(_ None: Re: reduce physics list verbosity   (Eduard Friske - 19 Jun, 2015)
(_ None: Re: reduce physics list verbosity   (John Apostolakis - 19 Jun, 2015)
(_ Idea: Re: reduce physics list verbosity   (Vladimir Ivanchenko - 19 Jun, 2015)
(_ None: Re: reduce physics list verbosity   (Eduard Friske - 26 Jun, 2015)
2 None: Re: reduce physics list verbosity   (Koi, Tatsumi - 26 Jun, 2015)
 Add Message Add Message
to: "reduce physics list verbosity"

 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 ]