Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 ()
 

Detailed Description

Definition at line 41 of file ElectronPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

ElectronPrimaryGeneratorAction::ElectronPrimaryGeneratorAction ( )
ElectronPrimaryGeneratorAction::~ElectronPrimaryGeneratorAction ( )
virtual

Definition at line 45 of file ElectronPrimaryGeneratorAction.cc.

46 {
47  delete fParticleGun;
48 }

Member Function Documentation

void ElectronPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 52 of file ElectronPrimaryGeneratorAction.cc.

53 {
54  fParticleGun->GeneratePrimaryVertex(anEvent);
55 }

Here is the call graph for this function:


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