Geant4
10.00.p02
|
#include <F03PrimaryGeneratorAction.hh>
Public Member Functions | |
F03PrimaryGeneratorAction (F03DetectorConstruction *) | |
virtual | ~F03PrimaryGeneratorAction () |
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 F03PrimaryGeneratorAction.hh.
F03PrimaryGeneratorAction::F03PrimaryGeneratorAction | ( | F03DetectorConstruction * | det | ) |
Definition at line 56 of file F03PrimaryGeneratorAction.cc.
References fDetector, fgPrimaryParticle, fGunMessenger, G4ParticleTable::FindParticle(), fParticleGun, fXVertex, fYVertex, fZVertex, F03DetectorConstruction::GetAbsorberThickness(), F03DetectorConstruction::GetAbsorberZpos(), G4ParticleTable::GetParticleTable(), GeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().
|
virtual |
Definition at line 94 of file F03PrimaryGeneratorAction.cc.
References fGunMessenger, and fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 102 of file F03PrimaryGeneratorAction.cc.
References fDetector, fgPrimaryParticle, fParticleGun, fRndmFlag, fVertexDefined, fXVertex, fYVertex, fZVertex, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), F03DetectorConstruction::GetAbsorberRadius(), F03DetectorConstruction::GetAbsorberThickness(), F03DetectorConstruction::GetAbsorberZpos(), G4ParticleGun::GetParticleDefinition(), G4VPrimaryGenerator::SetParticlePosition(), and G4InuclParticleNames::z0.
|
static |
Definition at line 137 of file F03PrimaryGeneratorAction.cc.
References fgPrimaryParticle, and G4ParticleDefinition::GetParticleName().
|
inline |
Definition at line 58 of file F03PrimaryGeneratorAction.hh.
References fRndmFlag.
Referenced by F03PrimaryGeneratorMessenger::SetNewValue().
void F03PrimaryGeneratorAction::SetXVertex | ( | G4double | x | ) |
Definition at line 144 of file F03PrimaryGeneratorAction.cc.
References fVertexDefined, fXVertex, G4cout, G4endl, and mm.
Referenced by F03PrimaryGeneratorMessenger::SetNewValue().
void F03PrimaryGeneratorAction::SetYVertex | ( | G4double | y | ) |
Definition at line 154 of file F03PrimaryGeneratorAction.cc.
References fVertexDefined, fYVertex, G4cout, G4endl, and mm.
Referenced by F03PrimaryGeneratorMessenger::SetNewValue().
void F03PrimaryGeneratorAction::SetZVertex | ( | G4double | z | ) |
Definition at line 164 of file F03PrimaryGeneratorAction.cc.
References fVertexDefined, fZVertex, G4cout, G4endl, mm, and z.
Referenced by F03PrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 67 of file F03PrimaryGeneratorAction.hh.
Referenced by F03PrimaryGeneratorAction(), and GeneratePrimaries().
|
staticprivate |
Definition at line 72 of file F03PrimaryGeneratorAction.hh.
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and GetPrimaryName().
|
private |
Definition at line 69 of file F03PrimaryGeneratorAction.hh.
Referenced by F03PrimaryGeneratorAction(), and ~F03PrimaryGeneratorAction().
|
private |
Definition at line 66 of file F03PrimaryGeneratorAction.hh.
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and ~F03PrimaryGeneratorAction().
|
private |
Definition at line 70 of file F03PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetRndmFlag().
|
private |
Definition at line 74 of file F03PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), SetXVertex(), SetYVertex(), and SetZVertex().
|
private |
Definition at line 73 of file F03PrimaryGeneratorAction.hh.
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and SetXVertex().
|
private |
Definition at line 73 of file F03PrimaryGeneratorAction.hh.
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and SetYVertex().
|
private |
Definition at line 73 of file F03PrimaryGeneratorAction.hh.
Referenced by F03PrimaryGeneratorAction(), GeneratePrimaries(), and SetZVertex().