Geant4
10.01.p03
|
Primary generator action used in GDML read/write example. More...
#include <G02PrimaryGeneratorAction.hh>
Public Member Functions | |
G02PrimaryGeneratorAction () | |
~G02PrimaryGeneratorAction () | |
virtual void | GeneratePrimaries (G4Event *anEvent) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
G4ParticleTable * | fParticleTable |
Primary generator action used in GDML read/write example.
Definition at line 51 of file G02PrimaryGeneratorAction.hh.
G02PrimaryGeneratorAction::G02PrimaryGeneratorAction | ( | ) |
Definition at line 44 of file G02PrimaryGeneratorAction.cc.
References G4ParticleTable::FindParticle(), fParticleGun, fParticleTable, G4ParticleTable::GetParticleTable(), MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
G02PrimaryGeneratorAction::~G02PrimaryGeneratorAction | ( | ) |
Definition at line 71 of file G02PrimaryGeneratorAction.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 78 of file G02PrimaryGeneratorAction.cc.
References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().
|
private |
Definition at line 66 of file G02PrimaryGeneratorAction.hh.
Referenced by G02PrimaryGeneratorAction(), GeneratePrimaries(), and ~G02PrimaryGeneratorAction().
|
private |
Definition at line 67 of file G02PrimaryGeneratorAction.hh.
Referenced by G02PrimaryGeneratorAction().