Geant4  10.03
ElectronPrimaryGeneratorAction Class Reference

#include <ElectronPrimaryGeneratorAction.hh>

+ Inheritance diagram for ElectronPrimaryGeneratorAction:
+ Collaboration diagram for ElectronPrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4GeneralParticleSourcefParticleGun
 

Detailed Description

Definition at line 41 of file ElectronPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

ElectronPrimaryGeneratorAction::ElectronPrimaryGeneratorAction ( )

Definition at line 37 of file ElectronPrimaryGeneratorAction.cc.

References fParticleGun.

ElectronPrimaryGeneratorAction::~ElectronPrimaryGeneratorAction ( )
virtual

Definition at line 45 of file ElectronPrimaryGeneratorAction.cc.

References fParticleGun.

Member Function Documentation

void ElectronPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 52 of file ElectronPrimaryGeneratorAction.cc.

References fParticleGun, and G4GeneralParticleSource::GeneratePrimaryVertex().

+ Here is the call graph for this function:

Member Data Documentation

G4GeneralParticleSource* ElectronPrimaryGeneratorAction::fParticleGun
private

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