Geant4  10.01.p02
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 SetSaveRndm (G4bool value)
 
void SetDrawFlag (G4String value)
 
 ExG4EventAction01 ()
 
virtual ~ExG4EventAction01 ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void SetVerboseLevel (G4int level)
 
void SetSaveRndm (G4bool value)
 
void SetDrawFlag (G4String value)
 
 ExG4EventAction01 ()
 
virtual ~ExG4EventAction01 ()
 
virtual void BeginOfEventAction (const G4Event *event)
 
virtual void EndOfEventAction (const G4Event *event)
 
void SetVerboseLevel (G4int level)
 
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
 
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 50 of file ExG4EventAction01.cc.

ExG4EventAction01::~ExG4EventAction01 ( )
virtual

Destructor

Definition at line 61 of file ExG4EventAction01.cc.

ExG4EventAction01::ExG4EventAction01 ( )
virtual ExG4EventAction01::~ExG4EventAction01 ( )
virtual
ExG4EventAction01::ExG4EventAction01 ( )
virtual ExG4EventAction01::~ExG4EventAction01 ( )
virtual

Member Function Documentation

void ExG4EventAction01::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 68 of file ExG4EventAction01.cc.

References fVerboseLevel, G4cout, and G4endl.

virtual void ExG4EventAction01::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

virtual void ExG4EventAction01::BeginOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

void ExG4EventAction01::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

Definition at line 83 of file ExG4EventAction01.cc.

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

+ Here is the call graph for this function:

virtual void ExG4EventAction01::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

virtual void ExG4EventAction01::EndOfEventAction ( const G4Event event)
virtual

Reimplemented from G4UserEventAction.

void ExG4EventAction01::SetDrawFlag ( G4String  value)
void ExG4EventAction01::SetDrawFlag ( G4String  value)
void ExG4EventAction01::SetDrawFlag ( G4String  value)
void ExG4EventAction01::SetSaveRndm ( G4bool  value)
void ExG4EventAction01::SetSaveRndm ( G4bool  value)
inline

Definition at line 78 of file ExG4EventAction01.hh.

References fSaveRndm.

Referenced by ExG4EventAction01Messenger::SetNewValue().

+ Here is the caller graph for this function:

void ExG4EventAction01::SetSaveRndm ( G4bool  value)
void ExG4EventAction01::SetVerboseLevel ( G4int  level)
inline

Definition at line 74 of file ExG4EventAction01.hh.

References fVerboseLevel.

Referenced by ExG4EventAction01Messenger::SetNewValue().

+ Here is the caller graph for this function:

void ExG4EventAction01::SetVerboseLevel ( G4int  level)
void ExG4EventAction01::SetVerboseLevel ( G4int  level)

Member Data Documentation

const G4int ExG4EventAction01::fgkDefaultPrintModulo = 10000
staticprivate

Definition at line 64 of file ExG4EventAction01.hh.

const G4int ExG4EventAction01::fgkDefaultVerboseLevel = 1
staticprivate

Definition at line 63 of file ExG4EventAction01.hh.

ExG4EventAction01Messenger ExG4EventAction01::fMessenger
private

Definition at line 67 of file ExG4EventAction01.hh.

G4bool ExG4EventAction01::fSaveRndm
private

Definition at line 69 of file ExG4EventAction01.hh.

Referenced by EndOfEventAction(), and SetSaveRndm().

G4int ExG4EventAction01::fVerboseLevel
private

Definition at line 68 of file ExG4EventAction01.hh.

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


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