| 
    Geant4
    10.01.p01
    
   | 
 
#include <G4GeneralParticleSourceData.hh>
 Collaboration diagram for G4GeneralParticleSourceData:Public Member Functions | |
| void | AddASource (G4double intensity) | 
| void | DeleteASource (G4int idx) | 
| void | ClearSources () | 
| void | SetSourceVerbosity (G4int verb) | 
| void | IntensityNormalise () | 
| G4bool | Normalised () const | 
| G4SingleParticleSource * | GetCurrentSource (G4int idx) | 
| G4SingleParticleSource * | GetCurrentSource () const | 
| G4int | GetSourceVectorSize () const | 
| G4int | GetIntensityVectorSize () const | 
| G4double | GetIntensity (G4int idx) const | 
| G4double | GetSourceProbability (G4int idx) const | 
| void | SetCurrentSourceIntensity (G4double) | 
| void | SetFlatSampling (G4bool fSamp) | 
| void | Lock () | 
| void | Unlock () | 
Static Public Member Functions | |
| static  G4GeneralParticleSourceData *  | Instance () | 
Private Member Functions | |
| G4GeneralParticleSourceData () | |
| ~G4GeneralParticleSourceData () | |
Private Attributes | |
| std::vector < G4SingleParticleSource * >  | sourceVector | 
| std::vector< G4double > | sourceIntensity | 
| std::vector< G4double > | sourceProbability | 
| G4bool | flat_sampling | 
| G4bool | normalised | 
| G4int | currentSourceIdx | 
| G4SingleParticleSource * | currentSource | 
| G4Mutex | mutex | 
Definition at line 63 of file G4GeneralParticleSourceData.hh.
      
  | 
  private | 
Definition at line 67 of file G4GeneralParticleSourceData.cc.
References currentSource, G4MUTEXINIT, mutex, sourceIntensity, sourceProbability, and sourceVector.
      
  | 
  private | 
Definition at line 82 of file G4GeneralParticleSourceData.cc.
References G4MUTEXDESTROY, mutex, and sourceVector.
| void G4GeneralParticleSourceData::AddASource | ( | G4double | intensity | ) | 
Definition at line 146 of file G4GeneralParticleSourceData.cc.
References currentSource, currentSourceIdx, normalised, sourceIntensity, and sourceVector.
Referenced by G4GeneralParticleSource::AddaSource().
 Here is the caller graph for this function:| void G4GeneralParticleSourceData::ClearSources | ( | ) | 
Definition at line 177 of file G4GeneralParticleSourceData.cc.
References currentSource, currentSourceIdx, sourceIntensity, and sourceVector.
Referenced by G4GeneralParticleSource::ClearAll().
 Here is the caller graph for this function:| void G4GeneralParticleSourceData::DeleteASource | ( | G4int | idx | ) | 
Definition at line 155 of file G4GeneralParticleSourceData.cc.
References currentSource, currentSourceIdx, GetCurrentSource(), GetIntensityVectorSize(), normalised, sourceIntensity, and sourceVector.
Referenced by G4GeneralParticleSource::DeleteaSource().
 Here is the call graph for this function:
 Here is the caller graph for this function:| G4SingleParticleSource * G4GeneralParticleSourceData::GetCurrentSource | ( | G4int | idx | ) | 
Definition at line 186 of file G4GeneralParticleSourceData.cc.
References currentSource, currentSourceIdx, and sourceVector.
Referenced by G4GeneralParticleSource::AddaSource(), G4GeneralParticleSource::G4GeneralParticleSource(), G4GeneralParticleSource::GeneratePrimaryVertex(), and G4GeneralParticleSource::SetCurrentSourceto().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 78 of file G4GeneralParticleSourceData.hh.
References currentSource.
Referenced by DeleteASource(), and IntensityNormalise().
 Here is the caller graph for this function:Definition at line 82 of file G4GeneralParticleSourceData.hh.
References sourceIntensity.
Referenced by G4GeneralParticleSource::GetCurrentSourceIntensity(), and G4GeneralParticleSource::ListSource().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 81 of file G4GeneralParticleSourceData.hh.
References sourceIntensity.
Referenced by DeleteASource(), G4GeneralParticleSource::DeleteaSource(), G4GeneralParticleSource::GeneratePrimaryVertex(), G4GeneralParticleSource::ListSource(), and G4GeneralParticleSource::SetCurrentSourceto().
 Here is the caller graph for this function:Definition at line 83 of file G4GeneralParticleSourceData.hh.
