opengate.actions ================ .. py:module:: opengate.actions Classes ------- .. autoapisummary:: opengate.actions.RunAction Module Contents --------------- .. py:class:: RunAction Bases: :py:obj:`opengate_core.G4UserRunAction` User action at the begining and end of a run. Every time a run begins/ends, the G4 engine calls BeginOfRunAction and EndOfRunAction. The callback is then forwarded to all actors that need it. .. py:attribute:: BeginOfRunAction_actors :value: [] .. py:attribute:: EndOfRunAction_actors :value: [] .. py:method:: register_actor(actor) .. py:method:: BeginOfRunAction(run) .. py:method:: EndOfRunAction(run)