Message: Re: How to turn off G4EXCEPTION warnings Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to turn off G4EXCEPTION warnings 

Forum: Physics List
Re: Question How to turn off G4EXCEPTION warnings (Bo Liu)
Re: None Re: How to turn off G4EXCEPTION warnings (Makoto Asai)
Date: 13 Oct, 2015
From: Bo Liu <Bo Liu>

Thanks for your quick response, Makoto.

Just want to double check it. Is the warning normal? I always find it in material water. Does it mean I am doing something wrong, or am I doing things in a non-standard way? Fluo is activated for all regions, and auger production for only high Z regions. The IgnoreCut is not activated. Does the locally deposited energy have significant impact on the result?

Best regards,
> On Oct 13, 2015, at 3:42 AM, Makoto Asai <> wrote:
> *** Discussion title: Physics List
> Hi,
> You need to have your own implementation of ExceptionHandler class.
> This is not a big deal. Copy G4ExceptionHandler.hh and
> (that should be found in geant4/source/run/include and
> geant4/source/run/src)
> with your own class name (e.g. MyExceptionHandler.hh and
> and change line #122 of the source file.
>  G4cout << ws_banner << message.str() << ....
> should be changed to
>  if(exceptionCode!="de0001") G4cout << ws_banner << message.str() <<
> ....
> Then instantiate your MyExceptionHandler right after you instantiate
> G4RunManager (or G4MTRunManager). That's it.
> Hope this helps,
> Makoto
> -------------------------------------------------------------
> Visit this GEANT4 at message (to reply or unsubscribe) at: 

 Add Message Add Message
to: "Re: How to turn off G4EXCEPTION warnings"

 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 ]