Geant4  10.01.p02
QPrimaryGeneratorAction Class Reference

#include <QPrimaryGeneratorAction.hh>

+ Inheritance diagram for QPrimaryGeneratorAction:
+ Collaboration diagram for QPrimaryGeneratorAction:

Public Member Functions

 QPrimaryGeneratorAction ()
 
 ~QPrimaryGeneratorAction ()
 
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 QPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

QPrimaryGeneratorAction::QPrimaryGeneratorAction ( )

Definition at line 42 of file QPrimaryGeneratorAction.cc.

References particleGun.

QPrimaryGeneratorAction::~QPrimaryGeneratorAction ( )

Definition at line 49 of file QPrimaryGeneratorAction.cc.

References particleGun.

Member Function Documentation

void QPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 56 of file QPrimaryGeneratorAction.cc.

References particleGun.

G4ParticleGun * QPrimaryGeneratorAction::GetParticleGun ( ) const
inline

Definition at line 61 of file QPrimaryGeneratorAction.hh.

References particleGun.

Referenced by BOOST_PYTHON_MODULE().

+ Here is the caller graph for this function:

Member Data Documentation

G4ParticleGun* QPrimaryGeneratorAction::particleGun
private

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