Geant4
10.03
|
#include <PrimaryGeneratorAction4.hh>
Public Member Functions | |
PrimaryGeneratorAction4 (G4ParticleGun *) | |
~PrimaryGeneratorAction4 () | |
void | GeneratePrimaries (G4Event *) |
G4double | GetRmin3 () |
G4double | GetRmax3 () |
G4double | GetCosAlphaMin () |
G4double | GetCosAlphaMax () |
Private Attributes | |
G4double | fRmin3 |
G4double | fRmax3 |
G4double | fCosAlphaMin |
G4double | fCosAlphaMax |
G4ParticleGun * | fParticleGun |
Definition at line 47 of file PrimaryGeneratorAction4.hh.
PrimaryGeneratorAction4::PrimaryGeneratorAction4 | ( | G4ParticleGun * | gun | ) |
Definition at line 48 of file PrimaryGeneratorAction4.cc.
References deg, fCosAlphaMax, fCosAlphaMin, fRmax3, fRmin3, and mm.
PrimaryGeneratorAction4::~PrimaryGeneratorAction4 | ( | ) |
Definition at line 68 of file PrimaryGeneratorAction4.cc.
void PrimaryGeneratorAction4::GeneratePrimaries | ( | G4Event * | anEvent | ) |
Definition at line 73 of file PrimaryGeneratorAction4.cc.
References fCosAlphaMax, fCosAlphaMin, fParticleGun, fRmax3, fRmin3, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), MeV, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), and twopi.
|
inline |
Definition at line 59 of file PrimaryGeneratorAction4.hh.
References fCosAlphaMax.
|
inline |
Definition at line 58 of file PrimaryGeneratorAction4.hh.
References fCosAlphaMin.
|
inline |
Definition at line 57 of file PrimaryGeneratorAction4.hh.
References fRmax3.
|
inline |
Definition at line 56 of file PrimaryGeneratorAction4.hh.
References fRmin3.
|
private |
Definition at line 65 of file PrimaryGeneratorAction4.hh.
Referenced by GeneratePrimaries(), GetCosAlphaMax(), and PrimaryGeneratorAction4().
|
private |
Definition at line 64 of file PrimaryGeneratorAction4.hh.
Referenced by GeneratePrimaries(), GetCosAlphaMin(), and PrimaryGeneratorAction4().
|
private |
Definition at line 67 of file PrimaryGeneratorAction4.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 63 of file PrimaryGeneratorAction4.hh.
Referenced by GeneratePrimaries(), GetRmax3(), and PrimaryGeneratorAction4().
|
private |
Definition at line 59 of file PrimaryGeneratorAction4.hh.
Referenced by GeneratePrimaries(), GetRmin3(), and PrimaryGeneratorAction4().