Geant4
10.01.p03
|
#include <GB04PrimaryGeneratorAction.hh>
Public Member Functions | |
GB04PrimaryGeneratorAction () | |
virtual | ~GB04PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Definition at line 41 of file GB04PrimaryGeneratorAction.hh.
GB04PrimaryGeneratorAction::GB04PrimaryGeneratorAction | ( | ) |
Definition at line 43 of file GB04PrimaryGeneratorAction.cc.
References cm, G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 60 of file GB04PrimaryGeneratorAction.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 67 of file GB04PrimaryGeneratorAction.cc.
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
|
private |
Definition at line 50 of file GB04PrimaryGeneratorAction.hh.
Referenced by GB04PrimaryGeneratorAction(), GeneratePrimaries(), and ~GB04PrimaryGeneratorAction().