Geant4
10.01.p02
|
#include <Par01PrimaryGeneratorAction.hh>
Public Member Functions | |
Par01PrimaryGeneratorAction () | |
~Par01PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
G4ParticleGun * | GetParticleGun () |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Definition at line 38 of file Par01PrimaryGeneratorAction.hh.
Par01PrimaryGeneratorAction::Par01PrimaryGeneratorAction | ( | ) |
Definition at line 39 of file Par01PrimaryGeneratorAction.cc.
References cm, G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), GeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
Par01PrimaryGeneratorAction::~Par01PrimaryGeneratorAction | ( | ) |
Definition at line 55 of file Par01PrimaryGeneratorAction.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 60 of file Par01PrimaryGeneratorAction.cc.
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
G4ParticleGun * Par01PrimaryGeneratorAction::GetParticleGun | ( | void | ) |
Definition at line 65 of file Par01PrimaryGeneratorAction.cc.
References fParticleGun.
|
private |
Definition at line 49 of file Par01PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), GetParticleGun(), Par01PrimaryGeneratorAction(), and ~Par01PrimaryGeneratorAction().