Geant4-11
|
#include <G4GSPWACorrections.hh>
Data Structures | |
struct | DataPerMaterial |
Public Member Functions | |
G4GSPWACorrections (G4bool iselectron=true) | |
void | GetPWACorrectionFactors (G4double logekin, G4double beta2, G4int matindx, G4double &corToScr, G4double &corToQ1, G4double &corToG2PerG1) |
void | Initialise () |
~G4GSPWACorrections () | |
Private Member Functions | |
void | ClearDataPerElement () |
void | ClearDataPerMaterial () |
void | InitDataMaterial (const G4Material *) |
void | InitDataPerElement () |
void | InitDataPerMaterials () |
void | LoadDataElement (const G4Element *) |
Private Attributes | |
std::vector< DataPerMaterial * > | fDataPerElement |
std::vector< DataPerMaterial * > | fDataPerMaterial |
G4double | fInvDelBeta2 |
G4double | fInvLogDelEkin |
G4bool | fIsElectron |
G4double | fLogMinEkin |
G4double | fMaxEkin |
G4double | fMinBeta2 |
Static Private Attributes | |
static const std::string | gElemSymbols [] |
static constexpr G4double | gMaxBeta2 = 0.9999 |
static constexpr G4int | gMaxZet = 98 |
static constexpr G4double | gMidEkin = 100.*CLHEP::keV |
static constexpr G4double | gMinEkin = 1.*CLHEP::keV |
static constexpr G4int | gNumBeta2 = 16 |
static constexpr G4int | gNumEkin = 31 |
Definition at line 61 of file G4GSPWACorrections.hh.
G4GSPWACorrections::G4GSPWACorrections | ( | G4bool | iselectron = true | ) |
Definition at line 64 of file G4GSPWACorrections.cc.
References CLHEP::electron_mass_c2, fInvDelBeta2, fInvLogDelEkin, fLogMinEkin, fMaxEkin, fMinBeta2, G4Log(), gMaxBeta2, gMidEkin, gMinEkin, gNumBeta2, and gNumEkin.
G4GSPWACorrections::~G4GSPWACorrections | ( | ) |
Definition at line 75 of file G4GSPWACorrections.cc.
References ClearDataPerElement(), and ClearDataPerMaterial().
|
private |
Definition at line 345 of file G4GSPWACorrections.cc.
References fDataPerElement.
Referenced by ~G4GSPWACorrections().
|
private |
Definition at line 358 of file G4GSPWACorrections.cc.
References fDataPerMaterial.
Referenced by Initialise(), and ~G4GSPWACorrections().
void G4GSPWACorrections::GetPWACorrectionFactors | ( | G4double | logekin, |
G4double | beta2, | ||
G4int | matindx, | ||
G4double & | corToScr, | ||
G4double & | corToQ1, | ||
G4double & | corToG2PerG1 | ||
) |
Definition at line 81 of file G4GSPWACorrections.cc.
References G4GSPWACorrections::DataPerMaterial::fCorFirstMoment, G4GSPWACorrections::DataPerMaterial::fCorScreening, G4GSPWACorrections::DataPerMaterial::fCorSecondMoment, fDataPerMaterial, fInvDelBeta2, fInvLogDelEkin, fLogMinEkin, fMinBeta2, gMaxBeta2, gNumBeta2, and gNumEkin.
Referenced by G4GoudsmitSaundersonMscModel::CrossSectionPerVolume(), G4GoudsmitSaundersonMscModel::GetTransportMeanFreePath(), and G4GoudsmitSaundersonMscModel::GetTransportMeanFreePathOnly().
|
private |
Definition at line 220 of file G4GSPWACorrections.cc.
References CLHEP::cm, CLHEP::cm3, CLHEP::electron_mass_c2, elem, G4GSPWACorrections::DataPerMaterial::fCorFirstMoment, G4GSPWACorrections::DataPerMaterial::fCorScreening, G4GSPWACorrections::DataPerMaterial::fCorSecondMoment, fDataPerElement, fDataPerMaterial, CLHEP::fine_structure_const, fInvDelBeta2, fInvLogDelEkin, fLogMinEkin, fMinBeta2, CLHEP::g, G4Exp(), G4Log(), G4lrint(), G4Material::GetDensity(), G4Material::GetElementVector(), G4Material::GetIndex(), G4Material::GetNumberOfElements(), G4Material::GetTotNbOfAtomsPerVolume(), G4Material::GetVecNbOfAtomsPerVolume(), gMaxZet, gMidEkin, gNumBeta2, gNumEkin, and CLHEP::MeV.
Referenced by InitDataPerMaterials().
|
private |
Definition at line 121 of file G4GSPWACorrections.cc.
References elem, fDataPerElement, G4lrint(), G4Material::GetElementVector(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), gMaxZet, G4MaterialCutsCouple::IsUsed(), and LoadDataElement().
Referenced by Initialise().
|
private |
Definition at line 153 of file G4GSPWACorrections.cc.
References fDataPerMaterial, G4Material::GetIndex(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4Material::GetNumberOfMaterials(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), InitDataMaterial(), and G4MaterialCutsCouple::IsUsed().
Referenced by Initialise().
void G4GSPWACorrections::Initialise | ( | ) |
Definition at line 111 of file G4GSPWACorrections.cc.
References ClearDataPerMaterial(), InitDataPerElement(), and InitDataPerMaterials().
Referenced by G4GoudsmitSaundersonMscModel::Initialise().
|
private |
Definition at line 176 of file G4GSPWACorrections.cc.
References elem, FatalException, G4GSPWACorrections::DataPerMaterial::fCorFirstMoment, G4GSPWACorrections::DataPerMaterial::fCorScreening, G4GSPWACorrections::DataPerMaterial::fCorSecondMoment, fDataPerElement, fIsElectron, test::fname, G4Exception(), gElemSymbols, gMaxZet, and gNumEkin.
Referenced by InitDataPerElement().
|
private |
Definition at line 110 of file G4GSPWACorrections.hh.
Referenced by ClearDataPerElement(), InitDataMaterial(), InitDataPerElement(), and LoadDataElement().
|
private |
Definition at line 111 of file G4GSPWACorrections.hh.
Referenced by ClearDataPerMaterial(), GetPWACorrectionFactors(), InitDataMaterial(), and InitDataPerMaterials().
|
private |
Definition at line 106 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections(), GetPWACorrectionFactors(), and InitDataMaterial().
|
private |
Definition at line 104 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections(), GetPWACorrectionFactors(), and InitDataMaterial().
|
private |
Definition at line 94 of file G4GSPWACorrections.hh.
Referenced by LoadDataElement().
|
private |
Definition at line 103 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections(), GetPWACorrectionFactors(), and InitDataMaterial().
|
private |
Definition at line 102 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections().
|
private |
Definition at line 105 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections(), GetPWACorrectionFactors(), and InitDataMaterial().
|
staticprivate |
Definition at line 108 of file G4GSPWACorrections.hh.
Referenced by LoadDataElement().
|
staticconstexprprivate |
Definition at line 100 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections(), and GetPWACorrectionFactors().
|
staticconstexprprivate |
Definition at line 95 of file G4GSPWACorrections.hh.
Referenced by InitDataMaterial(), InitDataPerElement(), and LoadDataElement().
|
staticconstexprprivate |
Definition at line 99 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections(), and InitDataMaterial().
|
staticconstexprprivate |
Definition at line 98 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections().
|
staticconstexprprivate |
Definition at line 97 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections(), GetPWACorrectionFactors(), and InitDataMaterial().
|
staticconstexprprivate |
Definition at line 96 of file G4GSPWACorrections.hh.
Referenced by G4GSPWACorrections(), GetPWACorrectionFactors(), InitDataMaterial(), and LoadDataElement().