Geant4  10.02.p02
HadrontherapyPrimaryGeneratorAction Class Reference

#include <HadrontherapyPrimaryGeneratorAction.hh>

+ Inheritance diagram for HadrontherapyPrimaryGeneratorAction:
+ Collaboration diagram for HadrontherapyPrimaryGeneratorAction:

Public Member Functions

 HadrontherapyPrimaryGeneratorAction ()
 
 ~HadrontherapyPrimaryGeneratorAction ()
 
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 SetsigmaMomentumY (G4double)
 
void SetsigmaMomentumZ (G4double)
 
G4double GetmeanKineticEnergy (void)
 
G4double GetSigmaEnergy (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 sigmaMomentumY
 
G4double sigmaMomentumZ
 
G4GeneralParticleSourceparticleGun
 
G4double sigmaX
 

Detailed Description

Definition at line 39 of file HadrontherapyPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

HadrontherapyPrimaryGeneratorAction::HadrontherapyPrimaryGeneratorAction ( )

Definition at line 41 of file HadrontherapyPrimaryGeneratorAction.cc.

References particleGun, and SetDefaultPrimaryParticle().

+ Here is the call graph for this function:

HadrontherapyPrimaryGeneratorAction::~HadrontherapyPrimaryGeneratorAction ( )

Definition at line 51 of file HadrontherapyPrimaryGeneratorAction.cc.

References particleGun.

Member Function Documentation

void HadrontherapyPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 63 of file HadrontherapyPrimaryGeneratorAction.cc.

References HadrontherapyAnalysisManager::GetInstance(), and particleGun.

+ Here is the call graph for this function:

G4double HadrontherapyPrimaryGeneratorAction::GetmeanKineticEnergy ( void  )
G4double HadrontherapyPrimaryGeneratorAction::GetSigmaEnergy ( void  )
void HadrontherapyPrimaryGeneratorAction::SetDefaultPrimaryParticle ( )
private

Definition at line 58 of file HadrontherapyPrimaryGeneratorAction.cc.

Referenced by HadrontherapyPrimaryGeneratorAction().

+ Here is the caller graph for this function:

void HadrontherapyPrimaryGeneratorAction::SetmeanKineticEnergy ( G4double  )
void HadrontherapyPrimaryGeneratorAction::SetsigmaEnergy ( G4double  )
void HadrontherapyPrimaryGeneratorAction::SetsigmaMomentumY ( G4double  )
void HadrontherapyPrimaryGeneratorAction::SetsigmaMomentumZ ( G4double  )
void HadrontherapyPrimaryGeneratorAction::SetsigmaY ( G4double  )
void HadrontherapyPrimaryGeneratorAction::SetsigmaZ ( G4double  )
void HadrontherapyPrimaryGeneratorAction::SetXposition ( G4double  )
void HadrontherapyPrimaryGeneratorAction::SetYposition ( G4double  )
void HadrontherapyPrimaryGeneratorAction::SetZposition ( G4double  )

Member Data Documentation

G4double HadrontherapyPrimaryGeneratorAction::meanKineticEnergy
private

Definition at line 63 of file HadrontherapyPrimaryGeneratorAction.hh.

G4GeneralParticleSource* HadrontherapyPrimaryGeneratorAction::particleGun
private
G4double HadrontherapyPrimaryGeneratorAction::sigmaEnergy
private

Definition at line 64 of file HadrontherapyPrimaryGeneratorAction.hh.

G4double HadrontherapyPrimaryGeneratorAction::sigmaMomentumY
private

Definition at line 70 of file HadrontherapyPrimaryGeneratorAction.hh.

G4double HadrontherapyPrimaryGeneratorAction::sigmaMomentumZ
private

Definition at line 71 of file HadrontherapyPrimaryGeneratorAction.hh.

G4double HadrontherapyPrimaryGeneratorAction::sigmaX
private

Definition at line 75 of file HadrontherapyPrimaryGeneratorAction.hh.

G4double HadrontherapyPrimaryGeneratorAction::sigmaY
private

Definition at line 68 of file HadrontherapyPrimaryGeneratorAction.hh.

G4double HadrontherapyPrimaryGeneratorAction::sigmaZ
private

Definition at line 69 of file HadrontherapyPrimaryGeneratorAction.hh.

G4double HadrontherapyPrimaryGeneratorAction::X0
private

Definition at line 65 of file HadrontherapyPrimaryGeneratorAction.hh.

G4double HadrontherapyPrimaryGeneratorAction::Y0
private

Definition at line 66 of file HadrontherapyPrimaryGeneratorAction.hh.

G4double HadrontherapyPrimaryGeneratorAction::Z0
private

Definition at line 67 of file HadrontherapyPrimaryGeneratorAction.hh.


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