Geant4  10.02.p02
XrayFluoPrimaryGeneratorAction Class Reference

#include <XrayFluoPrimaryGeneratorAction.hh>

+ Inheritance diagram for XrayFluoPrimaryGeneratorAction:
+ Collaboration diagram for XrayFluoPrimaryGeneratorAction:

Public Member Functions

 XrayFluoPrimaryGeneratorAction (const XrayFluoDetectorConstruction *)
 
 ~XrayFluoPrimaryGeneratorAction ()
 
void GeneratePrimaries (G4Event *)
 
void SetRndmFlag (G4String val)
 
void SetRndmVert (G4String val)
 
void SetSpectrum (G4String val)
 
void SetIsoVert (G4String val)
 
void ActivatePhaseSpace (G4String)
 
void SetRayleighFlag (G4bool)
 
- Public Member Functions inherited from G4VUserPrimaryGeneratorAction
 G4VUserPrimaryGeneratorAction ()
 
virtual ~G4VUserPrimaryGeneratorAction ()
 

Private Attributes

G4ParticleGunparticleGun
 
const
XrayFluoDetectorConstruction
XrayFluoDetector
 
const XrayFluoRunActionrunAction
 
XrayFluoPrimaryGeneratorMessengergunMessenger
 
G4String rndmFlag
 
G4String beam
 
G4String spectrum
 
G4String isoVert
 
G4bool phaseSpaceGunFlag
 
G4bool rayleighFlag
 
G4ThreeVector detectorPosition
 

Detailed Description

Definition at line 56 of file XrayFluoPrimaryGeneratorAction.hh.

Constructor & Destructor Documentation

XrayFluoPrimaryGeneratorAction::XrayFluoPrimaryGeneratorAction ( const XrayFluoDetectorConstruction XrayFluoDC)
XrayFluoPrimaryGeneratorAction::~XrayFluoPrimaryGeneratorAction ( )

Definition at line 111 of file XrayFluoPrimaryGeneratorAction.cc.

References gunMessenger, and particleGun.

Member Function Documentation

void XrayFluoPrimaryGeneratorAction::ActivatePhaseSpace ( G4String  fileName)

Definition at line 86 of file XrayFluoPrimaryGeneratorAction.cc.

References cm, detectorPosition, XrayFluoDetectorConstruction::GetDetectorPosition(), XrayFluoAnalysisManager::getInstance(), XrayFluoAnalysisManager::LoadGunData(), phaseSpaceGunFlag, rayleighFlag, and XrayFluoDetector.

Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XrayFluoPrimaryGeneratorAction::GeneratePrimaries ( G4Event anEvent)
virtual
void XrayFluoPrimaryGeneratorAction::SetIsoVert ( G4String  val)
inline

Definition at line 77 of file XrayFluoPrimaryGeneratorAction.hh.

References isoVert.

Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void XrayFluoPrimaryGeneratorAction::SetRayleighFlag ( G4bool  value)

Definition at line 103 of file XrayFluoPrimaryGeneratorAction.cc.

References rayleighFlag.

Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void XrayFluoPrimaryGeneratorAction::SetRndmFlag ( G4String  val)
inline

Definition at line 68 of file XrayFluoPrimaryGeneratorAction.hh.

References rndmFlag.

Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void XrayFluoPrimaryGeneratorAction::SetRndmVert ( G4String  val)
inline

Definition at line 71 of file XrayFluoPrimaryGeneratorAction.hh.

References beam.

Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

void XrayFluoPrimaryGeneratorAction::SetSpectrum ( G4String  val)
inline

Definition at line 74 of file XrayFluoPrimaryGeneratorAction.hh.

References spectrum.

Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().

+ Here is the caller graph for this function:

Member Data Documentation

G4String XrayFluoPrimaryGeneratorAction::beam
private

Definition at line 103 of file XrayFluoPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetRndmVert().

G4ThreeVector XrayFluoPrimaryGeneratorAction::detectorPosition
private

Definition at line 117 of file XrayFluoPrimaryGeneratorAction.hh.

Referenced by ActivatePhaseSpace(), and GeneratePrimaries().

XrayFluoPrimaryGeneratorMessenger* XrayFluoPrimaryGeneratorAction::gunMessenger
private
G4String XrayFluoPrimaryGeneratorAction::isoVert
private

Definition at line 109 of file XrayFluoPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetIsoVert().

G4ParticleGun* XrayFluoPrimaryGeneratorAction::particleGun
private
G4bool XrayFluoPrimaryGeneratorAction::phaseSpaceGunFlag
private

Definition at line 112 of file XrayFluoPrimaryGeneratorAction.hh.

Referenced by ActivatePhaseSpace(), and GeneratePrimaries().

G4bool XrayFluoPrimaryGeneratorAction::rayleighFlag
private

Definition at line 115 of file XrayFluoPrimaryGeneratorAction.hh.

Referenced by ActivatePhaseSpace(), and SetRayleighFlag().

G4String XrayFluoPrimaryGeneratorAction::rndmFlag
private

Definition at line 100 of file XrayFluoPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetRndmFlag().

const XrayFluoRunAction* XrayFluoPrimaryGeneratorAction::runAction
private
G4String XrayFluoPrimaryGeneratorAction::spectrum
private

Definition at line 106 of file XrayFluoPrimaryGeneratorAction.hh.

Referenced by GeneratePrimaries(), and SetSpectrum().

const XrayFluoDetectorConstruction* XrayFluoPrimaryGeneratorAction::XrayFluoDetector
private

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