Geant4  10.02.p01
B3aRunAction Class Reference

Run action class. More...

#include <B3aRunAction.hh>

+ Inheritance diagram for B3aRunAction:
+ Collaboration diagram for B3aRunAction:

Public Member Functions

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

Private Attributes

G4Parameter< G4intfGoodEvents
 
G4Parameter< G4doublefSumDose
 

Additional Inherited Members

- Protected Attributes inherited from G4UserRunAction
G4bool isMaster
 

Detailed Description

Run action class.

Definition at line 40 of file B3aRunAction.hh.

Constructor & Destructor Documentation

B3aRunAction::B3aRunAction ( )

Definition at line 42 of file B3aRunAction.cc.

References fGoodEvents, fSumDose, gray, G4ParameterManager::Instance(), microgray, milligray, and G4ParameterManager::RegisterParameter().

+ Here is the call graph for this function:

B3aRunAction::~B3aRunAction ( )
virtual

Definition at line 67 of file B3aRunAction.cc.

Member Function Documentation

void B3aRunAction::BeginOfRunAction ( const G4Run run)
virtual

Reimplemented from G4UserRunAction.

Definition at line 72 of file B3aRunAction.cc.

References G4cout, G4endl, G4Run::GetRunID(), G4RunManager::GetRunManager(), G4ParameterManager::Instance(), G4ParameterManager::Reset(), and G4RunManager::SetRandomNumberStore().

+ Here is the call graph for this function:

void B3aRunAction::CountEvent ( )
inline

Definition at line 49 of file B3aRunAction.hh.

References fGoodEvents.

Referenced by B3aEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

void B3aRunAction::EndOfRunAction ( const G4Run run)
virtual
void B3aRunAction::SumDose ( G4double  dose)
inline

Definition at line 50 of file B3aRunAction.hh.

References fSumDose.

Referenced by B3aEventAction::EndOfEventAction().

+ Here is the caller graph for this function:

Member Data Documentation

G4Parameter<G4int> B3aRunAction::fGoodEvents
private

Definition at line 50 of file B3aRunAction.hh.

Referenced by B3aRunAction(), CountEvent(), and EndOfRunAction().

G4Parameter<G4double> B3aRunAction::fSumDose
private

Definition at line 54 of file B3aRunAction.hh.

Referenced by B3aRunAction(), EndOfRunAction(), and SumDose().


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