Geant4
10.00.p02
|
#include <GammaRayTelPrimaryGeneratorAction.hh>
Public Member Functions | |
GammaRayTelPrimaryGeneratorAction () | |
~GammaRayTelPrimaryGeneratorAction () | |
void | GeneratePrimaries (G4Event *) |
void | SetRndmFlag (G4String val) |
void | SetSourceType (G4int val) |
void | SetSpectrumType (G4int val) |
void | SetVertexRadius (G4double val) |
void | SetSourceGen (G4bool val) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Definition at line 58 of file GammaRayTelPrimaryGeneratorAction.hh.
GammaRayTelPrimaryGeneratorAction::GammaRayTelPrimaryGeneratorAction | ( | ) |
Definition at line 58 of file GammaRayTelPrimaryGeneratorAction.cc.
References cm, G4ParticleTable::FindParticle(), GammaRayTelDetector, G4ParticleTable::GetParticleTable(), G4RunManager::GetRunManager(), G4RunManager::GetUserDetectorConstruction(), GammaRayTelDetectorConstruction::GetWorldSizeZ(), gunMessenger, MeV, particleGun, particleSource, position, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
GammaRayTelPrimaryGeneratorAction::~GammaRayTelPrimaryGeneratorAction | ( | ) |
Definition at line 90 of file GammaRayTelPrimaryGeneratorAction.cc.
References gunMessenger, particleGun, particleSource, and sourceGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 102 of file GammaRayTelPrimaryGeneratorAction.cc.
References cm, dVertexRadius, G4cout, G4endl, G4UniformRand, GammaRayTelDetector, G4ParticleGun::GeneratePrimaryVertex(), G4GeneralParticleSource::GeneratePrimaryVertex(), G4ParticleGun::GetParticleMomentumDirection(), GammaRayTelDetectorConstruction::GetWorldSizeXY(), GammaRayTelDetectorConstruction::GetWorldSizeZ(), GeV, nSourceType, nSpectrumType, particleGun, particleSource, G4INCL::Math::pi, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), sourceGun, z, and G4InuclParticleNames::z0.
|
inline |
Definition at line 67 of file GammaRayTelPrimaryGeneratorAction.hh.
References rndmFlag.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 71 of file GammaRayTelPrimaryGeneratorAction.hh.
References sourceGun.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 68 of file GammaRayTelPrimaryGeneratorAction.hh.
References nSourceType.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 69 of file GammaRayTelPrimaryGeneratorAction.hh.
References nSpectrumType.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 70 of file GammaRayTelPrimaryGeneratorAction.hh.
References dVertexRadius.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 80 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetVertexRadius().
|
private |
Definition at line 76 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GammaRayTelPrimaryGeneratorAction(), and GeneratePrimaries().
|
private |
Definition at line 77 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GammaRayTelPrimaryGeneratorAction(), and ~GammaRayTelPrimaryGeneratorAction().
|
private |
Definition at line 79 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetSourceType().
|
private |
Definition at line 81 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetSpectrumType().
|
private |
Definition at line 74 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GammaRayTelPrimaryGeneratorAction(), GeneratePrimaries(), and ~GammaRayTelPrimaryGeneratorAction().
|
private |
Definition at line 75 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GammaRayTelPrimaryGeneratorAction(), GeneratePrimaries(), and ~GammaRayTelPrimaryGeneratorAction().
|
private |
Definition at line 78 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by SetRndmFlag().
|
private |
Definition at line 82 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), SetSourceGen(), and ~GammaRayTelPrimaryGeneratorAction().