Geant4  10.01.p01
G4ParticleHPLegendreStore Class Reference

#include <G4ParticleHPLegendreStore.hh>

+ Collaboration diagram for G4ParticleHPLegendreStore:

Public Member Functions

 G4ParticleHPLegendreStore (G4int n)
 
 ~G4ParticleHPLegendreStore ()
 
void Init (G4int i, G4double e, G4int n)
 
void SetNPoints (G4int n)
 
void SetEnergy (G4int i, G4double energy)
 
void SetTemperature (G4int i, G4double temp)
 
void SetCoeff (G4int i, G4int l, G4double coeff)
 
void SetCoeff (G4int i, G4ParticleHPLegendreTable *theTable)
 
G4double GetCoeff (G4int i, G4int l)
 
G4double GetEnergy (G4int i)
 
G4double GetTemperature (G4int i)
 
G4int GetNumberOfPoly (G4int i)
 
G4double SampleDiscreteTwoBody (G4double anEnergy)
 
G4double SampleElastic (G4double anEnergy)
 
G4double Sample (G4double energy)
 
G4double SampleMax (G4double energy)
 
G4double Integrate (G4int k, G4double costh)
 
void InitInterpolation (std::istream &aDataFile)
 
void SetManager (G4InterpolationManager &aManager)
 

Private Attributes

G4int nEnergy
 
G4ParticleHPLegendreTabletheCoeff
 
G4InterpolationManager theManager
 

Detailed Description

Definition at line 37 of file G4ParticleHPLegendreStore.hh.

Constructor & Destructor Documentation

G4ParticleHPLegendreStore::G4ParticleHPLegendreStore ( G4int  n)
inline

Definition at line 41 of file G4ParticleHPLegendreStore.hh.

References n, nEnergy, and theCoeff.

G4ParticleHPLegendreStore::~G4ParticleHPLegendreStore ( )
inline

Definition at line 47 of file G4ParticleHPLegendreStore.hh.

References theCoeff.

Member Function Documentation

G4double G4ParticleHPLegendreStore::GetCoeff ( G4int  i,
G4int  l 
)
inline

Definition at line 68 of file G4ParticleHPLegendreStore.hh.

References G4ParticleHPLegendreTable::GetCoeff(), and theCoeff.

Referenced by SampleDiscreteTwoBody(), SampleElastic(), and SampleMax().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleHPLegendreStore::GetEnergy ( G4int  i)
inline

Definition at line 69 of file G4ParticleHPLegendreStore.hh.

References G4ParticleHPLegendreTable::GetEnergy(), and theCoeff.

Referenced by Sample(), SampleDiscreteTwoBody(), SampleElastic(), and SampleMax().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4ParticleHPLegendreStore::GetNumberOfPoly ( G4int  i)
inline

Definition at line 71 of file G4ParticleHPLegendreStore.hh.

References G4ParticleHPLegendreTable::GetNumberOfPoly(), and theCoeff.

+ Here is the call graph for this function:

G4double G4ParticleHPLegendreStore::GetTemperature ( G4int  i)
inline

Definition at line 70 of file G4ParticleHPLegendreStore.hh.

References G4ParticleHPLegendreTable::GetTemperature(), and theCoeff.

+ Here is the call graph for this function:

void G4ParticleHPLegendreStore::Init ( G4int  i,
G4double  e,
G4int  n 
)
inline

Definition at line 52 of file G4ParticleHPLegendreStore.hh.

References G4ParticleHPLegendreTable::Init(), and theCoeff.

Referenced by G4ParticleHPElasticFS::Init(), G4ParticleHPAngular::Init(), and G4ParticleHPContAngularPar::Sample().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleHPLegendreStore::InitInterpolation ( std::istream &  aDataFile)
inline

Definition at line 79 of file G4ParticleHPLegendreStore.hh.

References G4InterpolationManager::Init(), and theManager.

Referenced by G4ParticleHPElasticFS::Init(), and G4ParticleHPAngular::Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleHPLegendreStore::Integrate ( G4int  k,
G4double  costh 
)

Definition at line 303 of file G4ParticleHPLegendreStore.cc.

References G4ParticleHPLegendreTable::GetCoeff(), G4ParticleHPLegendreTable::GetNumberOfPoly(), G4ParticleHPFastLegendre::Integrate(), and theCoeff.

