Geant4
10.00.p03
|
#include <UltraPrimaryGeneratorAction.hh>
Public Member Functions | |
UltraPrimaryGeneratorAction () | |
~UltraPrimaryGeneratorAction () | |
void | GeneratePrimaries (G4Event *anEvent) |
G4GeneralParticleSource * | GetParticleGun () |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4GeneralParticleSource * | particleGun |
Definition at line 53 of file UltraPrimaryGeneratorAction.hh.
UltraPrimaryGeneratorAction::UltraPrimaryGeneratorAction | ( | ) |
Definition at line 61 of file UltraPrimaryGeneratorAction.cc.
References cm, eV, G4ParticleTable::FindParticle(), G4SingleParticleSource::GetAngDist(), G4GeneralParticleSource::GetCurrentSource(), G4SingleParticleSource::GetEneDist(), G4ParticleTable::GetParticleTable(), G4SingleParticleSource::GetPosDist(), particleGun, G4SPSPosDistribution::SetCentreCoords(), G4SPSEneDistribution::SetEnergyDisType(), G4SPSEneDistribution::SetMonoEnergy(), G4GeneralParticleSource::SetParticleDefinition(), G4SPSAngDistribution::SetParticleMomentumDirection(), G4GeneralParticleSource::SetParticlePolarization(), G4SPSPosDistribution::SetPosDisShape(), G4SPSPosDistribution::SetPosDisType(), G4SPSPosDistribution::SetPosRot1(), G4SPSPosDistribution::SetPosRot2(), and G4SPSPosDistribution::SetRadius().
UltraPrimaryGeneratorAction::~UltraPrimaryGeneratorAction | ( | ) |
Definition at line 118 of file UltraPrimaryGeneratorAction.cc.
References particleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 125 of file UltraPrimaryGeneratorAction.cc.
References G4INCL::KinematicsUtils::energy(), eV, FatalException, G4cerr, G4cout, G4endl, G4Exception(), G4GeneralParticleSource::GeneratePrimaryVertex(), G4GeneralParticleSource::GetCurrentSource(), G4SingleParticleSource::GetEneDist(), G4SPSEneDistribution::GetEnergyDisType(), G4Event::GetEventID(), UltraDetectorConstruction::GetLambdaMax(), UltraDetectorConstruction::GetLambdaMin(), G4GeneralParticleSource::GetParticleDefinition(), G4GeneralParticleSource::GetParticleEnergy(), G4ParticleDefinition::GetParticleName(), G4SingleParticleSource::GetPosDist(), G4SPSPosDistribution::GetPosDisType(), G4RunManager::GetRunManager(), and particleGun.
|
inline |
Definition at line 64 of file UltraPrimaryGeneratorAction.hh.
References particleGun.
|
private |
Definition at line 68 of file UltraPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), GetParticleGun(), UltraPrimaryGeneratorAction(), and ~UltraPrimaryGeneratorAction().