Geant4  10.00.p02
LXePrimaryGeneratorAction Class Reference

#include <LXePrimaryGeneratorAction.hh>

+ Inheritance diagram for LXePrimaryGeneratorAction:
+ Collaboration diagram for LXePrimaryGeneratorAction:

Public Member Functions

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

Private Attributes

G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 40 of file LXePrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

LXePrimaryGeneratorAction::LXePrimaryGeneratorAction ( )

Definition at line 43 of file LXePrimaryGeneratorAction.cc.

References cm, fParticleGun, G4ParticleTable::GetParticleTable(), keV, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().

+ Here is the call graph for this function:

LXePrimaryGeneratorAction::~LXePrimaryGeneratorAction ( )
virtual

Definition at line 60 of file LXePrimaryGeneratorAction.cc.

References fParticleGun.

Member Function Documentation

void LXePrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 66 of file LXePrimaryGeneratorAction.cc.

References fParticleGun, and G4ParticleGun::GeneratePrimaryVertex().

+ Here is the call graph for this function:

Member Data Documentation

G4ParticleGun* LXePrimaryGeneratorAction::fParticleGun
private

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