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

Public Member Functions

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

Protected Attributes

G4EventManagerfpEventManager = nullptr
 

Detailed Description

Definition at line 84 of file root_test.py.

Member Function Documentation

◆ BeginOfEventAction() [1/2]

void G4UserEventAction::BeginOfEventAction ( const G4Event anEvent)
virtualinherited

◆ BeginOfEventAction() [2/2]

def root_test.MyEventAction.BeginOfEventAction (   self,
  event 
)

Definition at line 87 of file root_test.py.

87 def BeginOfEventAction(self, event):
88 print "*** current event (BEA)=", event.eventID
89

◆ EndOfEventAction() [1/2]

void G4UserEventAction::EndOfEventAction ( const G4Event anEvent)
virtualinherited

◆ EndOfEventAction() [2/2]

def root_test.MyEventAction.EndOfEventAction (   self,
  event 
)

Definition at line 90 of file root_test.py.

90 def EndOfEventAction(self, event):
91 print "*** current event (EEA)=", event.eventID
92
93# ------------------------------------------------------------------

◆ 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: