Geant4  10.00.p01
GammaKnifePrimaryGeneratorAction Class Reference

#include <GammaKnifePrimaryGeneratorAction.hh>

+ Inheritance diagram for GammaKnifePrimaryGeneratorAction:
+ Collaboration diagram for GammaKnifePrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4GeneralParticleSourceparticleSource
 

Detailed Description

Definition at line 36 of file GammaKnifePrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

GammaKnifePrimaryGeneratorAction::GammaKnifePrimaryGeneratorAction ( )

Definition at line 37 of file GammaKnifePrimaryGeneratorAction.cc.

References particleSource, and SetDefaultPrimaryParticle().

+ Here is the call graph for this function:

GammaKnifePrimaryGeneratorAction::~GammaKnifePrimaryGeneratorAction ( )

Definition at line 43 of file GammaKnifePrimaryGeneratorAction.cc.

References particleSource.

Member Function Documentation

void GammaKnifePrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 60 of file GammaKnifePrimaryGeneratorAction.cc.

References G4GeneralParticleSource::GeneratePrimaryVertex(), and particleSource.

+ Here is the call graph for this function:

void GammaKnifePrimaryGeneratorAction::SetDefaultPrimaryParticle ( )

Definition at line 48 of file GammaKnifePrimaryGeneratorAction.cc.

References G4ParticleTable::FindParticle(), G4ParticleTable::GetParticleTable(), particleSource, and G4GeneralParticleSource::SetParticleDefinition().

Referenced by GammaKnifePrimaryGeneratorAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation


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