Geant4
10.00.p01
|
#include <PrimaryGeneratorAction1.hh>
Public Member Functions | |
PrimaryGeneratorAction1 (G4ParticleGun *) | |
~PrimaryGeneratorAction1 () | |
void | GeneratePrimaries (G4Event *) |
Private Attributes | |
G4ParticleGun * | fParticleGun |
Definition at line 46 of file PrimaryGeneratorAction1.hh.
PrimaryGeneratorAction1::PrimaryGeneratorAction1 | ( | G4ParticleGun * | gun | ) |
Definition at line 48 of file PrimaryGeneratorAction1.cc.
PrimaryGeneratorAction1::~PrimaryGeneratorAction1 | ( | ) |
Definition at line 54 of file PrimaryGeneratorAction1.cc.
void PrimaryGeneratorAction1::GeneratePrimaries | ( | G4Event * | anEvent | ) |
Definition at line 59 of file PrimaryGeneratorAction1.cc.
References alpha, deg, fParticleGun, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), GeV, keV, MeV, mm, G4INCL::Math::pi, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), and z.
|
private |
Definition at line 56 of file PrimaryGeneratorAction1.hh.
Referenced by GeneratePrimaries().