Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GammaKnifePrimaryGeneratorAction Class Reference

#include <GammaKnifePrimaryGeneratorAction.hh>

Inheritance diagram for GammaKnifePrimaryGeneratorAction:
Collaboration diagram for GammaKnifePrimaryGeneratorAction:

Public Member Functions

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

Detailed Description

Definition at line 36 of file GammaKnifePrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

GammaKnifePrimaryGeneratorAction::GammaKnifePrimaryGeneratorAction ( )

Definition at line 37 of file GammaKnifePrimaryGeneratorAction.cc.

38 {
39  particleSource = new G4GeneralParticleSource();
40 }
GammaKnifePrimaryGeneratorAction::~GammaKnifePrimaryGeneratorAction ( )

Definition at line 42 of file GammaKnifePrimaryGeneratorAction.cc.

43 {
44  delete particleSource;
45 }

Member Function Documentation

void GammaKnifePrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 48 of file GammaKnifePrimaryGeneratorAction.cc.

49 {
50  particleSource->GeneratePrimaryVertex(anEvent);
51 }

Here is the call graph for this function:


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