Geant4
10.02.p01
|
#include <GB03PrimaryGeneratorAction.hh>
Public Member Functions | |
GB03PrimaryGeneratorAction () | |
virtual | ~GB03PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Definition at line 40 of file GB03PrimaryGeneratorAction.hh.
GB03PrimaryGeneratorAction::GB03PrimaryGeneratorAction | ( | ) |
Definition at line 42 of file GB03PrimaryGeneratorAction.cc.
References G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), m, MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 61 of file GB03PrimaryGeneratorAction.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 68 of file GB03PrimaryGeneratorAction.cc.
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
|
private |
Definition at line 49 of file GB03PrimaryGeneratorAction.hh.
Referenced by GB03PrimaryGeneratorAction(), GeneratePrimaries(), and ~GB03PrimaryGeneratorAction().