Geant4
10.02
|
#include <B1RunAction.hh>
Public Member Functions | |
B1RunAction () | |
virtual | ~B1RunAction () |
virtual void | BeginOfRunAction (const G4Run *) |
virtual void | EndOfRunAction (const G4Run *) |
void | AddEdep (G4double edep) |
B1RunAction () | |
virtual | ~B1RunAction () |
virtual G4Run * | GenerateRun () |
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< G4double > | fEdep |
G4Parameter< G4double > | fEdep2 |
Additional Inherited Members | |
Protected Attributes inherited from G4UserRunAction | |
G4bool | isMaster |
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.
B1RunAction::B1RunAction | ( | ) |
Definition at line 46 of file B1RunAction.cc.
References fEdep, fEdep2, gray, G4ParameterManager::Instance(), microgray, milligray, and G4ParameterManager::RegisterParameter().
|
virtual |
Definition at line 71 of file B1RunAction.cc.
B1RunAction::B1RunAction | ( | ) |
|
virtual |
void B1RunAction::AddEdep | ( | G4double | edep | ) |
Definition at line 156 of file B1RunAction.cc.
Referenced by B1EventAction::EndOfEventAction().
|
virtual |
Reimplemented from G4UserRunAction.
|
virtual |
Reimplemented from G4UserRunAction.
Definition at line 76 of file B1RunAction.cc.
References G4RunManager::GetRunManager(), G4ParameterManager::Instance(), G4ParameterManager::Reset(), and G4RunManager::SetRandomNumberStore().
|
virtual |
Reimplemented from G4UserRunAction.
|
virtual |
Reimplemented from G4UserRunAction.
Definition at line 89 of file B1RunAction.cc.
References fEdep, fEdep2, G4BestUnit, G4cout, G4endl, G4LogicalVolume::GetMass(), G4Run::GetNumberOfEvent(), G4ParticleGun::GetParticleDefinition(), G4ParticleGun::GetParticleEnergy(), B1PrimaryGeneratorAction::GetParticleGun(), G4ParticleDefinition::GetParticleName(), G4RunManager::GetRunManager(), B1DetectorConstruction::GetScoringVolume(), G4RunManager::GetUserDetectorConstruction(), G4RunManager::GetUserPrimaryGeneratorAction(), G4Parameter< T >::GetValue(), G4ParameterManager::Instance(), G4UserRunAction::IsMaster(), and G4ParameterManager::Merge().
|
virtual |
Reimplemented from G4UserRunAction.
Definition at line 67 of file B1RunAction.cc.
|
private |
Definition at line 59 of file B1RunAction.hh.
Referenced by AddEdep(), B1RunAction(), and EndOfRunAction().
|
private |
Definition at line 60 of file B1RunAction.hh.
Referenced by AddEdep(), B1RunAction(), and EndOfRunAction().