Message: Re: Turn off G4Exceptions Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Turn off G4Exceptions 

Forum: Run Management
Re: Question Turn off G4Exceptions (Volodymyr Rodin)
Date: 03 Apr, 2018
From: Makoto Asai <Makoto Asai>

Hi Volodymyr,

Exception handler is a singleton. Please instantiate your MyG4ExceptionHandler in your main() right after you instantiate G4RunManager (or G4MTRunManager).

Hope this helps, Makoto

On Tue, 03 Apr 2018 12:57:54 GMT, Volodymy Rodin wrote:

> Hello, everyone
> How can I turn off warnings like this?
> -------- WWWW ------- G4Exception-START -------- WWWW -------
> *** G4Exception : GeomNav1002
>       issued by : G4PathFinder::ReportMove()
> I created class MyG4ExceptionHandler in my projects, but I do not know
> how to instantiate it correctly for multithreading mode.
> Best regards,
> Volodymyr Rodin

 Add Message Add Message
to: "Re: Turn off G4Exceptions"

 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 ]