Geant4
10.02.p01
|
#include <PrimaryGeneratorAction0.hh>
Public Member Functions | |
PrimaryGeneratorAction0 (G4ParticleGun *) | |
~PrimaryGeneratorAction0 () | |
void | GeneratePrimaries (G4Event *) |
Private Attributes | |
G4double | fCosAlphaMin |
G4double | fCosAlphaMax |
G4double | fPsiMin |
G4double | fPsiMax |
G4ParticleGun * | fParticleGun |
Definition at line 46 of file PrimaryGeneratorAction0.hh.
PrimaryGeneratorAction0::PrimaryGeneratorAction0 | ( | G4ParticleGun * | gun | ) |
Definition at line 45 of file PrimaryGeneratorAction0.cc.
References deg, fCosAlphaMax, fCosAlphaMin, fPsiMax, and fPsiMin.
PrimaryGeneratorAction0::~PrimaryGeneratorAction0 | ( | ) |
Definition at line 61 of file PrimaryGeneratorAction0.cc.
void PrimaryGeneratorAction0::GeneratePrimaries | ( | G4Event * | anEvent | ) |
Definition at line 66 of file PrimaryGeneratorAction0.cc.
References fCosAlphaMax, fCosAlphaMin, fParticleGun, fPsiMax, fPsiMin, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), mm, G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), and G4InuclParticleNames::z0.
|
private |
Definition at line 56 of file PrimaryGeneratorAction0.hh.
Referenced by GeneratePrimaries(), and PrimaryGeneratorAction0().
|
private |
Definition at line 56 of file PrimaryGeneratorAction0.hh.
Referenced by GeneratePrimaries(), and PrimaryGeneratorAction0().
|
private |
Definition at line 60 of file PrimaryGeneratorAction0.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 57 of file PrimaryGeneratorAction0.hh.
Referenced by GeneratePrimaries(), and PrimaryGeneratorAction0().
|
private |
Definition at line 57 of file PrimaryGeneratorAction0.hh.
Referenced by GeneratePrimaries(), and PrimaryGeneratorAction0().