Geant4-11
Public Member Functions | Protected Attributes
CB_G4UserEventAction Struct Reference
Inheritance diagram for CB_G4UserEventAction:
G4UserEventAction

Public Member Functions

void BeginOfEventAction (const G4Event *anEvent)
 
void EndOfEventAction (const G4Event *anEvent)
 
virtual void SetEventManager (G4EventManager *value)
 

Protected Attributes

G4EventManagerfpEventManager = nullptr
 

Detailed Description

Definition at line 40 of file pyG4UserEventAction.cc.

Member Function Documentation

◆ BeginOfEventAction()

void CB_G4UserEventAction::BeginOfEventAction ( const G4Event anEvent)
inlinevirtual

Reimplemented from G4UserEventAction.

Definition at line 43 of file pyG4UserEventAction.cc.

43 {
44 if(const override& f= get_override("BeginOfEventAction")) {
45 f(boost::ref(anEvent));
46 } else
48 }
virtual void BeginOfEventAction(const G4Event *anEvent)

References G4UserEventAction::BeginOfEventAction().

Referenced by export_G4UserEventAction().

◆ EndOfEventAction()

void CB_G4UserEventAction::EndOfEventAction ( const G4Event anEvent)
inlinevirtual

Reimplemented from G4UserEventAction.

Definition at line 51 of file pyG4UserEventAction.cc.

51 {
52 if(const override& f= get_override("EndOfEventAction")) {
53 f(boost::ref(anEvent));
54 } else {
56 }
57 }
virtual void EndOfEventAction(const G4Event *anEvent)

References G4UserEventAction::EndOfEventAction().

Referenced by export_G4UserEventAction().

◆ 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 struct was generated from the following file: