Geant4
10.02.p02
|
#include <XrayFluoPrimaryGeneratorAction.hh>
Public Member Functions | |
XrayFluoPrimaryGeneratorAction (const XrayFluoDetectorConstruction *) | |
~XrayFluoPrimaryGeneratorAction () | |
void | GeneratePrimaries (G4Event *) |
void | SetRndmFlag (G4String val) |
void | SetRndmVert (G4String val) |
void | SetSpectrum (G4String val) |
void | SetIsoVert (G4String val) |
void | ActivatePhaseSpace (G4String) |
void | SetRayleighFlag (G4bool) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Definition at line 56 of file XrayFluoPrimaryGeneratorAction.hh.
XrayFluoPrimaryGeneratorAction::XrayFluoPrimaryGeneratorAction | ( | const XrayFluoDetectorConstruction * | XrayFluoDC | ) |
Definition at line 56 of file XrayFluoPrimaryGeneratorAction.cc.
References cm, G4Gamma::Definition(), G4cout, G4endl, XrayFluoDetectorConstruction::GetWorldSizeZ(), gunMessenger, keV, particleGun, position, runAction, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), and XrayFluoDetector.
XrayFluoPrimaryGeneratorAction::~XrayFluoPrimaryGeneratorAction | ( | ) |
Definition at line 111 of file XrayFluoPrimaryGeneratorAction.cc.
References gunMessenger, and particleGun.
void XrayFluoPrimaryGeneratorAction::ActivatePhaseSpace | ( | G4String | fileName | ) |
Definition at line 86 of file XrayFluoPrimaryGeneratorAction.cc.
References cm, detectorPosition, XrayFluoDetectorConstruction::GetDetectorPosition(), XrayFluoAnalysisManager::getInstance(), XrayFluoAnalysisManager::LoadGunData(), phaseSpaceGunFlag, rayleighFlag, and XrayFluoDetector.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 119 of file XrayFluoPrimaryGeneratorAction.cc.
References XrayFluoAnalysisManager::analysePrimaryGenerator(), beam, cm, detectorPosition, G4INCL::KinematicsUtils::energy(), G4ParticleTable::FindParticle(), XrayFluoDataSet::FindValue(), G4cout, G4endl, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), XrayFluoRunAction::GetData(), XrayFluoRunAction::GetDataSum(), XrayFluoDetectorConstruction::GetDia3SizeXY(), XrayFluoAnalysisManager::GetEmittedParticleEnergyAndType(), XrayFluoRunAction::GetEnergies(), XrayFluoRunAction::GetGammaSet(), XrayFluoAnalysisManager::getInstance(), G4MTRunManager::GetMasterRunManager(), G4ParticleGun::GetParticleDefinition(), G4ParticleGun::GetParticleEnergy(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4RunManager::GetRunManager(), XrayFluoDetectorConstruction::GetSampleSizeXY(), G4RunManager::GetUserRunAction(), XrayFluoDetectorConstruction::GetWorldSizeZ(), isoVert, keV, m, mm, particleGun, phaseSpaceGunFlag, pi, position, rad, rndmFlag, runAction, G4RunManager::sequentialRM, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), spectrum, x, XrayFluoDetector, z, and G4InuclParticleNames::z0.
|
inline |
Definition at line 77 of file XrayFluoPrimaryGeneratorAction.hh.
References isoVert.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
void XrayFluoPrimaryGeneratorAction::SetRayleighFlag | ( | G4bool | value | ) |
Definition at line 103 of file XrayFluoPrimaryGeneratorAction.cc.
References rayleighFlag.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 68 of file XrayFluoPrimaryGeneratorAction.hh.
References rndmFlag.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 71 of file XrayFluoPrimaryGeneratorAction.hh.
References beam.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 74 of file XrayFluoPrimaryGeneratorAction.hh.
References spectrum.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 103 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetRndmVert().
|
private |
Definition at line 117 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by ActivatePhaseSpace(), and GeneratePrimaries().
|
private |
Definition at line 97 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by XrayFluoPrimaryGeneratorAction(), and ~XrayFluoPrimaryGeneratorAction().
|
private |
Definition at line 109 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetIsoVert().
|
private |
Definition at line 88 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), XrayFluoPrimaryGeneratorAction(), and ~XrayFluoPrimaryGeneratorAction().
|
private |
Definition at line 112 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by ActivatePhaseSpace(), and GeneratePrimaries().
|
private |
Definition at line 115 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by ActivatePhaseSpace(), and SetRayleighFlag().
|
private |
Definition at line 100 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetRndmFlag().
|
private |
Definition at line 94 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and XrayFluoPrimaryGeneratorAction().
|
private |
Definition at line 106 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetSpectrum().
|
private |
Definition at line 91 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by ActivatePhaseSpace(), GeneratePrimaries(), and XrayFluoPrimaryGeneratorAction().