68 multiple_vertex(false) ,flat_sampling(false),
69 normalised(false),currentSourceIdx(0)
86 for ( std::vector<G4SingleParticleSource*>::const_iterator it =
sourceVector.begin() ;
108 std::vector <G4double> sourceNormalizedIntensity;
109 sourceNormalizedIntensity.clear();
177 for ( std::vector<G4SingleParticleSource*>::iterator it =
sourceVector.begin();
186 for ( std::vector<G4SingleParticleSource*>::iterator it =
sourceVector.begin();
188 (*it)->SetVerbosity(vl);
G4double total(Particle const *const p1, Particle const *const p2)
~G4GeneralParticleSourceData()
#define G4MUTEXDESTROY(mutex)
void SetCurrentSourceIntensity(G4double)
std::vector< G4SingleParticleSource * > sourceVector
void AddASource(G4double intensity)
G4GeneralParticleSourceData()
G4SPSRandomGenerator * GetBiasRndm() const
static G4GeneralParticleSourceData * Instance()
void DeleteASource(G4int idx)
std::vector< G4double > sourceIntensity
#define G4MUTEX_INITIALIZER
G4SingleParticleSource * GetCurrentSource() const
#define G4MUTEXINIT(mutex)
#define G4MUTEXUNLOCK(mutex)
G4SingleParticleSource * currentSource
static MCTruthManager * instance
void IntensityNormalise()
#define G4MUTEXLOCK(mutex)
G4int GetIntensityVectorSize() const
void SetIntensityWeight(G4double weight)
std::vector< G4double > sourceProbability
void SetVerbosityAllSources(G4int vl)