Geant4-11
Public Member Functions | Protected Attributes
demo.MyEventAction Class Reference
Inheritance diagram for demo.MyEventAction:
G4UserEventAction

Public Member Functions

virtual void BeginOfEventAction (const G4Event *anEvent)
 
virtual void EndOfEventAction (const G4Event *anEvent)
 
def EndOfEventAction (self, event)
 
virtual void SetEventManager (G4EventManager *value)
 

Protected Attributes

G4EventManagerfpEventManager = nullptr
 

Detailed Description

Definition at line 101 of file demo.py.

Member Function Documentation

◆ BeginOfEventAction()

void G4UserEventAction::BeginOfEventAction ( const G4Event anEvent)
virtualinherited

◆ EndOfEventAction() [1/2]

void G4UserEventAction::EndOfEventAction ( const G4Event anEvent)
virtualinherited

◆ EndOfEventAction() [2/2]

def demo.MyEventAction.EndOfEventAction (   self,
  event 
)

Definition at line 104 of file demo.py.

104 def EndOfEventAction(self, event):
105 gPad1.Modified()
106 gPad1.Update()
107 gPad2.Modified()
108 gPad2.Update()
109 ROOT.gSystem.ProcessEvents()
110
111# ------------------------------------------------------------------

◆ SetEventManager()

void G4UserEventAction::SetEventManager ( G4EventManager value)
virtualinherited

Reimplemented in G4MultiEventAction.

Definition at line 56 of file G4UserEventAction.cc.

57{
58 fpEventManager = value;
59}
G4EventManager * fpEventManager

References G4UserEventAction::fpEventManager.

Referenced by G4EventManager::SetUserAction().

Field Documentation

◆ fpEventManager

G4EventManager* G4UserEventAction::fpEventManager = nullptr
protectedinherited

Definition at line 62 of file G4UserEventAction.hh.

Referenced by G4UserEventAction::SetEventManager().


The documentation for this class was generated from the following file: