Geant4
10.02.p02
|
#include <G4GoudsmitSaundersonTable.hh>
Public Member Functions | |
G4GoudsmitSaundersonTable () | |
~G4GoudsmitSaundersonTable () | |
void | Initialise () |
G4double | SampleCosTheta (G4double, G4double, G4double, G4double, G4double, G4double) |
G4double | SampleCosThetaII (G4double, G4double, G4double, G4double, G4double, G4double) |
G4double | GetScreeningParam (G4double) |
void | Sampling (G4double, G4double, G4double, G4double &, G4double &) |
G4double | GetMoliereBc (G4int matindx) |
G4double | GetMoliereXc2 (G4int matindx) |
Private Member Functions | |
G4GoudsmitSaundersonTable & | operator= (const G4GoudsmitSaundersonTable &right) |
G4GoudsmitSaundersonTable (const G4GoudsmitSaundersonTable &) | |
void | LoadMSCData () |
void | LoadMSCDataII () |
void | InitMoliereMSCParams () |
Static Private Attributes | |
static G4bool | fgIsInitialised = FALSE |
static const G4int | fgNumLambdas = 76 |
size of grids of some parameters More... | |
static const G4int | fgNumLamG1II = 22 |
number of s/{e}G_{1} $-values More... | |
static const G4double | fgLambdaValues [] |
number of s/{e} $-values; size = fgNumLambdas = 76 More... | |
static std::vector< G4double > * | fgMoliereBc = 0 |
the grid of b_lambda_{c} $ and {e} $) under the screened Rutherford cross section approximation. More... | |
static std::vector< G4double > * | fgMoliereXc2 = 0 |
Definition at line 72 of file G4GoudsmitSaundersonTable.hh.
|
inline |
Definition at line 76 of file G4GoudsmitSaundersonTable.hh.
G4GoudsmitSaundersonTable::~G4GoudsmitSaundersonTable | ( | ) |
Definition at line 299 of file G4GoudsmitSaundersonTable.cc.
References FALSE, fgIsInitialised, fgMoliereBc, and fgMoliereXc2.
|
private |
Definition at line 104 of file G4GoudsmitSaundersonTable.hh.
References fgMoliereBc.
Referenced by G4GoudsmitSaundersonMscModel::GetTransportMeanFreePath(), and G4GoudsmitSaundersonMscModel::GetTransportMeanFreePathOnly().
Definition at line 105 of file G4GoudsmitSaundersonTable.hh.
References fgMoliereXc2.
Referenced by G4GoudsmitSaundersonMscModel::GetTransportMeanFreePath(), and G4GoudsmitSaundersonMscModel::GetTransportMeanFreePathOnly().
Definition at line 563 of file G4GoudsmitSaundersonTable.cc.
References G4Exp(), and G4Log().
Referenced by G4GoudsmitSaundersonMscModel::GetTransportMeanFreePath().
void G4GoudsmitSaundersonTable::Initialise | ( | ) |
Definition at line 288 of file G4GoudsmitSaundersonTable.cc.
References fgIsInitialised, InitMoliereMSCParams(), LoadMSCData(), LoadMSCDataII(), and TRUE.
Referenced by G4GoudsmitSaundersonMscModel::Initialise().
|
private |
Definition at line 747 of file G4GoudsmitSaundersonTable.cc.
References cm, cm3, density, fgMoliereBc, fgMoliereXc2, g, G4Exp(), G4Log(), G4Material::GetDensity(), G4Material::GetElementVector(), G4Material::GetFractionVector(), G4Material::GetIndex(), G4Material::GetMaterialTable(), G4Material::GetNumberOfElements(), and MeV.
Referenced by Initialise().
|
private |
Definition at line 575 of file G4GoudsmitSaundersonTable.cc.
References FatalException, fgNumLambdas, and G4Exception().
Referenced by Initialise().
|
private |
Definition at line 661 of file G4GoudsmitSaundersonTable.cc.
References FatalException, fgNumLambdas, fgNumLamG1II, and G4Exception().
Referenced by Initialise().
|
private |
G4double G4GoudsmitSaundersonTable::SampleCosTheta | ( | G4double | lambdavalue, |
G4double | lamG1value, | ||
G4double | screeningparam, | ||
G4double | rndm1, | ||
G4double | rndm2, | ||
G4double | rndm3 | ||
) |
Definition at line 314 of file G4GoudsmitSaundersonTable.cc.
References a, fgLambdaValues, and G4Log().
Referenced by Sampling().
G4double G4GoudsmitSaundersonTable::SampleCosThetaII | ( | G4double | lambdavalue, |
G4double | lamG1value, | ||
G4double | screeningparam, | ||
G4double | rndm1, | ||
G4double | rndm2, | ||
G4double | rndm3 | ||
) |
Definition at line 371 of file G4GoudsmitSaundersonTable.cc.
References a, fgLambdaValues, fgNumLamG1II, and G4Log().
Referenced by Sampling().
void G4GoudsmitSaundersonTable::Sampling | ( | G4double | lambdavalue, |
G4double | lamG1value, | ||
G4double | scrPar, | ||
G4double & | cost, | ||
G4double & | sint | ||
) |
**** let it izotropic if we are above the grid i.e. true path length is long
Definition at line 435 of file G4GoudsmitSaundersonTable.cc.
References fgNumLamG1II, G4Exp(), G4UniformRand, G4INCL::Math::max(), SampleCosTheta(), SampleCosThetaII(), and twopi.
Referenced by G4GoudsmitSaundersonMscModel::SampleMSC().
Definition at line 178 of file G4GoudsmitSaundersonTable.hh.
Referenced by Initialise(), and ~G4GoudsmitSaundersonTable().
|
staticprivate |
number of s/{e} $-values; size = fgNumLambdas = 76
Definition at line 135 of file G4GoudsmitSaundersonTable.hh.
Referenced by SampleCosTheta(), and SampleCosThetaII().
|
staticprivate |
the grid of b_lambda_{c} $ and {e} $) under the screened Rutherford cross section approximation.
(These are used in G4GoudsmitSaundersonMscModel if fgIsUsePWATotalXsecData is FALSE.)
Definition at line 173 of file G4GoudsmitSaundersonTable.hh.
Referenced by GetMoliereBc(), InitMoliereMSCParams(), and ~G4GoudsmitSaundersonTable().
|
staticprivate |
Definition at line 174 of file G4GoudsmitSaundersonTable.hh.
Referenced by GetMoliereXc2(), InitMoliereMSCParams(), and ~G4GoudsmitSaundersonTable().
|
staticprivate |
size of grids of some parameters
Definition at line 125 of file G4GoudsmitSaundersonTable.hh.
Referenced by LoadMSCData(), and LoadMSCDataII().
|
staticprivate |
number of s/{e}G_{1} $-values
Definition at line 127 of file G4GoudsmitSaundersonTable.hh.
Referenced by LoadMSCDataII(), SampleCosThetaII(), and Sampling().