89 static G4bool onlyOnce =
false;
144 if ( id < GPSData->GetIntensityVectorSize() )
175 if ( id <= GPSData->GetIntensityVectorSize() )
void SetCurrentSourceIntensity(G4double)
G4double GetParticleEnergy() const
std::ostringstream G4ExceptionDescription
G4ThreeVector GetDirection()
G4ThreeVector GetCentreCoords() const
void GeneratePrimaryVertex(G4Event *)
void IntensityNormalization()
void AddASource(G4double intensity)
G4SingleParticleSource * GetCurrentSource(G4int idx)
const G4String & GetParticleName() const
static G4GeneralParticleSourceData * Instance()
G4ParticleDefinition * GetParticleDefinition() const
void DeleteASource(G4int idx)
G4SPSPosDistribution * GetPosDist() const
G4GeneralParticleSource()
G4int GetCurrentSourceIdx() const
static G4GeneralParticleSourceMessenger * GetInstance(G4GeneralParticleSource *)
G4String GetPosDisShape() const
#define G4MUTEX_INITIALIZER
G4SPSAngDistribution * GetAngDist() const
G4String GetPosDisType() const
void DeleteaSource(G4int)
void GeneratePrimaryVertex(G4Event *evt)
G4int GetNumberOfParticles() const
G4bool GetFlatSampling() const
void AddaSource(G4double)
G4bool GetMultipleVertex() const
G4SPSEneDistribution * GetEneDist() const
G4double GetSourceProbability(G4int idx) const
G4GeneralParticleSourceData * GPSData
#define G4BestUnit(a, b)
#define G4_USE_G4BESTUNIT_FOR_VERBOSE 1
void SetCurrentSourceIntensity(G4double)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
~G4GeneralParticleSource()
void SetCurrentSourceto(G4int)
void IntensityNormalise()
G4GLOB_DLL std::ostream G4cout
G4int GetIntensityVectorSize() const
G4String GetEnergyDisType()
G4double GetIntensity(G4int idx) const
G4bool Normalised() const
void SetParticleGun(G4SingleParticleSource *fpg)
G4GeneralParticleSourceMessenger * theMessenger