Geant4.10
|
#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) |
![]() | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Definition at line 58 of file GammaRayTelPrimaryGeneratorAction.hh.
GammaRayTelPrimaryGeneratorAction::GammaRayTelPrimaryGeneratorAction | ( | ) |
Definition at line 58 of file GammaRayTelPrimaryGeneratorAction.cc.
References python.hepunit::cm, G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), G4RunManager::GetRunManager(), G4RunManager::GetUserDetectorConstruction(), GammaRayTelDetectorConstruction::GetWorldSizeZ(), python.hepunit::MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
GammaRayTelPrimaryGeneratorAction::~GammaRayTelPrimaryGeneratorAction | ( | ) |
Definition at line 90 of file GammaRayTelPrimaryGeneratorAction.cc.
Implements G4VUserPrimaryGeneratorAction.
Definition at line 102 of file GammaRayTelPrimaryGeneratorAction.cc.
References python.hepunit::cm, CLHEP::Hep3Vector::dot(), G4cout, G4endl, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), G4GeneralParticleSource::GeneratePrimaryVertex(), G4ParticleGun::GetParticleMomentumDirection(), GammaRayTelDetectorConstruction::GetWorldSizeXY(), GammaRayTelDetectorConstruction::GetWorldSizeZ(), python.hepunit::GeV, python.hepunit::halfpi, CLHEP::Hep3Vector::mag(), CLHEP::Hep3Vector::phi(), python.hepunit::pi, CLHEP::Hep3Vector::rotate(), CLHEP::Hep3Vector::setMag(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), CLHEP::Hep3Vector::setPhi(), CLHEP::Hep3Vector::setTheta(), CLHEP::Hep3Vector::theta(), python.hepunit::twopi, z, and G4InuclParticleNames::z0.
Definition at line 67 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().
Definition at line 71 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().
Definition at line 68 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().
Definition at line 69 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().
Definition at line 70 of file GammaRayTelPrimaryGeneratorAction.hh.
Referenced by GammaRayTelPrimaryGeneratorMessenger::SetNewValue().