Geant4
10.02.p01
|
#include <F01PrimaryGeneratorAction.hh>
Public Member Functions | |
F01PrimaryGeneratorAction (F01DetectorConstruction *) | |
virtual | ~F01PrimaryGeneratorAction () |
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 () |
Static Public Member Functions | |
static G4String | GetPrimaryName () |
Static Private Attributes | |
static G4ParticleDefinition * | fgPrimaryParticle = 0 |
Definition at line 50 of file F01PrimaryGeneratorAction.hh.
F01PrimaryGeneratorAction::F01PrimaryGeneratorAction | ( | F01DetectorConstruction * | det | ) |
Definition at line 56 of file F01PrimaryGeneratorAction.cc.
References fDetector, fgPrimaryParticle, fGunMessenger, G4ParticleTable::FindParticle(), fParticleGun, fXVertex, fYVertex, fZVertex, F01DetectorConstruction::GetAbsorberThickness(), F01DetectorConstruction::GetAbsorberZpos(), G4ParticleTable::GetParticleTable(), GeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 95 of file F01PrimaryGeneratorAction.cc.
References fGunMessenger, and fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 103 of file F01PrimaryGeneratorAction.cc.
References fDetector, fgPrimaryParticle, fParticleGun, fRndmFlag, fVertexDefined, fXVertex, fYVertex, fZVertex, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), F01DetectorConstruction::GetAbsorberRadius(), F01DetectorConstruction::GetAbsorberThickness(), F01DetectorConstruction::GetAbsorberZpos(), G4ParticleGun::GetParticleDefinition(), r0, G4VPrimaryGenerator::SetParticlePosition(), twopi, and G4InuclParticleNames::z0.
|
static |
Definition at line 138 of file F01PrimaryGeneratorAction.cc.
References fgPrimaryParticle, and G4ParticleDefinition::GetParticleName().
|
inline |
Definition at line 58 of file F01PrimaryGeneratorAction.hh.
References fRndmFlag.
Referenced by F01PrimaryGeneratorMessenger::SetNewValue().
void F01PrimaryGeneratorAction::SetXVertex | ( | G4double | x | ) |
Definition at line 155 of file F01PrimaryGeneratorAction.cc.
References fVertexDefined, fXVertex, G4cout, G4endl, mm, and x.
Referenced by F01PrimaryGeneratorMessenger::SetNewValue().
void F01PrimaryGeneratorAction::SetYVertex | ( | G4double | y | ) |
Definition at line 165 of file F01PrimaryGeneratorAction.cc.
References fVertexDefined, fYVertex, G4cout, G4endl, and mm.
Referenced by F01PrimaryGeneratorMessenger::SetNewValue().
void F01PrimaryGeneratorAction::SetZVertex | ( | G4double | z | ) |
Definition at line 145 of file F01PrimaryGeneratorAction.cc.
References fVertexDefined, fZVertex, G4cout, G4endl, mm, and z.
Referenced by F01PrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 67 of file F01PrimaryGeneratorAction.hh.
Referenced by F01PrimaryGeneratorAction(), and GeneratePrimaries().
|
staticprivate |
Definition at line 72 of file F01PrimaryGeneratorAction.hh.
Referenced by F01PrimaryGeneratorAction(), GeneratePrimaries(), and GetPrimaryName().
|
private |
Definition at line 69 of file F01PrimaryGeneratorAction.hh.
Referenced by F01PrimaryGeneratorAction(), and ~F01PrimaryGeneratorAction().
|
private |
Definition at line 66 of file F01PrimaryGeneratorAction.hh.
Referenced by F01PrimaryGeneratorAction(), GeneratePrimaries(), and ~F01PrimaryGeneratorAction().
|
private |
Definition at line 70 of file F01PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetRndmFlag().
|
private |
Definition at line 74 of file F01PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), SetXVertex(), SetYVertex(), and SetZVertex().
|
private |
Definition at line 73 of file F01PrimaryGeneratorAction.hh.
Referenced by F01PrimaryGeneratorAction(), GeneratePrimaries(), and SetXVertex().
|
private |
Definition at line 73 of file F01PrimaryGeneratorAction.hh.
Referenced by F01PrimaryGeneratorAction(), GeneratePrimaries(), and SetYVertex().
|
private |
Definition at line 73 of file F01PrimaryGeneratorAction.hh.
Referenced by F01PrimaryGeneratorAction(), GeneratePrimaries(), and SetZVertex().