Geant4
10.00.p01
|
#include <XrayFluoPrimaryGeneratorAction.hh>
Public Member Functions | |
XrayFluoPrimaryGeneratorAction (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 | |
G4ParticleGun * | particleGun |
XrayFluoDetectorConstruction * | XrayFluoDetector |
XrayFluoPrimaryGeneratorMessenger * | gunMessenger |
XrayFluoRunAction * | runManager |
G4String | rndmFlag |
G4String | beam |
G4String | spectrum |
G4String | isoVert |
G4bool | phaseSpaceGunFlag |
G4bool | rayleighFlag |
std::vector< G4double > * | particleEnergies |
std::vector< G4String > * | particleTypes |
G4ThreeVector | detectorPosition |
Definition at line 56 of file XrayFluoPrimaryGeneratorAction.hh.
XrayFluoPrimaryGeneratorAction::XrayFluoPrimaryGeneratorAction | ( | XrayFluoDetectorConstruction * | XrayFluoDC | ) |
Definition at line 56 of file XrayFluoPrimaryGeneratorAction.cc.
References cm, G4ParticleTable::FindParticle(), G4cout, G4endl, G4ParticleTable::GetParticleTable(), XrayFluoDetectorConstruction::GetWorldSizeZ(), gunMessenger, keV, particleGun, position, runManager, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), and XrayFluoDetector.
XrayFluoPrimaryGeneratorAction::~XrayFluoPrimaryGeneratorAction | ( | ) |
Definition at line 123 of file XrayFluoPrimaryGeneratorAction.cc.
References G4cout, G4endl, gunMessenger, particleGun, and runManager.
void XrayFluoPrimaryGeneratorAction::ActivatePhaseSpace | ( | G4String | ) |
Definition at line 106 of file XrayFluoPrimaryGeneratorAction.cc.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
virtual |
Implements G4VUserPrimaryGeneratorAction.
Definition at line 135 of file XrayFluoPrimaryGeneratorAction.cc.
References beam, cm, detectorPosition, G4INCL::KinematicsUtils::energy(), G4ParticleTable::FindParticle(), XrayFluoDataSet::FindValue(), G4UniformRand, G4ParticleGun::GeneratePrimaryVertex(), XrayFluoRunAction::GetData(), XrayFluoRunAction::GetDataSum(), XrayFluoDetectorConstruction::GetDia3SizeXY(), XrayFluoRunAction::GetEnergies(), G4Event::GetEventID(), XrayFluoRunAction::GetGammaSet(), G4ParticleGun::GetParticleDefinition(), G4ParticleGun::GetParticleEnergy(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), XrayFluoDetectorConstruction::GetSampleSizeXY(), XrayFluoDetectorConstruction::GetWorldSizeZ(), isoVert, keV, m, mm, particleGun, particleTypes, phaseSpaceGunFlag, G4INCL::Math::pi, position, rad, rndmFlag, runManager, G4ParticleGun::SetParticleDefinition(), G4ParticleGun::SetParticleEnergy(), G4ParticleGun::SetParticleMomentumDirection(), G4VPrimaryGenerator::SetParticlePosition(), spectrum, XrayFluoDetector, z, and G4InuclParticleNames::z0.
|
inline |
Definition at line 77 of file XrayFluoPrimaryGeneratorAction.hh.
References isoVert.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
void XrayFluoPrimaryGeneratorAction::SetRayleighFlag | ( | G4bool | value | ) |
Definition at line 112 of file XrayFluoPrimaryGeneratorAction.cc.
References G4cout, G4endl, and rayleighFlag.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 68 of file XrayFluoPrimaryGeneratorAction.hh.
References rndmFlag.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 71 of file XrayFluoPrimaryGeneratorAction.hh.
References beam.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
inline |
Definition at line 74 of file XrayFluoPrimaryGeneratorAction.hh.
References spectrum.
Referenced by XrayFluoPrimaryGeneratorMessenger::SetNewValue().
|
private |
Definition at line 102 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetRndmVert().
|
private |
Definition at line 120 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 94 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by XrayFluoPrimaryGeneratorAction(), and ~XrayFluoPrimaryGeneratorAction().
|
private |
Definition at line 108 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetIsoVert().
|
private |
Definition at line 117 of file XrayFluoPrimaryGeneratorAction.hh.
|
private |
Definition at line 88 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), XrayFluoPrimaryGeneratorAction(), and ~XrayFluoPrimaryGeneratorAction().
|
private |
Definition at line 118 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 111 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries().
|
private |
Definition at line 114 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by SetRayleighFlag().
|
private |
Definition at line 99 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetRndmFlag().
|
private |
Definition at line 96 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), XrayFluoPrimaryGeneratorAction(), and ~XrayFluoPrimaryGeneratorAction().
|
private |
Definition at line 105 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and SetSpectrum().
|
private |
Definition at line 91 of file XrayFluoPrimaryGeneratorAction.hh.
Referenced by GeneratePrimaries(), and XrayFluoPrimaryGeneratorAction().