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