3.1.2.17. opengate.userhooks
¶
3.1.2.17.1. Module Contents¶
3.1.2.17.1.1. Functions¶
|
|
|
Function to be called by opengate after initialization |
|
|
|
|
|
- opengate.userhooks.check_production_cuts(simulation_engine)[source]¶
Function to be called by opengate after initialization of the simulation, i.e. when G4 volumes and regions exist. The purpose is to check whether Geant4 has properly set the production cuts in the specific region.
The value max_step_size is stored in the attribute hook_log which can be accessed via the output of the simulation.