3.1.2.1. opengate.actions

3.1.2.1.1. Module Contents

3.1.2.1.1.1. Classes

RunAction

User action at the begining and end of a run.

class opengate.actions.RunAction[source]

Bases: 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.

register_actor(actor)[source]
BeginOfRunAction(run)[source]
EndOfRunAction(run)[source]