Geant4  10.03
B1ConRunAction Class Reference

Run action class. More...

#include <B1ConRunAction.hh>

+ Inheritance diagram for B1ConRunAction:
+ Collaboration diagram for B1ConRunAction:

Public Member Functions

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

Private Attributes

G4ConvergenceTesterfdose_tally
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Run action class.

In EndOfRunAction(), it calculates the dose in the selected volume from the energy deposit accumulated via stepping and event actions. The computed dose is then printed on the screen.

Definition at line 47 of file B1ConRunAction.hh.

Constructor & Destructor Documentation

B1ConRunAction::B1ConRunAction ( )

Definition at line 44 of file B1ConRunAction.cc.

References gray, microgray, and milligray.

B1ConRunAction::~B1ConRunAction ( )
virtual

Definition at line 63 of file B1ConRunAction.cc.

Member Function Documentation

void B1ConRunAction::BeginOfRunAction ( const G4Run aRun)
virtual

Reimplemented from G4UserRunAction.

Definition at line 75 of file B1ConRunAction.cc.

References fdose_tally, G4cout, G4endl, G4Run::GetRunID(), G4RunManager::GetRunManager(), G4UserRunAction::IsMaster(), and G4RunManager::SetRandomNumberStore().

+ Here is the call graph for this function:

G4Run * B1ConRunAction::GenerateRun ( void  )
virtual

Reimplemented from G4UserRunAction.

Definition at line 68 of file B1ConRunAction.cc.

Member Data Documentation

G4ConvergenceTester* B1ConRunAction::fdose_tally
private

Definition at line 57 of file B1ConRunAction.hh.

Referenced by BeginOfRunAction(), and EndOfRunAction().


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