Geant4
10.00.p02
|
#include <G4SingleParticleSource.hh>
Additional Inherited Members | |
Static Public Member Functions inherited from G4VPrimaryGenerator | |
static G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) |
Protected Attributes inherited from G4VPrimaryGenerator | |
G4ThreeVector | particle_position |
G4double | particle_time |
Definition at line 123 of file G4SingleParticleSource.hh.
G4SingleParticleSource::G4SingleParticleSource | ( | ) |
Definition at line 63 of file G4SingleParticleSource.cc.
References angGenerator, biasRndm, eneGenerator, G4Geantino::GeantinoDefinition(), MeV, NumberOfParticlesToBeGenerated, particle_charge, particle_definition, particle_energy, particle_momentum_direction, particle_polarization, particle_position, particle_time, particle_weight, posGenerator, G4SPSPosDistribution::SetBiasRndm(), G4SPSAngDistribution::SetBiasRndm(), G4SPSEneDistribution::SetBiasRndm(), G4SPSAngDistribution::SetPosDistribution(), and verbosityLevel.
G4SingleParticleSource::~G4SingleParticleSource | ( | ) |
Definition at line 92 of file G4SingleParticleSource.cc.
References angGenerator, biasRndm, eneGenerator, and posGenerator.
|
virtual |
Implements G4VPrimaryGenerator.
Definition at line 113 of file G4SingleParticleSource.cc.
References G4Event::AddPrimaryVertex(), angGenerator, biasRndm, eneGenerator, G4cout, G4endl, G4SPSPosDistribution::GenerateOne(), G4SPSAngDistribution::GenerateOne(), G4SPSEneDistribution::GenerateOne(), G4SPSRandomGenerator::GetBiasWeight(), G4ParticleDefinition::GetParticleName(), G4ParticleDefinition::GetPDGMass(), G4SPSEneDistribution::GetWeight(), NumberOfParticlesToBeGenerated, particle_charge, particle_definition, particle_energy, particle_momentum_direction, particle_polarization, particle_position, particle_time, particle_weight, posGenerator, G4PrimaryParticle::SetCharge(), G4PrimaryParticle::SetKineticEnergy(), G4PrimaryParticle::SetMass(), G4PrimaryParticle::SetMomentumDirection(), G4PrimaryParticle::SetPolarization(), G4PrimaryVertex::SetPrimary(), G4PrimaryParticle::SetWeight(), and verbosityLevel.
Referenced by G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex(), and G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex().
|
inline |
Definition at line 133 of file G4SingleParticleSource.hh.
References angGenerator.
Referenced by G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator(), G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex(), G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex(), G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), G4GeneralParticleSourceMessenger::SetNewValue(), G4AdjointPrimaryGenerator::SetSphericalAdjointPrimarySource(), and UltraPrimaryGeneratorAction::UltraPrimaryGeneratorAction().
|
inline |
Definition at line 141 of file G4SingleParticleSource.hh.
References biasRndm.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
inline |
Definition at line 137 of file G4SingleParticleSource.hh.
References eneGenerator.
Referenced by G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator(), G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex(), G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex(), UltraPrimaryGeneratorAction::GeneratePrimaries(), G4GeneralParticleSourceMessenger::SetNewValue(), and UltraPrimaryGeneratorAction::UltraPrimaryGeneratorAction().
|
inline |
Definition at line 186 of file G4SingleParticleSource.hh.
References NumberOfParticlesToBeGenerated.
Referenced by G4GeneralParticleSource::GetNumberOfParticles().
|
inline |
Definition at line 151 of file G4SingleParticleSource.hh.
References particle_definition.
Referenced by G4GeneralParticleSource::GetParticleDefinition().
|
inline |
Definition at line 198 of file G4SingleParticleSource.hh.
References particle_energy.
Referenced by G4GeneralParticleSource::GetParticleEnergy().
|
inline |
Definition at line 194 of file G4SingleParticleSource.hh.
References particle_momentum_direction.
Referenced by G4GeneralParticleSource::GetParticleMomentumDirection().
|
inline |
Definition at line 166 of file G4SingleParticleSource.hh.
References particle_polarization.
Referenced by G4GeneralParticleSource::GetParticlePolarization().
|
inline |
Definition at line 190 of file G4SingleParticleSource.hh.
References particle_position.
Referenced by G4GeneralParticleSource::GetParticlePosition().
|
inline |
Definition at line 176 of file G4SingleParticleSource.hh.
References particle_time.
Referenced by G4GeneralParticleSource::GetParticleTime().
|
inline |
Definition at line 129 of file G4SingleParticleSource.hh.
References posGenerator.
Referenced by G4AdjointPrimaryGenerator::G4AdjointPrimaryGenerator(), G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex(), G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex(), UltraPrimaryGeneratorAction::GeneratePrimaries(), G4AdjointPrimaryGenerator::SetAdjointPrimarySourceOnAnExtSurfaceOfAVolume(), G4GeneralParticleSourceMessenger::SetNewValue(), G4AdjointPrimaryGenerator::SetSphericalAdjointPrimarySource(), and UltraPrimaryGeneratorAction::UltraPrimaryGeneratorAction().
|
inline |
Definition at line 181 of file G4SingleParticleSource.hh.
References NumberOfParticlesToBeGenerated.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue(), and G4GeneralParticleSource::SetNumberOfParticles().
|
inline |
Definition at line 156 of file G4SingleParticleSource.hh.
References particle_charge.
Referenced by G4GeneralParticleSourceMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonLvlCommand(), and G4GeneralParticleSource::SetParticleCharge().
void G4SingleParticleSource::SetParticleDefinition | ( | G4ParticleDefinition * | aParticleDefinition | ) |
Definition at line 107 of file G4SingleParticleSource.cc.
References G4ParticleDefinition::GetPDGCharge(), particle_charge, and particle_definition.
Referenced by G4AdjointPrimaryGenerator::GenerateAdjointPrimaryVertex(), G4AdjointPrimaryGenerator::GenerateFwdPrimaryVertex(), G4GeneralParticleSourceMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonLvlCommand(), G4GeneralParticleSourceMessenger::SetNewValue(), and G4GeneralParticleSource::SetParticleDefinition().
|
inline |
Definition at line 162 of file G4SingleParticleSource.hh.
References particle_polarization.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue(), and G4GeneralParticleSource::SetParticlePolarization().
|
inline |
Definition at line 172 of file G4SingleParticleSource.hh.
References particle_time.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue(), and G4GeneralParticleSource::SetParticleTime().
void G4SingleParticleSource::SetVerbosity | ( | G4int | vL | ) |
Definition at line 99 of file G4SingleParticleSource.cc.
References angGenerator, eneGenerator, G4cout, G4endl, posGenerator, G4SPSPosDistribution::SetVerbosity(), G4SPSAngDistribution::SetVerbosity(), G4SPSEneDistribution::SetVerbosity(), and verbosityLevel.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue(), and G4GeneralParticleSource::SetVerbosity().
|
private |
Definition at line 206 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), GetAngDist(), SetVerbosity(), and ~G4SingleParticleSource().
|
private |
Definition at line 208 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), GetBiasRndm(), and ~G4SingleParticleSource().
|
private |
Definition at line 207 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), GetEneDist(), SetVerbosity(), and ~G4SingleParticleSource().
|
private |
Definition at line 211 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), GetNumberOfParticles(), and SetNumberOfParticles().
|
private |
Definition at line 215 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), SetParticleCharge(), and SetParticleDefinition().
|
private |
Definition at line 212 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), GetParticleDefinition(), and SetParticleDefinition().
|
private |
Definition at line 214 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), and GetParticleEnergy().
|
private |
Definition at line 213 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), and GetParticleMomentumDirection().
|
private |
Definition at line 218 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), GetParticlePolarization(), and SetParticlePolarization().
|
private |
Definition at line 216 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), and GetParticlePosition().
|
private |
Definition at line 217 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), GetParticleTime(), and SetParticleTime().
|
private |
Definition at line 219 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), and GeneratePrimaryVertex().
|
private |
Definition at line 201 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), GetPosDist(), SetVerbosity(), and ~G4SingleParticleSource().
|
private |
Definition at line 222 of file G4SingleParticleSource.hh.
Referenced by G4SingleParticleSource(), GeneratePrimaryVertex(), and SetVerbosity().