Geant4
10.02.p02
|
#include <RE06PrimaryGeneratorAction.hh>
Public Member Functions | |
RE06PrimaryGeneratorAction () | |
virtual | ~RE06PrimaryGeneratorAction () |
virtual void | GeneratePrimaries (G4Event *) |
void | SetSerial (G4bool serial) |
Public Member Functions inherited from G4VUserPrimaryGeneratorAction | |
G4VUserPrimaryGeneratorAction () | |
virtual | ~G4VUserPrimaryGeneratorAction () |
Private Attributes | |
G4ParticleGun * | fParticleGun |
G4bool | fSerial |
Definition at line 41 of file RE06PrimaryGeneratorAction.hh.
RE06PrimaryGeneratorAction::RE06PrimaryGeneratorAction | ( | ) |
Definition at line 42 of file RE06PrimaryGeneratorAction.cc.
References G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), GeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), and G4ParticleGun::SetParticleMomentumDirection().
|
virtual |
Definition at line 62 of file RE06PrimaryGeneratorAction.cc.
References fParticleGun.
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 69 of file RE06PrimaryGeneratorAction.cc.
References fParticleGun, fSerial, G4ParticleGun::GeneratePrimaryVertex(), m, and G4VPrimaryGenerator::SetParticlePosition().
|
inline |
Definition at line 49 of file RE06PrimaryGeneratorAction.hh.
References fSerial.
Referenced by RE06DetectorConstruction::SetSerialGeometry().
|
private |
Definition at line 52 of file RE06PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), RE06PrimaryGeneratorAction(), and ~RE06PrimaryGeneratorAction().
|
private |
Definition at line 53 of file RE06PrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetSerial().