Geant4  10.00.p02
PrimaryGeneratorAction3 Class Reference

#include <PrimaryGeneratorAction3.hh>

+ Collaboration diagram for PrimaryGeneratorAction3:

Public Member Functions

 PrimaryGeneratorAction3 (G4ParticleGun *)
 
 ~PrimaryGeneratorAction3 ()
 
void GeneratePrimaries (G4Event *)
 
G4ThreeVector GetNewUz ()
 
G4double GetAlphaMax ()
 

Private Attributes

G4ThreeVector fNewUz
 
G4double fAlphaMax
 
G4ParticleGunfParticleGun
 

Detailed Description

Definition at line 47 of file PrimaryGeneratorAction3.hh.

Constructor & Destructor Documentation

PrimaryGeneratorAction3::PrimaryGeneratorAction3 ( G4ParticleGun gun)

Definition at line 48 of file PrimaryGeneratorAction3.cc.

References deg, fAlphaMax, and fNewUz.

PrimaryGeneratorAction3::~PrimaryGeneratorAction3 ( )

Definition at line 63 of file PrimaryGeneratorAction3.cc.

Member Function Documentation

void PrimaryGeneratorAction3::GeneratePrimaries ( G4Event anEvent)

Definition at line 68 of file PrimaryGeneratorAction3.cc.

References fAlphaMax, fNewUz, fParticleGun, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), MeV, G4ParticleGun::SetParticleEnergy(), and G4ParticleGun::SetParticleMomentumDirection().

+ Here is the call graph for this function:

G4double PrimaryGeneratorAction3::GetAlphaMax ( )
inline

Definition at line 58 of file PrimaryGeneratorAction3.hh.

References fAlphaMax.

G4ThreeVector PrimaryGeneratorAction3::GetNewUz ( )
inline

Definition at line 57 of file PrimaryGeneratorAction3.hh.

References fNewUz.

Member Data Documentation

G4double PrimaryGeneratorAction3::fAlphaMax
private
G4ThreeVector PrimaryGeneratorAction3::fNewUz
private

Definition at line 58 of file PrimaryGeneratorAction3.hh.

Referenced by GeneratePrimaries(), GetNewUz(), and PrimaryGeneratorAction3().

G4ParticleGun* PrimaryGeneratorAction3::fParticleGun
private

Definition at line 64 of file PrimaryGeneratorAction3.hh.

Referenced by GeneratePrimaries().


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