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

#include <geant4/tree/geant4-10.6-release/examples/advanced/hadrontherapy/include/HadrontherapyPrimaryGeneratorAction.hh>

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

Public Member Functions

 HadrontherapyPrimaryGeneratorAction ()
 
 ~HadrontherapyPrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *)
 
void setNewSource (G4bool Varbool)
 
void setCalculatedPhaseSpaceFileIN (G4String val)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Public Attributes

G4String PathSource
 
G4bool Readfile
 
G4bool NewSource
 

Static Public Attributes

static G4bool ReadFile
 

Private Member Functions

void SetDefaultPrimaryParticle ()
 
void setGunCalculatedPhaseSpace ()
 

Private Attributes

G4String calculatedPhaseSpaceFileIN
 
HadrontherapyPrimaryGeneratorMessengerPrimaryGeneratorMessenger
 
G4ParticleGunparticleGuns
 
G4GeneralParticleSourceparticleGun
 
G4double sigmaX
 
std::ofstream ofs
 

Detailed Description

Definition at line 42 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 42 of file HadrontherapyPrimaryGeneratorAction.hh

Constructor & Destructor Documentation

HadrontherapyPrimaryGeneratorAction::HadrontherapyPrimaryGeneratorAction ( )

Definition at line 55 of file HadrontherapyPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 55 of file HadrontherapyPrimaryGeneratorAction.cc

References particleGun, and SetDefaultPrimaryParticle().

+ Here is the call graph for this function:

HadrontherapyPrimaryGeneratorAction::~HadrontherapyPrimaryGeneratorAction ( )

Definition at line 64 of file HadrontherapyPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 64 of file HadrontherapyPrimaryGeneratorAction.cc

References particleGun, and PrimaryGeneratorMessenger.

Member Function Documentation

void HadrontherapyPrimaryGeneratorAction::setCalculatedPhaseSpaceFileIN ( G4String  val)
inline

Definition at line 58 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 58 of file HadrontherapyPrimaryGeneratorAction.hh

References calculatedPhaseSpaceFileIN.

Referenced by HadrontherapyPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void HadrontherapyPrimaryGeneratorAction::SetDefaultPrimaryParticle ( )
private

Definition at line 71 of file HadrontherapyPrimaryGeneratorAction.cc.

View newest version in sPHENIX GitHub at line 71 of file HadrontherapyPrimaryGeneratorAction.cc

Referenced by HadrontherapyPrimaryGeneratorAction().

+ Here is the caller graph for this function:

void HadrontherapyPrimaryGeneratorAction::setGunCalculatedPhaseSpace ( )
private
void HadrontherapyPrimaryGeneratorAction::setNewSource ( G4bool  Varbool)
inline

Definition at line 54 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 54 of file HadrontherapyPrimaryGeneratorAction.hh

References NewSource.

Referenced by HadrontherapyPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4String HadrontherapyPrimaryGeneratorAction::calculatedPhaseSpaceFileIN
private

Definition at line 65 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 65 of file HadrontherapyPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), and setCalculatedPhaseSpaceFileIN().

G4bool HadrontherapyPrimaryGeneratorAction::NewSource

Definition at line 57 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 57 of file HadrontherapyPrimaryGeneratorAction.hh

Referenced by GeneratePrimaries(), and setNewSource().

std::ofstream HadrontherapyPrimaryGeneratorAction::ofs
private

Definition at line 75 of file HadrontherapyPrimaryGeneratorAction.hh.

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

G4GeneralParticleSource* HadrontherapyPrimaryGeneratorAction::particleGun
private
G4ParticleGun* HadrontherapyPrimaryGeneratorAction::particleGuns
private

Definition at line 69 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 69 of file HadrontherapyPrimaryGeneratorAction.hh

G4String HadrontherapyPrimaryGeneratorAction::PathSource

Definition at line 54 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 54 of file HadrontherapyPrimaryGeneratorAction.hh

HadrontherapyPrimaryGeneratorMessenger* HadrontherapyPrimaryGeneratorAction::PrimaryGeneratorMessenger
private

Definition at line 68 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 68 of file HadrontherapyPrimaryGeneratorAction.hh

Referenced by ~HadrontherapyPrimaryGeneratorAction().

G4bool HadrontherapyPrimaryGeneratorAction::ReadFile
static

Definition at line 52 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 52 of file HadrontherapyPrimaryGeneratorAction.hh

G4bool HadrontherapyPrimaryGeneratorAction::Readfile

Definition at line 56 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 56 of file HadrontherapyPrimaryGeneratorAction.hh

G4double HadrontherapyPrimaryGeneratorAction::sigmaX
private

Definition at line 74 of file HadrontherapyPrimaryGeneratorAction.hh.

View newest version in sPHENIX GitHub at line 74 of file HadrontherapyPrimaryGeneratorAction.hh


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