Geant4-11
|
#include <G4VPrimaryGenerator.hh>
Public Member Functions | |
G4VPrimaryGenerator () | |
virtual void | GeneratePrimaryVertex (G4Event *evt)=0 |
G4ThreeVector | GetParticlePosition () |
G4double | GetParticleTime () |
void | SetParticlePosition (G4ThreeVector aPosition) |
void | SetParticleTime (G4double aTime) |
virtual | ~G4VPrimaryGenerator () |
Static Public Member Functions | |
static G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) |
Protected Attributes | |
G4ThreeVector | particle_position |
G4double | particle_time = 0.0 |
Definition at line 44 of file G4VPrimaryGenerator.hh.
G4VPrimaryGenerator::G4VPrimaryGenerator | ( | ) |
Definition at line 37 of file G4VPrimaryGenerator.cc.
|
virtual |
Definition at line 40 of file G4VPrimaryGenerator.cc.
|
static |
Definition at line 43 of file G4VPrimaryGenerator.cc.
References G4TransportationManager::GetTransportationManager(), kInside, write_gdml::navigator, and pos.
|
pure virtual |
Implemented in G4GeneralParticleSource, G4HEPEvtInterface, G4ParticleGun, and G4SingleParticleSource.
|
inline |
Definition at line 60 of file G4VPrimaryGenerator.hh.
References particle_position.
Referenced by export_G4ParticleGun(), and G4ParticleGunMessenger::GetCurrentValue().
|
inline |
Definition at line 61 of file G4VPrimaryGenerator.hh.
References particle_time.
Referenced by export_G4ParticleGun(), and G4ParticleGunMessenger::GetCurrentValue().
|
inline |
Definition at line 63 of file G4VPrimaryGenerator.hh.
References particle_position.
Referenced by export_G4ParticleGun(), G4ParticleGunMessenger::G4ParticleGunMessenger(), PrimaryGeneratorAction::SetDefaultKinematic(), and G4ParticleGunMessenger::SetNewValue().
|
inline |
Definition at line 65 of file G4VPrimaryGenerator.hh.
References particle_time.
Referenced by export_G4ParticleGun(), G4ParticleGunMessenger::G4ParticleGunMessenger(), and G4ParticleGunMessenger::SetNewValue().
|
protected |
Definition at line 70 of file G4VPrimaryGenerator.hh.
Referenced by G4HEPEvtInterface::G4HEPEvtInterface(), G4HEPEvtInterface::GeneratePrimaryVertex(), G4ParticleGun::GeneratePrimaryVertex(), GetParticlePosition(), G4ParticleGun::SetInitialValues(), and SetParticlePosition().
|
protected |
Definition at line 71 of file G4VPrimaryGenerator.hh.
Referenced by G4HEPEvtInterface::G4HEPEvtInterface(), G4HEPEvtInterface::GeneratePrimaryVertex(), G4ParticleGun::GeneratePrimaryVertex(), GetParticleTime(), G4ParticleGun::SetInitialValues(), and SetParticleTime().