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);
G4GeneralParticleSourceData()
G4SingleParticleSource * currentSource
#define G4MUTEXINIT(mutex)
Andrea Dotti Feb 2015 Important: This is a shared class between threads.
G4SingleParticleSource * GetCurrentSource() const
#define G4MUTEX_INITIALIZER
void SetCurrentSourceIntensity(G4double)
void AddASource(G4double intensity)
G4SPSRandomGenerator * GetBiasRndm() const
void DeleteASource(G4int idx)
std::vector< G4double > sourceProbability
G4int GetIntensityVectorSize() const
~G4GeneralParticleSourceData()
void IntensityNormalise()
G4double total(Particle const *const p1, Particle const *const p2)
void SetIntensityWeight(G4double weight)
static MCTruthManager * instance
std::vector< G4double > sourceIntensity
#define G4MUTEXDESTROY(mutex)
std::vector< G4SingleParticleSource * > sourceVector
static G4GeneralParticleSourceData * Instance()
void SetVerbosityAllSources(G4int vl)