Geant4
10.02.p02
|
#include <PrimaryGeneratorGun2.hh>
Public Member Functions | |
PrimaryGeneratorGun2 () | |
~PrimaryGeneratorGun2 () | |
virtual void | GeneratePrimaries (G4Event *) |
G4double | GetRadius () |
G4double | GetCosAlphaMin () |
G4double | GetCosAlphaMax () |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4double | fRadius |
G4double | fCosAlphaMin |
G4double | fCosAlphaMax |
G4ParticleGun * | fParticleGun |
Definition at line 46 of file PrimaryGeneratorGun2.hh.
PrimaryGeneratorGun2::PrimaryGeneratorGun2 | ( | ) |
Definition at line 47 of file PrimaryGeneratorGun2.cc.
References deg, eV, fCosAlphaMax, fCosAlphaMin, G4ParticleTable::FindParticle(), fParticleGun, fRadius, G4ParticleTable::GetParticleTable(), mm, G4ParticleGun::SetParticleDefinition(), and G4ParticleGun::SetParticleEnergy().
PrimaryGeneratorGun2::~PrimaryGeneratorGun2 | ( | ) |
Definition at line 74 of file PrimaryGeneratorGun2.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 81 of file PrimaryGeneratorGun2.cc.
References fCosAlphaMax, fCosAlphaMin, fParticleGun, fRadius, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), and twopi.
|
inline |
Definition at line 57 of file PrimaryGeneratorGun2.hh.
References fCosAlphaMax.
|
inline |
Definition at line 56 of file PrimaryGeneratorGun2.hh.
References fCosAlphaMin.
|
inline |
Definition at line 55 of file PrimaryGeneratorGun2.hh.
References fRadius.
|
private |
Definition at line 62 of file PrimaryGeneratorGun2.hh.
Referenced by GeneratePrimaries(), GetCosAlphaMax(), and PrimaryGeneratorGun2().
|
private |
Definition at line 61 of file PrimaryGeneratorGun2.hh.
Referenced by GeneratePrimaries(), GetCosAlphaMin(), and PrimaryGeneratorGun2().
|
private |
Definition at line 64 of file PrimaryGeneratorGun2.hh.
Referenced by GeneratePrimaries(), PrimaryGeneratorGun2(), and ~PrimaryGeneratorGun2().
|
private |
Definition at line 57 of file PrimaryGeneratorGun2.hh.
Referenced by GeneratePrimaries(), GetRadius(), and PrimaryGeneratorGun2().