Geant4  10.00.p01
ExG4EventAction01 Class Reference

Event action class. More...

#include <ExG4EventAction01.hh>

+ Inheritance diagram for ExG4EventAction01:
+ Collaboration diagram for ExG4EventAction01:

Public Member Functions

 ExG4EventAction01 ()
 
virtual ~ExG4EventAction01 ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void SetVerboseLevel (G4int level)
 
void SetPrintModulo (G4int value)
 
void SetSaveRndm (G4bool value)
 
void SetDrawFlag (G4String value)
 
- Public Member Functions inherited from G4UserEventAction
 G4UserEventAction ()
 
virtual ~G4UserEventAction ()
 
void SetEventManager (G4EventManager *value)
 

Private Attributes

ExG4EventAction01Messenger fMessenger
 
G4int fVerboseLevel
 
G4int fPrintModulo
 
G4bool fSaveRndm
 

Static Private Attributes

static const G4int fgkDefaultVerboseLevel = 1
 
static const G4int fgkDefaultPrintModulo = 10000
 

Additional Inherited Members

- Protected Attributes inherited from G4UserEventAction
G4EventManagerfpEventManager
 

Detailed Description

Event action class.

It provides:

  • setting verbose level and event modulo pronting
  • option to save random number status at the end of event

Definition at line 45 of file ExG4EventAction01.hh.

Constructor & Destructor Documentation

ExG4EventAction01::ExG4EventAction01 ( )

Standard constructor

Definition at line 47 of file ExG4EventAction01.cc.

ExG4EventAction01::~ExG4EventAction01 ( )
virtual

Destructor

Definition at line 58 of file ExG4EventAction01.cc.

Member Function Documentation

void ExG4EventAction01::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 64 of file ExG4EventAction01.cc.

References fPrintModulo, fVerboseLevel, G4cout, and G4endl.

void ExG4EventAction01::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 81 of file ExG4EventAction01.cc.

References fPrintModulo, fSaveRndm, fVerboseLevel, G4cout, G4endl, G4RunManager::GetCurrentRun(), G4Run::GetRunID(), and G4RunManager::GetRunManager().

+ Here is the call graph for this function:

void ExG4EventAction01::SetDrawFlag ( G4String  value)
void ExG4EventAction01::SetPrintModulo ( G4int  value)
inline

Definition at line 80 of file ExG4EventAction01.hh.

References fPrintModulo.

Referenced by ExG4EventAction01Messenger::SetNewValue().

+ Here is the caller graph for this function:

void ExG4EventAction01::SetSaveRndm ( G4bool  value)
inline

Definition at line 84 of file ExG4EventAction01.hh.

References fSaveRndm.

Referenced by ExG4EventAction01Messenger::SetNewValue().

+ Here is the caller graph for this function:

void ExG4EventAction01::SetVerboseLevel ( G4int  level)
inline

Definition at line 76 of file ExG4EventAction01.hh.

References fVerboseLevel.

Referenced by ExG4EventAction01Messenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

const G4int ExG4EventAction01::fgkDefaultPrintModulo = 10000
staticprivate

Definition at line 65 of file ExG4EventAction01.hh.

const G4int ExG4EventAction01::fgkDefaultVerboseLevel = 1
staticprivate

Definition at line 64 of file ExG4EventAction01.hh.

ExG4EventAction01Messenger ExG4EventAction01::fMessenger
private

Definition at line 68 of file ExG4EventAction01.hh.

G4int ExG4EventAction01::fPrintModulo
private

Definition at line 70 of file ExG4EventAction01.hh.

Referenced by BeginOfEventAction(), EndOfEventAction(), and SetPrintModulo().

G4bool ExG4EventAction01::fSaveRndm
private

Definition at line 71 of file ExG4EventAction01.hh.

Referenced by EndOfEventAction(), and SetSaveRndm().

G4int ExG4EventAction01::fVerboseLevel
private

Definition at line 69 of file ExG4EventAction01.hh.

Referenced by BeginOfEventAction(), EndOfEventAction(), and SetVerboseLevel().


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