Geant4
10.01.p01
|
#include <G4VPrimaryGenerator.hh>
Public Member Functions | |
G4VPrimaryGenerator () | |
virtual | ~G4VPrimaryGenerator () |
virtual void | GeneratePrimaryVertex (G4Event *evt)=0 |
G4ThreeVector | GetParticlePosition () |
G4double | GetParticleTime () |
void | SetParticlePosition (G4ThreeVector aPosition) |
void | SetParticleTime (G4double aTime) |
Static Public Member Functions | |
static G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) |
Protected Attributes | |
G4ThreeVector | particle_position |
G4double | particle_time |
Definition at line 45 of file G4VPrimaryGenerator.hh.
G4VPrimaryGenerator::G4VPrimaryGenerator | ( | ) |
Definition at line 33 of file G4VPrimaryGenerator.cc.
|
virtual |
Definition at line 36 of file G4VPrimaryGenerator.cc.
|
static |
Definition at line 45 of file G4VPrimaryGenerator.cc.
References G4TransportationManager::GetTransportationManager(), and kInside.
|
pure virtual |
Implemented in G4GeneralParticleSource, G4SingleParticleSource, G4HEPEvtInterface, G4ParticleGun, HepMCG4Interface, HepMCG4Interface, and DMXParticleSource.
Referenced by RE01PrimaryGeneratorAction::GeneratePrimaries(), and RE05PrimaryGeneratorAction::GeneratePrimaries().
|
inline |
Definition at line 65 of file G4VPrimaryGenerator.hh.
References particle_position.
Referenced by export_G4ParticleGun(), RE02PrimaryGeneratorAction::GeneratePrimaries(), G4ParticleGunMessenger::GetCurrentValue(), CCalPrimaryGeneratorAction::GetParticlePosition(), CCalPrimaryGeneratorAction::print(), and EventAction::WriteFibers().
|
inline |
Definition at line 67 of file G4VPrimaryGenerator.hh.
References particle_time.
Referenced by export_G4ParticleGun(), and G4ParticleGunMessenger::GetCurrentValue().
|
inline |
Definition at line 69 of file G4VPrimaryGenerator.hh.
Referenced by B01PrimaryGeneratorAction::B01PrimaryGeneratorAction(), B02PrimaryGeneratorAction::B02PrimaryGeneratorAction(), B03PrimaryGeneratorAction::B03PrimaryGeneratorAction(), B3PrimaryGeneratorAction::B3PrimaryGeneratorAction(), B5PrimaryGeneratorAction::B5PrimaryGeneratorAction(), CCalPrimaryGeneratorAction::CCalPrimaryGeneratorAction(), Em10PrimaryGeneratorAction::Em10PrimaryGeneratorAction(), ExG4PrimaryGeneratorAction01::ExG4PrimaryGeneratorAction01(), ExP02PrimaryGeneratorAction::ExP02PrimaryGeneratorAction(), export_G4ParticleGun(), F01PrimaryGeneratorAction::F01PrimaryGeneratorAction(), F02PrimaryGeneratorAction::F02PrimaryGeneratorAction(), F03PrimaryGeneratorAction::F03PrimaryGeneratorAction(), F04PrimaryGeneratorAction::F04PrimaryGeneratorAction(), G01PrimaryGeneratorAction::G01PrimaryGeneratorAction(), G02PrimaryGeneratorAction::G02PrimaryGeneratorAction(), G03PrimaryGeneratorAction::G03PrimaryGeneratorAction(), G04PrimaryGeneratorAction::G04PrimaryGeneratorAction(), G4ParticleGunMessenger::G4ParticleGunMessenger(), GammaRayTelPrimaryGeneratorAction::GammaRayTelPrimaryGeneratorAction(), GB01PrimaryGeneratorAction::GB01PrimaryGeneratorAction(), GB02PrimaryGeneratorAction::GB02PrimaryGeneratorAction(), GB03PrimaryGeneratorAction::GB03PrimaryGeneratorAction(), GB04PrimaryGeneratorAction::GB04PrimaryGeneratorAction(), RE06PrimaryGeneratorAction::GeneratePrimaries(), ExTGPrimaryGeneratorAction::GeneratePrimaries(), eRositaPrimaryGeneratorAction::GeneratePrimaries(), FCALPrimaryGeneratorAction::GeneratePrimaries(), F06PrimaryGeneratorAction::GeneratePrimaries(), PrimaryGeneratorAction1::GeneratePrimaries(), ExUCNPrimaryGeneratorAction::GeneratePrimaries(), B2PrimaryGeneratorAction::GeneratePrimaries(), B3PrimaryGeneratorAction::GeneratePrimaries(), B4PrimaryGeneratorAction::GeneratePrimaries(), F05PrimaryGeneratorAction::GeneratePrimaries(), ExN02PrimaryGeneratorAction::GeneratePrimaries(), PrimaryGeneratorAction0::GeneratePrimaries(), PrimaryGeneratorAction4::GeneratePrimaries(), B1PrimaryGeneratorAction::GeneratePrimaries(), RE04PrimaryGeneratorAction::GeneratePrimaries(), ExP01PrimaryGeneratorAction::GeneratePrimaries(), F04PrimaryGeneratorAction::GeneratePrimaries(), Em10PrimaryGeneratorAction::GeneratePrimaries(), F01PrimaryGeneratorAction::GeneratePrimaries(), F02PrimaryGeneratorAction::GeneratePrimaries(), F03PrimaryGeneratorAction::GeneratePrimaries(), RE02PrimaryGeneratorAction::GeneratePrimaries(), PurgMagPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoMercuryPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPlanePrimaryGeneratorAction::GeneratePrimaries(), FFPrimaryGeneratorAction::GeneratePrimaries(), DicomPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPrimaryGeneratorAction::GeneratePrimaries(), CexmcPrimaryGeneratorAction::GeneratePrimaries(), GammaRayTelPrimaryGeneratorAction::GeneratePrimaries(), CML2PrimaryGenerationAction::GeneratePrimaries(), LXePrimaryGeneratorAction::LXePrimaryGeneratorAction(), OpNovicePrimaryGeneratorAction::OpNovicePrimaryGeneratorAction(), Par01PrimaryGeneratorAction::Par01PrimaryGeneratorAction(), RE01PrimaryGeneratorAction::RE01PrimaryGeneratorAction(), RE02PrimaryGeneratorAction::RE02PrimaryGeneratorAction(), RE03PrimaryGeneratorAction::RE03PrimaryGeneratorAction(), RE04PrimaryGeneratorAction::RE04PrimaryGeneratorAction(), RE05PrimaryGeneratorAction::RE05PrimaryGeneratorAction(), PrimaryGeneratorAction::SetDefaultKinematic(), CCalPrimaryGeneratorAction::SetGunPosition(), G4ParticleGunMessenger::SetNewValue(), XrayFluoMercuryPrimaryGeneratorAction::XrayFluoMercuryPrimaryGeneratorAction(), XrayFluoPlanePrimaryGeneratorAction::XrayFluoPlanePrimaryGeneratorAction(), and XrayFluoPrimaryGeneratorAction::XrayFluoPrimaryGeneratorAction().
|
inline |
Definition at line 71 of file G4VPrimaryGenerator.hh.
Referenced by export_G4ParticleGun(), G4ParticleGunMessenger::G4ParticleGunMessenger(), OpNovicePrimaryGeneratorAction::OpNovicePrimaryGeneratorAction(), and G4ParticleGunMessenger::SetNewValue().
|
protected |
Definition at line 61 of file G4VPrimaryGenerator.hh.
Referenced by G4HEPEvtInterface::G4HEPEvtInterface(), G4ParticleGun::GeneratePrimaryVertex(), G4HEPEvtInterface::GeneratePrimaryVertex(), GetParticlePosition(), and G4ParticleGun::SetInitialValues().
|
protected |
Definition at line 62 of file G4VPrimaryGenerator.hh.
Referenced by G4HEPEvtInterface::G4HEPEvtInterface(), G4ParticleGun::GeneratePrimaryVertex(), G4HEPEvtInterface::GeneratePrimaryVertex(), GetParticleTime(), and G4ParticleGun::SetInitialValues().