Geant4  10.01.p03
F05PrimaryGeneratorAction Class Reference

#include <F05PrimaryGeneratorAction.hh>

+ Inheritance diagram for F05PrimaryGeneratorAction:
+ Collaboration diagram for F05PrimaryGeneratorAction:

Public Member Functions

 F05PrimaryGeneratorAction (void)
 
virtual ~F05PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 46 of file F05PrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

F05PrimaryGeneratorAction::F05PrimaryGeneratorAction ( void  )

Definition at line 48 of file F05PrimaryGeneratorAction.cc.

References G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), and G4ParticleGun::SetParticleDefinition().

+ Here is the call graph for this function:

F05PrimaryGeneratorAction::~F05PrimaryGeneratorAction ( )
virtual

Definition at line 61 of file F05PrimaryGeneratorAction.cc.

References fParticleGun.

Member Function Documentation

void F05PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 68 of file F05PrimaryGeneratorAction.cc.

References fParticleGun, G4ParticleGun::GeneratePrimaryVertex(), m, MeV, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4ParticleGun::SetParticlePolarization(), G4VPrimaryGenerator::SetParticlePosition(), and G4InuclParticleNames::z0.

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* F05PrimaryGeneratorAction::fParticleGun
private

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