Geant4  10.00.p02
IORTPrimaryGeneratorAction Class Reference

#include <IORTPrimaryGeneratorAction.hh>

+ Inheritance diagram for IORTPrimaryGeneratorAction:
+ Collaboration diagram for IORTPrimaryGeneratorAction:

Public Member Functions

 IORTPrimaryGeneratorAction ()
 
 ~IORTPrimaryGeneratorAction ()
 
void SetsigmaEnergy (G4double)
 
void SetmeanKineticEnergy (G4double)
 
void GeneratePrimaries (G4Event *)
 
void SetXposition (G4double)
 
void SetYposition (G4double)
 
void SetZposition (G4double)
 
void SetsigmaY (G4double)
 
void SetsigmaZ (G4double)
 
void SetTheta (G4double)
 
G4double GetmeanKineticEnergy (void)
 
G4ParticleGunGetParticleGun (void)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Member Functions

void SetDefaultPrimaryParticle ()
 

Private Attributes

G4double meanKineticEnergy
 
G4double sigmaEnergy
 
G4double X0
 
G4double Y0
 
G4double Z0
 
G4double sigmaY
 
G4double sigmaZ
 
G4double Theta
 
G4ParticleGunparticleGun
 
IORTPrimaryGeneratorMessengergunMessenger
 

Detailed Description

Definition at line 50 of file IORTPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

IORTPrimaryGeneratorAction::IORTPrimaryGeneratorAction ( )

Definition at line 55 of file IORTPrimaryGeneratorAction.cc.

References gunMessenger, particleGun, and SetDefaultPrimaryParticle().

+ Here is the call graph for this function:

IORTPrimaryGeneratorAction::~IORTPrimaryGeneratorAction ( )

Definition at line 65 of file IORTPrimaryGeneratorAction.cc.

References gunMessenger, and particleGun.

Member Function Documentation

void IORTPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 132 of file IORTPrimaryGeneratorAction.cc.

References IORTAnalysisManager::GetInstance(), meanKineticEnergy, particleGun, G4INCL::DeJongSpin::shoot(), sigmaEnergy, sigmaY, sigmaZ, Theta, X0, Y0, z, and Z0.

+ Here is the call graph for this function:

G4double IORTPrimaryGeneratorAction::GetmeanKineticEnergy ( void  )

Definition at line 275 of file IORTPrimaryGeneratorAction.cc.

References meanKineticEnergy.

G4ParticleGun* IORTPrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 71 of file IORTPrimaryGeneratorAction.hh.

References particleGun.

void IORTPrimaryGeneratorAction::SetDefaultPrimaryParticle ( )
private

Definition at line 72 of file IORTPrimaryGeneratorAction.cc.

References deg, IORTAnalysisManager::GetInstance(), G4ParticleTable::GetParticleTable(), keV, meanKineticEnergy, MeV, mm, particleGun, sigmaEnergy, sigmaY, sigmaZ, Theta, X0, Y0, and Z0.

Referenced by IORTPrimaryGeneratorAction().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void IORTPrimaryGeneratorAction::SetmeanKineticEnergy ( G4double  val)

Definition at line 229 of file IORTPrimaryGeneratorAction.cc.

References IORTAnalysisManager::GetInstance(), meanKineticEnergy, and sigmaEnergy.

+ Here is the call graph for this function:

void IORTPrimaryGeneratorAction::SetsigmaEnergy ( G4double  val)

Definition at line 239 of file IORTPrimaryGeneratorAction.cc.

References IORTAnalysisManager::GetInstance(), meanKineticEnergy, and sigmaEnergy.

+ Here is the call graph for this function:

void IORTPrimaryGeneratorAction::SetsigmaY ( G4double  val)

Definition at line 257 of file IORTPrimaryGeneratorAction.cc.

References sigmaY.

void IORTPrimaryGeneratorAction::SetsigmaZ ( G4double  val)

Definition at line 260 of file IORTPrimaryGeneratorAction.cc.

References sigmaZ.

void IORTPrimaryGeneratorAction::SetTheta ( G4double  val)

Definition at line 271 of file IORTPrimaryGeneratorAction.cc.

References Theta.

void IORTPrimaryGeneratorAction::SetXposition ( G4double  val)

Definition at line 248 of file IORTPrimaryGeneratorAction.cc.

References X0.

void IORTPrimaryGeneratorAction::SetYposition ( G4double  val)

Definition at line 251 of file IORTPrimaryGeneratorAction.cc.

References Y0.

void IORTPrimaryGeneratorAction::SetZposition ( G4double  val)

Definition at line 254 of file IORTPrimaryGeneratorAction.cc.

References Z0.

Member Data Documentation

IORTPrimaryGeneratorMessenger* IORTPrimaryGeneratorAction::gunMessenger
private
G4double IORTPrimaryGeneratorAction::meanKineticEnergy
private
G4ParticleGun* IORTPrimaryGeneratorAction::particleGun
private
G4double IORTPrimaryGeneratorAction::sigmaEnergy
private
G4double IORTPrimaryGeneratorAction::sigmaY
private
G4double IORTPrimaryGeneratorAction::sigmaZ
private
G4double IORTPrimaryGeneratorAction::Theta
private
G4double IORTPrimaryGeneratorAction::X0
private
G4double IORTPrimaryGeneratorAction::Y0
private
G4double IORTPrimaryGeneratorAction::Z0
private

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