Geant4  10.02.p02
B1RunAction Class Reference

Run action class. More...

#include <B1RunAction.hh>

+ Inheritance diagram for B1RunAction:
+ Collaboration diagram for B1RunAction:

Public Member Functions

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

Private Attributes

G4Parameter< G4doublefEdep
 
G4Parameter< G4doublefEdep2
 

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 46 of file B1RunAction.hh.

Constructor & Destructor Documentation

B1RunAction::B1RunAction ( )

Definition at line 46 of file B1RunAction.cc.

References fEdep, fEdep2, gray, G4ParameterManager::Instance(), microgray, milligray, and G4ParameterManager::RegisterParameter().

+ Here is the call graph for this function:

B1RunAction::~B1RunAction ( )
virtual

Definition at line 71 of file B1RunAction.cc.

B1RunAction::B1RunAction ( )
virtual B1RunAction::~B1RunAction ( )
virtual

Member Function Documentation

void B1RunAction::AddEdep ( G4double  edep)

Definition at line 156 of file B1RunAction.cc.

References fEdep, and fEdep2.

Referenced by B1EventAction::EndOfEventAction().

+ Here is the caller graph for this function:

virtual void B1RunAction::BeginOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

void B1RunAction::BeginOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

Definition at line 76 of file B1RunAction.cc.

References G4RunManager::GetRunManager(), G4ParameterManager::Instance(), G4ParameterManager::Reset(), and G4RunManager::SetRandomNumberStore().

+ Here is the call graph for this function:

virtual void B1RunAction::EndOfRunAction ( const G4Run )
virtual

Reimplemented from G4UserRunAction.

G4Run * B1RunAction::GenerateRun ( void  )
virtual

Reimplemented from G4UserRunAction.

Definition at line 67 of file B1RunAction.cc.

Member Data Documentation

G4Parameter<G4double> B1RunAction::fEdep
private

Definition at line 59 of file B1RunAction.hh.

Referenced by AddEdep(), B1RunAction(), and EndOfRunAction().

G4Parameter<G4double> B1RunAction::fEdep2
private

Definition at line 60 of file B1RunAction.hh.

Referenced by AddEdep(), B1RunAction(), and EndOfRunAction().


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