Geant4-11
Public Member Functions | Protected Attributes
QEventAction Class Reference

#include <QEventAction.hh>

Inheritance diagram for QEventAction:
G4UserEventAction

Public Member Functions

virtual void BeginOfEventAction (const G4Event *aevent)
 
virtual void EndOfEventAction (const G4Event *aevent)
 
 QEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 
 ~QEventAction ()
 

Protected Attributes

G4EventManagerfpEventManager = nullptr
 

Detailed Description

Definition at line 42 of file QEventAction.hh.

Constructor & Destructor Documentation

◆ QEventAction()

QEventAction::QEventAction ( )

Definition at line 41 of file QEventAction.cc.

43{
44}

◆ ~QEventAction()

QEventAction::~QEventAction ( )

Definition at line 48 of file QEventAction.cc.

50{
51}

Member Function Documentation

◆ BeginOfEventAction()

void QEventAction::BeginOfEventAction ( const G4Event aevent)
virtual

Reimplemented from G4UserEventAction.

Definition at line 55 of file QEventAction.cc.

57{
58 G4cout << "QEventAction::BofEA is called." << G4endl;
59}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

References G4cout, and G4endl.

◆ EndOfEventAction()

void QEventAction::EndOfEventAction ( const G4Event aevent)
virtual

Reimplemented from G4UserEventAction.

Definition at line 63 of file QEventAction.cc.

65{
66 G4cout << "QEventAction::EofEA is called." << G4endl;
67}

References G4cout, and G4endl.

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