Geant4  10.02.p02
ParticleGunAction Class Reference

#include <ParticleGunAction.hh>

+ Inheritance diagram for ParticleGunAction:
+ Collaboration diagram for ParticleGunAction:

Public Member Functions

 ParticleGunAction ()
 
 ~ParticleGunAction ()
 
G4ParticleGunGetParticleGun () const
 
virtual void GeneratePrimaries (G4Event *anEvent)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4ParticleGunparticleGun
 

Detailed Description

Definition at line 44 of file ParticleGunAction.hh.

Constructor & Destructor Documentation

ParticleGunAction::ParticleGunAction ( )

Definition at line 42 of file ParticleGunAction.cc.

References particleGun.

ParticleGunAction::~ParticleGunAction ( )

Definition at line 49 of file ParticleGunAction.cc.

References particleGun.

Member Function Documentation

void ParticleGunAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 56 of file ParticleGunAction.cc.

References particleGun.

G4ParticleGun * ParticleGunAction::GetParticleGun ( ) const
inline

Definition at line 61 of file ParticleGunAction.hh.

References particleGun.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

Member Data Documentation

G4ParticleGun* ParticleGunAction::particleGun
private

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