Geant4  10.00.p02
PrimaryGeneratorAction4 Class Reference

#include <PrimaryGeneratorAction4.hh>

+ Collaboration diagram for PrimaryGeneratorAction4:

Public Member Functions

 PrimaryGeneratorAction4 (G4ParticleGun *)
 
 ~PrimaryGeneratorAction4 ()
 
void GeneratePrimaries (G4Event *)
 
G4double GetRmin3 ()
 
G4double GetRmax3 ()
 
G4double GetCosAlphaMin ()
 
G4double GetCosAlphaMax ()
 

Private Attributes

G4double fRmin3
 
G4double fRmax3
 
G4double fCosAlphaMin
 
G4double fCosAlphaMax
 
G4ParticleGun * fParticleGun
 

Detailed Description

Definition at line 47 of file PrimaryGeneratorAction4.hh.

Constructor & Destructor Documentation

PrimaryGeneratorAction4::PrimaryGeneratorAction4 ( G4ParticleGun *  gun)

Definition at line 48 of file PrimaryGeneratorAction4.cc.

References deg, fCosAlphaMax, fCosAlphaMin, fRmax3, fRmin3, and mm.

PrimaryGeneratorAction4::~PrimaryGeneratorAction4 ( )

Definition at line 68 of file PrimaryGeneratorAction4.cc.

Member Function Documentation

void PrimaryGeneratorAction4::GeneratePrimaries ( G4Event *  anEvent)

Definition at line 73 of file PrimaryGeneratorAction4.cc.

References fCosAlphaMax, fCosAlphaMin, fParticleGun, fRmax3, fRmin3, G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), MeV, G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), and G4VPrimaryGenerator::SetParticlePosition().

+ Here is the call graph for this function:

G4double PrimaryGeneratorAction4::GetCosAlphaMax ( )
inline

Definition at line 59 of file PrimaryGeneratorAction4.hh.

References fCosAlphaMax.

G4double PrimaryGeneratorAction4::GetCosAlphaMin ( )
inline

Definition at line 58 of file PrimaryGeneratorAction4.hh.

References fCosAlphaMin.

G4double PrimaryGeneratorAction4::GetRmax3 ( )
inline

Definition at line 57 of file PrimaryGeneratorAction4.hh.

References fRmax3.

G4double PrimaryGeneratorAction4::GetRmin3 ( )
inline

Definition at line 56 of file PrimaryGeneratorAction4.hh.

References fRmin3.

Member Data Documentation

G4double PrimaryGeneratorAction4::fCosAlphaMax
private
G4double PrimaryGeneratorAction4::fCosAlphaMin
private
G4ParticleGun* PrimaryGeneratorAction4::fParticleGun
private

Definition at line 67 of file PrimaryGeneratorAction4.hh.

Referenced by GeneratePrimaries().

G4double PrimaryGeneratorAction4::fRmax3
private

Definition at line 63 of file PrimaryGeneratorAction4.hh.

Referenced by GeneratePrimaries(), GetRmax3(), and PrimaryGeneratorAction4().

G4double PrimaryGeneratorAction4::fRmin3
private

Definition at line 59 of file PrimaryGeneratorAction4.hh.

Referenced by GeneratePrimaries(), GetRmin3(), and PrimaryGeneratorAction4().


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