Referenced by Sample().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleHPLegendreStore::Sample ( G4double  energy)
G4double G4ParticleHPLegendreStore::SampleDiscreteTwoBody ( G4double  anEnergy)

Definition at line 44 of file G4ParticleHPLegendreStore.cc.

References G4ParticleHPFastLegendre::Evaluate(), G4UniformRand, GetCoeff(), GetEnergy(), G4ParticleHPLegendreTable::GetEnergy(), G4ParticleHPLegendreTable::GetNumberOfPoly(), G4InterpolationManager::GetScheme(), G4ParticleHPInterpolator::Interpolate(), G4INCL::Math::max(), nEnergy, theCoeff, and theManager.

Referenced by G4ParticleHPDiscreteTwoBody::Sample().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleHPLegendreStore::SampleElastic ( G4double  anEnergy)

Definition at line 189 of file G4ParticleHPLegendreStore.cc.

References G4ParticleHPFastLegendre::Evaluate(), G4UniformRand, GetCoeff(), GetEnergy(), G4ParticleHPLegendreTable::GetEnergy(), G4ParticleHPLegendreTable::GetNumberOfPoly(), G4InterpolationManager::GetScheme(), G4ParticleHPInterpolator::Interpolate(), G4INCL::Math::max(), nEnergy, theCoeff, and theManager.

Referenced by G4ParticleHPElasticFS::ApplyYourself().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleHPLegendreStore::SampleMax ( G4double  energy)

Definition at line 119 of file G4ParticleHPLegendreStore.cc.

References G4ParticleHPFastLegendre::Evaluate(), G4UniformRand, GetCoeff(), GetEnergy(), G4ParticleHPLegendreTable::GetEnergy(), G4ParticleHPLegendreTable::GetNumberOfPoly(), G4InterpolationManager::GetScheme(), G4ParticleHPInterpolator::Interpolate(), G4INCL::Math::max(), nEnergy, theCoeff, and theManager.

Referenced by G4ParticleHPPhotonDist::GetPhotons(), G4ParticleHPContAngularPar::Sample(), and G4ParticleHPAngular::SampleAndUpdate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleHPLegendreStore::SetCoeff ( G4int  i,
G4int  l,
G4double  coeff 
)
inline

Definition at line 59 of file G4ParticleHPLegendreStore.hh.

References G4ParticleHPLegendreTable::SetCoeff(), and theCoeff.

Referenced by G4ParticleHPPhotonDist::GetPhotons(), G4ParticleHPElasticFS::Init(), G4ParticleHPAngular::Init(), G4ParticleHPContAngularPar::Sample(), and G4ParticleHPDiscreteTwoBody::Sample().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleHPLegendreStore::SetCoeff ( G4int  i,
G4ParticleHPLegendreTable theTable 
)
inline

Definition at line 60 of file G4ParticleHPLegendreStore.hh.

References nEnergy, and theCoeff.

void G4ParticleHPLegendreStore::SetEnergy ( G4int  i,
G4double  energy 
)
inline

Definition at line 57 of file G4ParticleHPLegendreStore.hh.

References G4ParticleHPLegendreTable::SetEnergy(), and theCoeff.

+ Here is the call graph for this function:

void G4ParticleHPLegendreStore::SetManager ( G4InterpolationManager aManager)
inline

Definition at line 84 of file G4ParticleHPLegendreStore.hh.

References theManager.

Referenced by G4ParticleHPContAngularPar::Sample(), and G4ParticleHPDiscreteTwoBody::Sample().

+ Here is the caller graph for this function:

void G4ParticleHPLegendreStore::SetNPoints ( G4int  n)
inline

Definition at line 56 of file G4ParticleHPLegendreStore.hh.

References n, and nEnergy.

void G4ParticleHPLegendreStore::SetTemperature ( G4int  i,
G4double  temp 
)
inline

Definition at line 58 of file G4ParticleHPLegendreStore.hh.

References G4ParticleHPLegendreTable::SetTemperature(), and theCoeff.

Referenced by G4ParticleHPElasticFS::Init(), and G4ParticleHPAngular::Init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4ParticleHPLegendreStore::nEnergy
private
G4InterpolationManager G4ParticleHPLegendreStore::theManager
private

The documentation for this class was generated from the following files: