Geant4
10.00.p01
|
Primary generator action for the GDML extension example. More...
#include <G03PrimaryGeneratorAction.hh>
Public Member Functions | |
G03PrimaryGeneratorAction () | |
~G03PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
G4ParticleTable * | fParticleTable |
Primary generator action for the GDML extension example.
Definition at line 49 of file G03PrimaryGeneratorAction.hh.
G03PrimaryGeneratorAction::G03PrimaryGeneratorAction | ( | ) |
Definition at line 44 of file G03PrimaryGeneratorAction.cc.
References G4ParticleTable::FindParticle(), fParticleGun, fParticleTable, G4ParticleTable::GetParticleTable(), MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
G03PrimaryGeneratorAction::~G03PrimaryGeneratorAction | ( | ) |
Definition at line 70 of file G03PrimaryGeneratorAction.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 77 of file G03PrimaryGeneratorAction.cc.
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
|
private |
Definition at line 64 of file G03PrimaryGeneratorAction.hh.
Referenced by G03PrimaryGeneratorAction(), GeneratePrimaries(), and ~G03PrimaryGeneratorAction().
|
private |
Definition at line 65 of file G03PrimaryGeneratorAction.hh.
Referenced by G03PrimaryGeneratorAction().