Geant4
10.01.p03
|
#include <GB02PrimaryGeneratorAction.hh>
Public Member Functions | |
GB02PrimaryGeneratorAction () | |
virtual | ~GB02PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | particleGun |
Definition at line 36 of file GB02PrimaryGeneratorAction.hh.
GB02PrimaryGeneratorAction::GB02PrimaryGeneratorAction | ( | ) |
Definition at line 38 of file GB02PrimaryGeneratorAction.cc.
References cm, G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), MeV, particleGun, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 55 of file GB02PrimaryGeneratorAction.cc.
References particleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 61 of file GB02PrimaryGeneratorAction.cc.
References G4ParticleGun::GeneratePrimaryVertex(), and particleGun.
|
private |
Definition at line 45 of file GB02PrimaryGeneratorAction.hh.
Referenced by GB02PrimaryGeneratorAction(), GeneratePrimaries(), and ~GB02PrimaryGeneratorAction().