Geant4  10.00.p02
WLSRunAction Class Reference

#include <WLSRunAction.hh>

+ Inheritance diagram for WLSRunAction:
+ Collaboration diagram for WLSRunAction:

Public Member Functions

 WLSRunAction ()
 
virtual ~WLSRunAction ()
 
virtual void BeginOfRunAction (const G4Run *)
 
virtual void EndOfRunAction (const G4Run *)
 
void SetRndmFreq (G4int val)
 
G4int GetRndmFreq ()
 
void SetAutoSeed (const G4bool val)
 
- Public Member Functions inherited from G4UserRunAction
 G4UserRunAction ()
 
virtual ~G4UserRunAction ()
 
virtual G4RunGenerateRun ()
 
void SetMaster (G4bool val=true)
 
G4bool IsMaster () const
 

Private Attributes

WLSRunActionMessengerfRunMessenger
 
G4int fSaveRndm
 
G4bool fAutoSeed
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Definition at line 46 of file WLSRunAction.hh.

Constructor & Destructor Documentation

WLSRunAction::WLSRunAction ( )

Definition at line 47 of file WLSRunAction.cc.

References fRunMessenger.

WLSRunAction::~WLSRunAction ( )
virtual

Definition at line 55 of file WLSRunAction.cc.

References fRunMessenger.

Member Function Documentation

void WLSRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 62 of file WLSRunAction.cc.

References fAutoSeed, fSaveRndm, G4cout, G4endl, G4UniformRand, G4Run::GetRunID(), G4RunManager::GetRunManager(), G4RunManager::SetRandomNumberStore(), and G4RunManager::SetRandomNumberStoreDir().

+ Here is the call graph for this function:

void WLSRunAction::EndOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

Definition at line 90 of file WLSRunAction.cc.

References fSaveRndm.

G4int WLSRunAction::GetRndmFreq ( )
inline

Definition at line 59 of file WLSRunAction.hh.

References fSaveRndm.

Referenced by WLSEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

void WLSRunAction::SetAutoSeed ( const G4bool  val)
inline

Definition at line 61 of file WLSRunAction.hh.

References fAutoSeed.

Referenced by WLSRunActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

void WLSRunAction::SetRndmFreq ( G4int  val)
inline

Definition at line 58 of file WLSRunAction.hh.

References fSaveRndm.

Referenced by WLSRunActionMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4bool WLSRunAction::fAutoSeed
private

Definition at line 68 of file WLSRunAction.hh.

Referenced by BeginOfRunAction(), and SetAutoSeed().

WLSRunActionMessenger* WLSRunAction::fRunMessenger
private

Definition at line 65 of file WLSRunAction.hh.

Referenced by WLSRunAction(), and ~WLSRunAction().

G4int WLSRunAction::fSaveRndm
private

Definition at line 67 of file WLSRunAction.hh.

Referenced by BeginOfRunAction(), EndOfRunAction(), GetRndmFreq(), and SetRndmFreq().


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