Geant4
10.02.p02
|
#include <TSPrimaryGeneratorAction.hh>
Public Member Functions | |
TSPrimaryGeneratorAction () | |
virtual | ~TSPrimaryGeneratorAction () |
void | GeneratePrimaries (G4Event *) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fGun |
Definition at line 50 of file TSPrimaryGeneratorAction.hh.
TSPrimaryGeneratorAction::TSPrimaryGeneratorAction | ( | ) |
Definition at line 54 of file TSPrimaryGeneratorAction.cc.
References G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), and MeV.
|
virtual |
Definition at line 70 of file TSPrimaryGeneratorAction.cc.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 77 of file TSPrimaryGeneratorAction.cc.
References G4UniformRand, TSDetectorConstruction::GetWorldDimensions(), TSDetectorConstruction::Instance(), and pos.
|
private |
Definition at line 60 of file TSPrimaryGeneratorAction.hh.