Geant4-11
|
#include <RunAction.hh>
Public Member Functions | |
void | BeginOfRunAction (const G4Run *) |
void | CriticalEnergy () |
void | EndOfRunAction (const G4Run *) |
virtual G4Run * | GenerateRun () |
void | GetCuts () |
G4bool | IsMaster () const |
RunAction (DetectorConstruction *, PrimaryGeneratorAction *) | |
virtual void | SetMaster (G4bool val=true) |
~RunAction () | |
Protected Attributes | |
G4bool | isMaster = true |
Private Attributes | |
DetectorConstruction * | detector |
G4double | energyCut [3] |
PrimaryGeneratorAction * | primary |
G4double | rangeCut [3] |
Definition at line 44 of file RunAction.hh.
RunAction::RunAction | ( | DetectorConstruction * | det, |
PrimaryGeneratorAction * | kin | ||
) |
Definition at line 45 of file RunAction.cc.
RunAction::~RunAction | ( | ) |
Definition at line 51 of file RunAction.cc.
|
virtual |
Reimplemented from G4UserRunAction.
Definition at line 56 of file RunAction.cc.
References A, cm, G4EmCalculator::ComputeCrossSectionPerAtom(), G4EmCalculator::ComputeCrossSectionPerVolume(), G4EmCalculator::ComputeDEDX(), CriticalEnergy(), DBL_MAX, detector, G4Electron::Electron(), G4INCL::KinematicsUtils::energy(), energyCut, fElectromagnetic, G4BestUnit, G4cout, G4endl, G4EmCalculator::GetCrossSectionPerVolume(), G4EmCalculator::GetCSDARange(), GetCuts(), G4EmCalculator::GetDEDX(), DetectorConstruction::GetMaterial(), G4EmCalculator::GetMeanFreePath(), G4ParticleGun::GetParticleDefinition(), G4ParticleGun::GetParticleEnergy(), PrimaryGeneratorAction::GetParticleGun(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGCharge(), G4ProcessManager::GetProcessList(), G4ParticleDefinition::GetProcessManager(), G4EmCalculator::GetRangeFromRestricteDEDX(), G4InuclParticleNames::lambda, eplot::material, CLHEP::prec, primary, rangeCut, G4ProcessVector::size(), and Z.
void RunAction::CriticalEnergy | ( | ) |
Definition at line 299 of file RunAction.cc.
References G4EmCalculator::ComputeDEDX(), detector, G4Electron::Electron(), G4BestUnit, G4cout, DetectorConstruction::GetMaterial(), kStateGas, eplot::material, and MeV.
Referenced by BeginOfRunAction().
|
virtual |
|
virtualinherited |
Reimplemented in G4RTRunAction, and G4MultiRunAction.
Definition at line 62 of file G4UserRunAction.cc.
Referenced by G4RunManager::RunInitialization(), G4WorkerRunManager::RunInitialization(), and G4WorkerTaskRunManager::RunInitialization().
void RunAction::GetCuts | ( | ) |
Definition at line 268 of file RunAction.cc.
References detector, energyCut, G4ProductionCutsTable::GetEnergyCutsVector(), DetectorConstruction::GetMaterial(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetRangeCutsVector(), G4ProductionCutsTable::GetTableSize(), idxG4ElectronCut, idxG4GammaCut, idxG4PositronCut, and rangeCut.
Referenced by BeginOfRunAction().
|
inlineinherited |
|
inlinevirtualinherited |
Reimplemented in G4MultiRunAction.
Definition at line 63 of file G4UserRunAction.hh.
References G4UserRunAction::isMaster.
Referenced by G4MultiRunAction::SetMaster(), G4MTRunManager::SetUserAction(), and G4WorkerRunManager::SetUserAction().
|
private |
Definition at line 58 of file RunAction.hh.
Referenced by BeginOfRunAction(), CriticalEnergy(), and GetCuts().
|
private |
Definition at line 61 of file RunAction.hh.
Referenced by BeginOfRunAction(), and GetCuts().
|
protectedinherited |
Definition at line 68 of file G4UserRunAction.hh.
Referenced by G4UserRunAction::IsMaster(), and G4UserRunAction::SetMaster().
|
private |
Definition at line 59 of file RunAction.hh.
Referenced by BeginOfRunAction().
|
private |
Definition at line 60 of file RunAction.hh.
Referenced by BeginOfRunAction(), and GetCuts().