Geant4  10.00.p01
GB01PrimaryGeneratorAction Class Reference

#include <GB01PrimaryGeneratorAction.hh>

+ Inheritance diagram for GB01PrimaryGeneratorAction:
+ Collaboration diagram for GB01PrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4ParticleGunparticleGun
 

Detailed Description

Definition at line 36 of file GB01PrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

GB01PrimaryGeneratorAction::GB01PrimaryGeneratorAction ( )

Definition at line 38 of file GB01PrimaryGeneratorAction.cc.

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

+ Here is the call graph for this function:

GB01PrimaryGeneratorAction::~GB01PrimaryGeneratorAction ( )
virtual

Definition at line 55 of file GB01PrimaryGeneratorAction.cc.

References particleGun.

Member Function Documentation

void GB01PrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 61 of file GB01PrimaryGeneratorAction.cc.

References G4ParticleGun::GeneratePrimaryVertex(), and particleGun.

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* GB01PrimaryGeneratorAction::particleGun
private

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