Geant4
10.00.p01
|
#include <F04PrimaryGeneratorAction.hh>
Public Member Functions | |
F04PrimaryGeneratorAction (F04DetectorConstruction *) | |
virtual | ~F04PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
void | SetRndmFlag (G4String val) |
void | SetXvertex (G4double x) |
void | SetYvertex (G4double y) |
void | SetZvertex (G4double z) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Definition at line 47 of file F04PrimaryGeneratorAction.hh.
F04PrimaryGeneratorAction::F04PrimaryGeneratorAction | ( | F04DetectorConstruction * | detectorConstruction | ) |
Definition at line 52 of file F04PrimaryGeneratorAction.cc.
References fDetector, fGunMessenger, fParticleGun, fXvertex, fYvertex, fZvertex, G4ParticleTable::GetParticleTable(), F04DetectorConstruction::GetTargetThickness(), MeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 77 of file F04PrimaryGeneratorAction.cc.
References fGunMessenger, and fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 85 of file F04PrimaryGeneratorAction.cc.
References fDetector, fFirst, fGlobal2local, fParticleGun, fRndmFlag, fVertexdefined, fXvertex, fYvertex, fZvertex, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), F04DetectorConstruction::GetTargetRadius(), F04DetectorConstruction::GetTargetThickness(), G4TransportationManager::GetTransportationManager(), G4Navigator::GetWorldVolume(), G4AffineTransform::Inverse(), G4Navigator::LocateGlobalPointAndSetup(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), G4Navigator::SetWorldVolume(), G4AffineTransform::TransformAxis(), G4AffineTransform::TransformPoint(), and G4InuclParticleNames::z0.
|
inline |
Definition at line 58 of file F04PrimaryGeneratorAction.hh.
References fRndmFlag.
Referenced by F04PrimaryGeneratorMessenger::SetNewValue().
void F04PrimaryGeneratorAction::SetXvertex | ( | G4double | x | ) |
Definition at line 152 of file F04PrimaryGeneratorAction.cc.
References fVertexdefined, fXvertex, G4cout, G4endl, and mm.
Referenced by F04PrimaryGeneratorMessenger::SetNewValue().
void F04PrimaryGeneratorAction::SetYvertex | ( | G4double | y | ) |
Definition at line 162 of file F04PrimaryGeneratorAction.cc.
References fVertexdefined, fYvertex, G4cout, G4endl, and mm.
Referenced by F04PrimaryGeneratorMessenger::SetNewValue().
void F04PrimaryGeneratorAction::SetZvertex | ( | G4double | z | ) |
Definition at line 172 of file F04PrimaryGeneratorAction.cc.
References fVertexdefined, fZvertex, G4cout, G4endl, mm, and z.
Referenced by F04PrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 66 of file F04PrimaryGeneratorAction.hh.
Referenced by F04PrimaryGeneratorAction(), and GeneratePrimaries().
|
private |
Definition at line 74 of file F04PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 76 of file F04PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 70 of file F04PrimaryGeneratorAction.hh.
Referenced by F04PrimaryGeneratorAction(), and ~F04PrimaryGeneratorAction().
|
private |
Definition at line 68 of file F04PrimaryGeneratorAction.hh.
Referenced by F04PrimaryGeneratorAction(), GeneratePrimaries(), and ~F04PrimaryGeneratorAction().
|
private |
Definition at line 72 of file F04PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetRndmFlag().
|
private |
Definition at line 80 of file F04PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), SetXvertex(), SetYvertex(), and SetZvertex().
|
private |
Definition at line 78 of file F04PrimaryGeneratorAction.hh.
Referenced by F04PrimaryGeneratorAction(), GeneratePrimaries(), and SetXvertex().
|
private |
Definition at line 78 of file F04PrimaryGeneratorAction.hh.
Referenced by F04PrimaryGeneratorAction(), GeneratePrimaries(), and SetYvertex().
|
private |
Definition at line 78 of file F04PrimaryGeneratorAction.hh.
Referenced by F04PrimaryGeneratorAction(), GeneratePrimaries(), and SetZvertex().