Geant4  10.00.p03
Par01PrimaryGeneratorAction Class Reference

#include <Par01PrimaryGeneratorAction.hh>

+ Inheritance diagram for Par01PrimaryGeneratorAction:
+ Collaboration diagram for Par01PrimaryGeneratorAction:

Public Member Functions

 Par01PrimaryGeneratorAction ()
 
 ~Par01PrimaryGeneratorAction ()
 
virtual void GeneratePrimaries (G4Event *anEvent)
 
G4ParticleGunGetParticleGun ()
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 38 of file Par01PrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

Par01PrimaryGeneratorAction::Par01PrimaryGeneratorAction ( )

Definition at line 39 of file Par01PrimaryGeneratorAction.cc.

References cm, G4ParticleTable::FindParticle(), fParticleGun, G4ParticleTable::GetParticleTable(), GeV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().

+ Here is the call graph for this function:

Par01PrimaryGeneratorAction::~Par01PrimaryGeneratorAction ( )

Definition at line 55 of file Par01PrimaryGeneratorAction.cc.

References fParticleGun.

Member Function Documentation

void Par01PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 60 of file Par01PrimaryGeneratorAction.cc.

References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().

+ Here is the call graph for this function:

G4ParticleGun * Par01PrimaryGeneratorAction::GetParticleGun ( void  )

Definition at line 65 of file Par01PrimaryGeneratorAction.cc.

References fParticleGun.

Member Data Documentation

G4ParticleGun* Par01PrimaryGeneratorAction::fParticleGun
private

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