Skip to content

Commit

Permalink
Merge pull request #39033 from civanch/update_g4exception_12_4
Browse files Browse the repository at this point in the history
[12_4_X] Extend CMS protections in Geant4 exception handling
  • Loading branch information
cmsbuild authored Aug 12, 2022
2 parents fa87dc5 + a7fea02 commit 1d3e869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimG4Core/Application/src/ExceptionHandler.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ bool ExceptionHandler::Notify(const char* exceptionOrigin,
mescode >> code;

// track is killed
if (ekin < m_eth && code == "GeomNav0003") {
if (ekin < m_eth && (code == "GeomNav0003" || code == "GeomField0003")) {
localSeverity = JustWarning;
track->SetTrackStatus(fStopAndKill);
}
Expand Down

0 comments on commit 1d3e869

Please sign in to comment.