Geant4  10.01.p02
G4VPrimaryGenerator Class Referenceabstract

#include <G4VPrimaryGenerator.hh>

+ Inheritance diagram for G4VPrimaryGenerator:

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
 

Detailed Description

Definition at line 45 of file G4VPrimaryGenerator.hh.

Constructor & Destructor Documentation

G4VPrimaryGenerator::G4VPrimaryGenerator ( )

Definition at line 33 of file G4VPrimaryGenerator.cc.

G4VPrimaryGenerator::~G4VPrimaryGenerator ( )
virtual

Definition at line 36 of file G4VPrimaryGenerator.cc.

Member Function Documentation

G4bool G4VPrimaryGenerator::CheckVertexInsideWorld ( const G4ThreeVector pos)
static

Definition at line 45 of file G4VPrimaryGenerator.cc.

References G4TransportationManager::GetTransportationManager(), and kInside.

+ Here is the call graph for this function:

virtual void G4VPrimaryGenerator::GeneratePrimaryVertex ( G4Event evt)
pure virtual

Implemented in G4GeneralParticleSource, G4SingleParticleSource, G4HEPEvtInterface, G4ParticleGun, HepMCG4Interface, HepMCG4Interface, and DMXParticleSource.

Referenced by RE01PrimaryGeneratorAction::GeneratePrimaries(), and RE05PrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

G4ThreeVector G4VPrimaryGenerator::GetParticlePosition ( )
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().

+ Here is the caller graph for this function:

G4double G4VPrimaryGenerator::GetParticleTime ( )
inline

Definition at line 67 of file G4VPrimaryGenerator.hh.

References particle_time.

Referenced by export_G4ParticleGun(), and G4ParticleGunMessenger::GetCurrentValue().

+ Here is the caller graph for this function:

void G4VPrimaryGenerator::SetParticlePosition ( G4ThreeVector  aPosition)
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().

void G4VPrimaryGenerator::SetParticleTime ( G4double  aTime)
inline

Definition at line 71 of file G4VPrimaryGenerator.hh.

Referenced by export_G4ParticleGun(), G4ParticleGunMessenger::G4ParticleGunMessenger(), OpNovicePrimaryGeneratorAction::OpNovicePrimaryGeneratorAction(), and G4ParticleGunMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation


The documentation for this class was generated from the following files: