Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4ParticleGun.hh>
Protected Member Functions | |
virtual void | SetInitialValues () |
Protected Attributes | |
G4int | NumberOfParticlesToBeGenerated |
G4ParticleDefinition * | particle_definition |
G4ParticleMomentum | particle_momentum_direction |
G4double | particle_energy |
G4double | particle_momentum |
G4double | particle_charge |
G4ThreeVector | particle_polarization |
Protected Attributes inherited from G4VPrimaryGenerator | |
G4ThreeVector | particle_position |
G4double | particle_time |
Additional Inherited Members | |
Static Public Member Functions inherited from G4VPrimaryGenerator | |
static G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) |
Definition at line 62 of file G4ParticleGun.hh.
G4ParticleGun::G4ParticleGun | ( | ) |
Definition at line 38 of file G4ParticleGun.cc.
G4ParticleGun::G4ParticleGun | ( | G4int | numberofparticles | ) |
Definition at line 43 of file G4ParticleGun.cc.
G4ParticleGun::G4ParticleGun | ( | G4ParticleDefinition * | particleDef, |
G4int | numberofparticles = 1 |
||
) |
Definition at line 49 of file G4ParticleGun.cc.
|
virtual |
Definition at line 72 of file G4ParticleGun.cc.
|
virtual |
Implements G4VPrimaryGenerator.
Definition at line 212 of file G4ParticleGun.cc.
|
inline |
Definition at line 118 of file G4ParticleGun.hh.
Referenced by G4ParticleGunMessenger::GetCurrentValue().
|
inline |
Definition at line 114 of file G4ParticleGun.hh.
|
inline |
Definition at line 106 of file G4ParticleGun.hh.
Referenced by G4ParticleGunMessenger::GetCurrentValue().
|
inline |
Definition at line 110 of file G4ParticleGun.hh.
Referenced by G4ParticleGunMessenger::GetCurrentValue().
|
inline |
Definition at line 112 of file G4ParticleGun.hh.
Referenced by G4ParticleGunMessenger::GetCurrentValue().
|
inline |
Definition at line 108 of file G4ParticleGun.hh.
Referenced by G4ParticleGunMessenger::GetCurrentValue().
|
inline |
Definition at line 116 of file G4ParticleGun.hh.
Referenced by G4ParticleGunMessenger::GetCurrentValue().
|
protectedvirtual |
Definition at line 57 of file G4ParticleGun.cc.
Referenced by G4ParticleGun().
|
inline |
Definition at line 102 of file G4ParticleGun.hh.
Referenced by G4ParticleGunMessenger::SetNewValue().
|
inline |
Definition at line 98 of file G4ParticleGun.hh.
void G4ParticleGun::SetParticleDefinition | ( | G4ParticleDefinition * | aParticleDefinition | ) |
Definition at line 101 of file G4ParticleGun.cc.
Referenced by G4ParticleGun(), G4ParticleGunMessenger::G4ParticleGunMessenger(), and G4ParticleGunMessenger::SetNewValue().
void G4ParticleGun::SetParticleEnergy | ( | G4double | aKineticEnergy | ) |
Definition at line 132 of file G4ParticleGun.cc.
Referenced by G4ParticleGunMessenger::G4ParticleGunMessenger(), and G4ParticleGunMessenger::SetNewValue().
void G4ParticleGun::SetParticleMomentum | ( | G4double | aMomentum | ) |
Definition at line 150 of file G4ParticleGun.cc.
Referenced by G4ParticleGunMessenger::SetNewValue().
void G4ParticleGun::SetParticleMomentum | ( | G4ParticleMomentum | aMomentum | ) |
Definition at line 180 of file G4ParticleGun.cc.
|
inline |
Definition at line 95 of file G4ParticleGun.hh.
Referenced by G4ParticleGunMessenger::G4ParticleGunMessenger(), and G4ParticleGunMessenger::SetNewValue().
|
inline |
Definition at line 100 of file G4ParticleGun.hh.
Referenced by G4ParticleGunMessenger::SetNewValue().
|
protected |
Definition at line 124 of file G4ParticleGun.hh.
Referenced by G4ParticleGun(), GeneratePrimaryVertex(), GetNumberOfParticles(), SetInitialValues(), and SetNumberOfParticles().
|
protected |
Definition at line 129 of file G4ParticleGun.hh.
Referenced by GeneratePrimaryVertex(), GetParticleCharge(), SetInitialValues(), SetParticleCharge(), and SetParticleDefinition().
|
protected |
Definition at line 125 of file G4ParticleGun.hh.
Referenced by GeneratePrimaryVertex(), GetParticleDefinition(), SetInitialValues(), SetParticleDefinition(), SetParticleEnergy(), and SetParticleMomentum().
|
protected |
Definition at line 127 of file G4ParticleGun.hh.
Referenced by GeneratePrimaryVertex(), GetParticleEnergy(), SetInitialValues(), SetParticleDefinition(), SetParticleEnergy(), and SetParticleMomentum().
|
protected |
Definition at line 128 of file G4ParticleGun.hh.
Referenced by GetParticleMomentum(), SetInitialValues(), SetParticleDefinition(), SetParticleEnergy(), and SetParticleMomentum().
|
protected |
Definition at line 126 of file G4ParticleGun.hh.
Referenced by GeneratePrimaryVertex(), GetParticleMomentumDirection(), SetInitialValues(), SetParticleMomentum(), and SetParticleMomentumDirection().
|
protected |
Definition at line 130 of file G4ParticleGun.hh.
Referenced by GeneratePrimaryVertex(), GetParticlePolarization(), SetInitialValues(), and SetParticlePolarization().