Belle II Software
release-08-01-10
|
This class implements a custom exception handler for Geant4 which is used to record whether a critical exception occurred when calling the G4Navigator. More...
Public Member Functions | |
virtual | ~Geant4MaterialInterfaceExceptioHandler ()=default |
virtual destructor for proper resource de-allocation | |
virtual bool | Notify (const char *origin, const char *code, G4ExceptionSeverity serv, const char *description) |
G4VExceptionHandler method called when an exception is raised. | |
bool | isInFailureState () const |
Returns true if a problematic exception was encountered. | |
void | resetFailureState () |
Reset the recorded failure state to be ready for the next calls to Geant4. | |
Private Attributes | |
bool | m_inFailureState = false |
Stores whether a problematic exception occured. | |
This class implements a custom exception handler for Geant4 which is used to record whether a critical exception occurred when calling the G4Navigator.
This class is mainly used to handle stuck tracks.
Definition at line 43 of file Geant4MaterialInterface.cc.