Geant4
10.00.p03
|
#include <G4GeneralParticleSource.hh>
Private Member Functions | |
void | IntensityNormalization () |
Private Attributes | |
G4bool | multiple_vertex |
G4bool | flat_sampling |
G4bool | normalised |
G4int | currentSourceIdx |
G4SingleParticleSource * | currentSource |
std::vector < G4SingleParticleSource * > | sourceVector |
std::vector< G4double > | sourceIntensity |
std::vector< G4double > | sourceProbability |
G4GeneralParticleSourceMessenger * | theMessenger |
Additional Inherited Members | |
Static Public Member Functions inherited from G4VPrimaryGenerator | |
static G4bool | CheckVertexInsideWorld (const G4ThreeVector &pos) |
Protected Attributes inherited from G4VPrimaryGenerator | |
G4ThreeVector | particle_position |
G4double | particle_time |
Definition at line 151 of file G4GeneralParticleSource.hh.
G4GeneralParticleSource::G4GeneralParticleSource | ( | ) |
Definition at line 64 of file G4GeneralParticleSource.cc.
References currentSource, currentSourceIdx, IntensityNormalization(), sourceIntensity, sourceProbability, sourceVector, and theMessenger.
G4GeneralParticleSource::~G4GeneralParticleSource | ( | ) |
Definition at line 79 of file G4GeneralParticleSource.cc.
References theMessenger.
void G4GeneralParticleSource::AddaSource | ( | G4double | aV | ) |
Definition at line 84 of file G4GeneralParticleSource.cc.
References currentSource, currentSourceIdx, IntensityNormalization(), G4GeneralParticleSourceMessenger::SetParticleGun(), sourceIntensity, sourceVector, and theMessenger.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4GeneralParticleSource::ClearAll | ( | ) |
Definition at line 152 of file G4GeneralParticleSource.cc.
References currentSource, currentSourceIdx, sourceIntensity, sourceProbability, and sourceVector.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4GeneralParticleSource::DeleteaSource | ( | G4int | aV | ) |
Definition at line 161 of file G4GeneralParticleSource.cc.
References currentSource, currentSourceIdx, G4cout, G4endl, normalised, sourceIntensity, and sourceVector.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
virtual |
Implements G4VPrimaryGenerator.
Definition at line 183 of file G4GeneralParticleSource.cc.
References currentSource, flat_sampling, G4UniformRand, IntensityNormalization(), multiple_vertex, normalised, sourceIntensity, sourceProbability, and sourceVector.
Referenced by GammaKnifePrimaryGeneratorAction::GeneratePrimaries(), exGPSPrimaryGeneratorAction::GeneratePrimaries(), ElectronPrimaryGeneratorAction::GeneratePrimaries(), ExGflashPrimaryGeneratorAction::GeneratePrimaries(), exrdmPrimaryGeneratorAction::GeneratePrimaries(), ExG4PrimaryGeneratorAction02::GeneratePrimaries(), WLSPrimaryGeneratorAction::GeneratePrimaries(), UltraPrimaryGeneratorAction::GeneratePrimaries(), RMC01PrimaryGeneratorAction::GeneratePrimaries(), GammaRayTelPrimaryGeneratorAction::GeneratePrimaries(), and XrayTelPrimaryGeneratorAction::GeneratePrimaries().
|
inline |
Definition at line 165 of file G4GeneralParticleSource.hh.
References currentSource.
Referenced by UltraPrimaryGeneratorAction::GeneratePrimaries(), and UltraPrimaryGeneratorAction::UltraPrimaryGeneratorAction().
|
inline |
Definition at line 166 of file G4GeneralParticleSource.hh.
References currentSourceIdx.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
inline |
Definition at line 167 of file G4GeneralParticleSource.hh.
References currentSourceIdx, and sourceIntensity.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
inline |
Definition at line 200 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::GetNumberOfParticles().
|
inline |
Definition at line 161 of file G4GeneralParticleSource.hh.
References sourceVector.
|
inline |
Definition at line 186 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::GetParticleDefinition().
Referenced by WLSPrimaryGeneratorAction::GeneratePrimaries(), UltraPrimaryGeneratorAction::GeneratePrimaries(), and WLSPrimaryGeneratorAction::SetOptPhotonPolar().
|
inline |
Definition at line 203 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::GetParticleEnergy().
Referenced by UltraPrimaryGeneratorAction::GeneratePrimaries().
|
inline |
Definition at line 202 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::GetParticleMomentumDirection().
Referenced by WLSPrimaryGeneratorAction::SetOptPhotonPolar().
|
inline |
Definition at line 192 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::GetParticlePolarization().
|
inline |
Definition at line 201 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::GetParticlePosition().
|
inline |
Definition at line 196 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::GetParticleTime().
|
private |
Definition at line 94 of file G4GeneralParticleSource.cc.
References flat_sampling, normalised, sourceIntensity, sourceProbability, sourceVector, and G4INCL::CrossSections::total().
Referenced by AddaSource(), G4GeneralParticleSource(), and GeneratePrimaryVertex().
void G4GeneralParticleSource::ListSource | ( | ) |
Definition at line 125 of file G4GeneralParticleSource.cc.
References G4cout, G4endl, and sourceIntensity.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4GeneralParticleSource::SetCurrentSourceIntensity | ( | G4double | aV | ) |
Definition at line 146 of file G4GeneralParticleSource.cc.
References currentSourceIdx, normalised, and sourceIntensity.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
void G4GeneralParticleSource::SetCurrentSourceto | ( | G4int | aV | ) |
Definition at line 132 of file G4GeneralParticleSource.cc.
References currentSource, currentSourceIdx, G4cout, G4endl, G4GeneralParticleSourceMessenger::SetParticleGun(), sourceIntensity, sourceVector, and theMessenger.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
inline |
Definition at line 180 of file G4GeneralParticleSource.hh.
References flat_sampling, and normalised.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
inline |
Definition at line 176 of file G4GeneralParticleSource.hh.
References multiple_vertex.
Referenced by G4GeneralParticleSourceMessenger::SetNewValue().
|
inline |
Definition at line 198 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::SetNumberOfParticles().
|
inline |
Definition at line 188 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::SetParticleCharge().
|
inline |
Definition at line 183 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::SetParticleDefinition().
Referenced by GammaKnifePrimaryGeneratorAction::SetDefaultPrimaryParticle(), and UltraPrimaryGeneratorAction::UltraPrimaryGeneratorAction().
|
inline |
Definition at line 191 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::SetParticlePolarization().
Referenced by WLSPrimaryGeneratorAction::SetOptPhotonPolar(), and UltraPrimaryGeneratorAction::UltraPrimaryGeneratorAction().
|
inline |
Definition at line 195 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::SetParticleTime().
Referenced by WLSPrimaryGeneratorAction::SetOptPhotonTime().
|
inline |
Definition at line 173 of file G4GeneralParticleSource.hh.
References currentSource, and G4SingleParticleSource::SetVerbosity().
|
private |
Definition at line 214 of file G4GeneralParticleSource.hh.
Referenced by AddaSource(), ClearAll(), DeleteaSource(), G4GeneralParticleSource(), GeneratePrimaryVertex(), GetCurrentSource(), GetNumberOfParticles(), GetParticleDefinition(), GetParticleEnergy(), GetParticleMomentumDirection(), GetParticlePolarization(), GetParticlePosition(), GetParticleTime(), SetCurrentSourceto(), SetNumberOfParticles(), SetParticleCharge(), SetParticleDefinition(), SetParticlePolarization(), SetParticleTime(), and SetVerbosity().
|
private |
Definition at line 213 of file G4GeneralParticleSource.hh.
Referenced by AddaSource(), ClearAll(), DeleteaSource(), G4GeneralParticleSource(), GetCurrentSourceIndex(), GetCurrentSourceIntensity(), SetCurrentSourceIntensity(), and SetCurrentSourceto().
|
private |
Definition at line 211 of file G4GeneralParticleSource.hh.
Referenced by GeneratePrimaryVertex(), IntensityNormalization(), and SetFlatSampling().
|
private |
Definition at line 210 of file G4GeneralParticleSource.hh.
Referenced by GeneratePrimaryVertex(), and SetMultipleVertex().
|
private |
Definition at line 212 of file G4GeneralParticleSource.hh.
Referenced by DeleteaSource(), GeneratePrimaryVertex(), IntensityNormalization(), SetCurrentSourceIntensity(), and SetFlatSampling().
|
private |
Definition at line 216 of file G4GeneralParticleSource.hh.
Referenced by AddaSource(), ClearAll(), DeleteaSource(), G4GeneralParticleSource(), GeneratePrimaryVertex(), GetCurrentSourceIntensity(), IntensityNormalization(), ListSource(), SetCurrentSourceIntensity(), and SetCurrentSourceto().
|
private |
Definition at line 217 of file G4GeneralParticleSource.hh.
Referenced by ClearAll(), G4GeneralParticleSource(), GeneratePrimaryVertex(), and IntensityNormalization().
|
private |
Definition at line 215 of file G4GeneralParticleSource.hh.
Referenced by AddaSource(), ClearAll(), DeleteaSource(), G4GeneralParticleSource(), GeneratePrimaryVertex(), GetNumberofSource(), IntensityNormalization(), and SetCurrentSourceto().
|
private |
Definition at line 219 of file G4GeneralParticleSource.hh.
Referenced by AddaSource(), G4GeneralParticleSource(), SetCurrentSourceto(), and ~G4GeneralParticleSource().