Geant4
10.02.p02
|
#include <ExExChPrimaryGeneratorAction.hh>
Public Member Functions | |
ExExChPrimaryGeneratorAction () | |
virtual | ~ExExChPrimaryGeneratorAction () |
void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4GeneralParticleSource * | fParticleGun |
Definition at line 40 of file ExExChPrimaryGeneratorAction.hh.
ExExChPrimaryGeneratorAction::ExExChPrimaryGeneratorAction | ( | ) |
Definition at line 39 of file ExExChPrimaryGeneratorAction.cc.
References G4SPSAngDistribution::DefineAngRefAxes(), fParticleGun, G4SingleParticleSource::GetAngDist(), G4GeneralParticleSource::GetCurrentSource(), G4SingleParticleSource::GetEneDist(), G4SingleParticleSource::GetPosDist(), GeV, meter, mm, rad, G4SPSAngDistribution::SetAngDistType(), G4SPSAngDistribution::SetBeamSigmaInAngX(), G4SPSAngDistribution::SetBeamSigmaInAngY(), G4SPSPosDistribution::SetBeamSigmaInR(), G4SPSPosDistribution::SetCentreCoords(), G4SPSEneDistribution::SetEnergyDisType(), G4SPSEneDistribution::SetMonoEnergy(), G4GeneralParticleSource::SetParticleDefinition(), G4SPSPosDistribution::SetPosDisShape(), and G4SPSPosDistribution::SetPosDisType().
|
virtual |
Definition at line 72 of file ExExChPrimaryGeneratorAction.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 81 of file ExExChPrimaryGeneratorAction.cc.
References fParticleGun, and G4GeneralParticleSource::GeneratePrimaryVertex().
|
private |
Definition at line 49 of file ExExChPrimaryGeneratorAction.hh.
Referenced by ExExChPrimaryGeneratorAction(), GeneratePrimaries(), and ~ExExChPrimaryGeneratorAction().