Project

General

Profile

Feature #22453

Exception when loading unknown terms from the PhysicsList.

Added by Jason Stock 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
04/25/2019
Due date:
% Done:

0%

Estimated time:
Experiment:
-
Co-Assignees:
Duration:

Description

If the physics list is configured with random garbage in the list
Example:
"LowEnergyEm",
"FastOptical",
"SynchrotronAndGN",
"IonHP",
"HadronHP",
"TryingToBreakG4",
"NeutronHP",
"Decay",
"HadronElastic",
"Stopping" ]
it does not provide any feedback to the user. This could be catastrophic in the event on improperly configured physics factories where we run thinking certain physics is turned on when it is not.

An entry in the PhysicsList that LArG4 cannot handle should be an exception.

History

#1 Updated by Kyle Knoepfel 3 months ago

  • Assignee set to Paul Russo
  • Status changed from New to Assigned

#2 Updated by Paul Russo 2 months ago

  • Status changed from Assigned to Resolved

Implemented with larsim feature/russo_throw_on_bad_physics.

#3 Updated by Kyle Knoepfel 2 months ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF