ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IORTPrimaryGeneratorAction Class Reference

#include <geant4/tree/geant4-10.6-release/examples/advanced/iort_therapy/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.

View newest version in sPHENIX GitHub at line 50 of file IORTPrimaryGeneratorAction.hh

Constructor & Destructor Documentation

IORTPrimaryGeneratorAction::IORTPrimaryGeneratorAction ( )

Definition at line 52 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 52 of file IORTPrimaryGeneratorAction.cc

References gunMessenger, particleGun, and SetDefaultPrimaryParticle().

+ Here is the call graph for this function:

IORTPrimaryGeneratorAction::~IORTPrimaryGeneratorAction ( )

Definition at line 62 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 62 of file IORTPrimaryGeneratorAction.cc

References gunMessenger, and particleGun.

Member Function Documentation

void IORTPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual

Implements G4VUserPrimaryGeneratorAction.

Definition at line 123 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 123 of file IORTPrimaryGeneratorAction.cc

References meanKineticEnergy, particleGun, G4INCL::DeJongSpin::shoot(), CLHEP::RandFlat::shoot(), sigmaEnergy, sigmaY, sigmaZ, Theta, x, X0, y, Y0, z, and Z0.

+ Here is the call graph for this function:

G4double IORTPrimaryGeneratorAction::GetmeanKineticEnergy ( void  )

Definition at line 256 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 256 of file IORTPrimaryGeneratorAction.cc

References meanKineticEnergy.

G4ParticleGun* IORTPrimaryGeneratorAction::GetParticleGun ( void  )
inline

Definition at line 71 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 71 of file IORTPrimaryGeneratorAction.hh

References particleGun.

void IORTPrimaryGeneratorAction::SetDefaultPrimaryParticle ( )
private

Definition at line 69 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 69 of file IORTPrimaryGeneratorAction.cc

References CLHEP::deg, G4ParticleTable::GetParticleTable(), CLHEP::keV, meanKineticEnergy, CLHEP::MeV, CLHEP::mm, particle, 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 215 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 215 of file IORTPrimaryGeneratorAction.cc

References G4cout, G4endl, meanKineticEnergy, and MeV.

void IORTPrimaryGeneratorAction::SetsigmaEnergy ( G4double  val)

Definition at line 222 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 222 of file IORTPrimaryGeneratorAction.cc

References G4cout, G4endl, MeV, and sigmaEnergy.

void IORTPrimaryGeneratorAction::SetsigmaY ( G4double  val)

Definition at line 238 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 238 of file IORTPrimaryGeneratorAction.cc

References sigmaY.

void IORTPrimaryGeneratorAction::SetsigmaZ ( G4double  val)

Definition at line 241 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 241 of file IORTPrimaryGeneratorAction.cc

References sigmaZ.

void IORTPrimaryGeneratorAction::SetTheta ( G4double  val)

Definition at line 252 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 252 of file IORTPrimaryGeneratorAction.cc

References Theta.

void IORTPrimaryGeneratorAction::SetXposition ( G4double  val)

Definition at line 229 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 229 of file IORTPrimaryGeneratorAction.cc

References X0.

void IORTPrimaryGeneratorAction::SetYposition ( G4double  val)

Definition at line 232 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 232 of file IORTPrimaryGeneratorAction.cc

References Y0.

void IORTPrimaryGeneratorAction::SetZposition ( G4double  val)

Definition at line 235 of file IORTPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 235 of file IORTPrimaryGeneratorAction.cc

References Z0.

Member Data Documentation

IORTPrimaryGeneratorMessenger* IORTPrimaryGeneratorAction::gunMessenger
private

Definition at line 88 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 88 of file IORTPrimaryGeneratorAction.hh

Referenced by IORTPrimaryGeneratorAction(), and ~IORTPrimaryGeneratorAction().

G4double IORTPrimaryGeneratorAction::meanKineticEnergy
private

Definition at line 75 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 75 of file IORTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), GetmeanKineticEnergy(), SetDefaultPrimaryParticle(), and SetmeanKineticEnergy().

G4ParticleGun* IORTPrimaryGeneratorAction::particleGun
private
G4double IORTPrimaryGeneratorAction::sigmaEnergy
private

Definition at line 76 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 76 of file IORTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), SetDefaultPrimaryParticle(), and SetsigmaEnergy().

G4double IORTPrimaryGeneratorAction::sigmaY
private

Definition at line 80 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 80 of file IORTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), SetDefaultPrimaryParticle(), and SetsigmaY().

G4double IORTPrimaryGeneratorAction::sigmaZ
private

Definition at line 81 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 81 of file IORTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), SetDefaultPrimaryParticle(), and SetsigmaZ().

G4double IORTPrimaryGeneratorAction::Theta
private

Definition at line 84 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 84 of file IORTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), SetDefaultPrimaryParticle(), and SetTheta().

G4double IORTPrimaryGeneratorAction::X0
private

Definition at line 77 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 77 of file IORTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), SetDefaultPrimaryParticle(), and SetXposition().

G4double IORTPrimaryGeneratorAction::Y0
private

Definition at line 78 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 78 of file IORTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), SetDefaultPrimaryParticle(), and SetYposition().

G4double IORTPrimaryGeneratorAction::Z0
private

Definition at line 79 of file IORTPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 79 of file IORTPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), SetDefaultPrimaryParticle(), and SetZposition().


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