Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
F03EventAction Class Reference

#include <F03EventAction.hh>

Inheritance diagram for F03EventAction:
Collaboration diagram for F03EventAction:

Public Member Functions

 F03EventAction (F03RunAction *)
 
virtual ~F03EventAction ()
 
virtual void BeginOfEventAction (const G4Event *)
 
virtual void EndOfEventAction (const G4Event *)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
virtual void SetEventManager (G4EventManager *value)
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Definition at line 47 of file F03EventAction.hh.

Constructor & Destructor Documentation

F03EventAction::F03EventAction ( F03RunAction action)

Definition at line 45 of file F03EventAction.cc.

47  fRunAction(action)
48 {}
F03EventAction::~F03EventAction ( )
virtual

Definition at line 52 of file F03EventAction.cc.

53 {}

Member Function Documentation

void F03EventAction::BeginOfEventAction ( const G4Event )
virtual

Reimplemented from G4UserEventAction.

Definition at line 57 of file F03EventAction.cc.

58 {}
void F03EventAction::EndOfEventAction ( const G4Event evt)
virtual

Reimplemented from G4UserEventAction.

Definition at line 62 of file F03EventAction.cc.

63 {
64  // save rndm status
65  if (fRunAction->GetRndmFreq() == 2)
66  {
67  G4Random::saveEngineStatus("endOfEvent.rndm");
68 
69  G4int evtNb = evt->GetEventID();
71  if (evtNb%printProgress == 0)
72  {
73  G4cout << "\n---> End of Event: " << evtNb << G4endl;
74  G4Random::showEngineStatus();
75  }
76  }
77 }
G4int GetPrintProgress()
G4int GetRndmFreq() const
Definition: F03RunAction.hh:57
int G4int
Definition: G4Types.hh:78
G4int GetEventID() const
Definition: G4Event.hh:151
G4GLOB_DLL std::ostream G4cout
static G4RunManager * GetRunManager()
Definition: G4RunManager.cc:79
#define G4endl
Definition: G4ios.hh:61

Here is the call graph for this function:


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