References sourceProbability.
Referenced by G4GeneralParticleSource::GeneratePrimaryVertex().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 80 of file G4GeneralParticleSourceData.hh.
References sourceVector.
Referenced by G4GeneralParticleSource::AddaSource(), G4GeneralParticleSource::G4GeneralParticleSource(), and G4GeneralParticleSource::GetNumberofSource().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 91 of file G4GeneralParticleSourceData.cc.
References instance.
Referenced by G4GeneralParticleSource::G4GeneralParticleSource().
 Here is the caller graph for this function:| void G4GeneralParticleSourceData::IntensityNormalise | ( | ) | 
Definition at line 103 of file G4GeneralParticleSourceData.cc.
References flat_sampling, G4SingleParticleSource::GetBiasRndm(), GetCurrentSource(), normalised, G4SPSRandomGenerator::SetIntensityWeight(), sourceIntensity, sourceProbability, and G4INCL::CrossSections::total().
Referenced by G4GeneralParticleSource::IntensityNormalization().
 Here is the call graph for this function:
 Here is the caller graph for this function:| void G4GeneralParticleSourceData::Lock | ( | ) | 
Definition at line 193 of file G4GeneralParticleSourceData.cc.
References G4MUTEXLOCK, and mutex.
Referenced by G4GeneralParticleSource::AddaSource(), G4GeneralParticleSource::GeneratePrimaryVertex(), and G4GeneralParticleSource::SetCurrentSourceIntensity().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 75 of file G4GeneralParticleSourceData.hh.
References normalised.
Referenced by G4GeneralParticleSource::GeneratePrimaryVertex().
 Here is the caller graph for this function:| void G4GeneralParticleSourceData::SetCurrentSourceIntensity | ( | G4double | intensity | ) | 
Definition at line 140 of file G4GeneralParticleSourceData.cc.
References currentSourceIdx, normalised, and sourceIntensity.
Referenced by G4GeneralParticleSource::SetCurrentSourceIntensity().
 Here is the caller graph for this function:
      
  | 
  inline | 
Definition at line 86 of file G4GeneralParticleSourceData.hh.
References flat_sampling.
Referenced by G4GeneralParticleSource::SetFlatSampling().
 Here is the caller graph for this function:| void G4GeneralParticleSourceData::SetSourceVerbosity | ( | G4int | verb | ) | 
| void G4GeneralParticleSourceData::Unlock | ( | ) | 
Definition at line 198 of file G4GeneralParticleSourceData.cc.
References G4MUTEXUNLOCK, and mutex.
Referenced by G4GeneralParticleSource::AddaSource(), G4GeneralParticleSource::GeneratePrimaryVertex(), and G4GeneralParticleSource::SetCurrentSourceIntensity().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 109 of file G4GeneralParticleSourceData.hh.
Referenced by AddASource(), ClearSources(), DeleteASource(), G4GeneralParticleSourceData(), and GetCurrentSource().
      
  | 
  private | 
Definition at line 108 of file G4GeneralParticleSourceData.hh.
Referenced by AddASource(), ClearSources(), DeleteASource(), GetCurrentSource(), and SetCurrentSourceIntensity().
      
  | 
  private | 
Definition at line 105 of file G4GeneralParticleSourceData.hh.
Referenced by IntensityNormalise(), and SetFlatSampling().
      
  | 
  private | 
Definition at line 110 of file G4GeneralParticleSourceData.hh.
Referenced by G4GeneralParticleSourceData(), Lock(), Unlock(), and ~G4GeneralParticleSourceData().
      
  | 
  private | 
Definition at line 106 of file G4GeneralParticleSourceData.hh.
Referenced by AddASource(), DeleteASource(), IntensityNormalise(), Normalised(), and SetCurrentSourceIntensity().
      
  | 
  private | 
Definition at line 102 of file G4GeneralParticleSourceData.hh.
Referenced by AddASource(), ClearSources(), DeleteASource(), G4GeneralParticleSourceData(), GetIntensity(), GetIntensityVectorSize(), IntensityNormalise(), and SetCurrentSourceIntensity().
      
  | 
  private | 
Definition at line 103 of file G4GeneralParticleSourceData.hh.
Referenced by G4GeneralParticleSourceData(), GetSourceProbability(), and IntensityNormalise().
      
  | 
  private | 
Definition at line 101 of file G4GeneralParticleSourceData.hh.
Referenced by AddASource(), ClearSources(), DeleteASource(), G4GeneralParticleSourceData(), GetCurrentSource(), GetSourceVectorSize(), and ~G4GeneralParticleSourceData().