Geant4
10.03
|
#include <GB06PrimaryGeneratorAction.hh>
Public Member Functions | |
GB06PrimaryGeneratorAction () | |
virtual | ~GB06PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
![]() | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Definition at line 39 of file GB06PrimaryGeneratorAction.hh.
GB06PrimaryGeneratorAction::GB06PrimaryGeneratorAction | ( | ) |
Definition at line 41 of file GB06PrimaryGeneratorAction.cc.
References cm, G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 59 of file GB06PrimaryGeneratorAction.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 65 of file GB06PrimaryGeneratorAction.cc.
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
|
private |
Definition at line 48 of file GB06PrimaryGeneratorAction.hh.
Referenced by GB06PrimaryGeneratorAction(), GeneratePrimaries(), and ~GB06PrimaryGeneratorAction().