Geant4
10.03
|
#include <G4NistElementBuilder.hh>
Public Member Functions | |
G4NistElementBuilder (G4int vb) | |
~G4NistElementBuilder () | |
G4Element * | FindElement (G4int Z) const |
G4Element * | FindOrBuildElement (G4int Z, G4bool buildIsotopes=true) |
G4Element * | FindOrBuildElement (const G4String &symb, G4bool buildIsotopes=true) |
void | PrintElement (G4int Z) const |
const std::vector< G4String > & | GetElementNames () const |
G4int | GetZ (const G4String &symb) const |
G4double | GetAtomicMassAmu (const G4String &symb) const |
G4double | GetAtomicMassAmu (G4int Z) const |
G4double | GetIsotopeMass (G4int Z, G4int N) const |
G4double | GetAtomicMass (G4int Z, G4int N) const |
G4double | GetTotalElectronBindingEnergy (G4int Z) const |
G4double | GetIsotopeAbundance (G4int Z, G4int N) const |
G4int | GetNistFirstIsotopeN (G4int Z) const |
G4int | GetNumberOfNistIsotopes (G4int Z) const |
G4int | GetMaxNumElements () const |
void | SetVerbose (G4int) |
Private Member Functions | |
void | Initialise () |
void | AddElement (const G4String &symbol, G4int Z, G4int NumberOfIsotopes, const G4int &N, const G4double &A, const G4double &sigmaA, const G4double &W) |
G4Element * | BuildElement (G4int Z) |
Private Attributes | |
G4String | elmSymbol [maxNumElements] |
G4double | atomicMass [maxNumElements] |
G4double | bindingEnergy [maxNumElements] |
G4int | nIsotopes [maxNumElements] |
G4int | nFirstIsotope [maxNumElements] |
G4int | idxIsotopes [maxNumElements] |
G4int | elmIndex [maxNumElements] |
G4double | massIsotopes [maxAbundance] |
G4double | sigMass [maxAbundance] |
G4double | relAbundance [maxAbundance] |
G4int | index |
G4int | verbose |
std::vector< G4String > | elmNames |
Definition at line 68 of file G4NistElementBuilder.hh.
|
explicit |
Definition at line 65 of file G4NistElementBuilder.cc.
References elmIndex, Initialise(), maxNumElements, nFirstIsotope, nIsotopes, and relAbundance.
G4NistElementBuilder::~G4NistElementBuilder | ( | ) |
Definition at line 77 of file G4NistElementBuilder.cc.
|
private |
Definition at line 221 of file G4NistElementBuilder.cc.
References A(), atomicMass, bindingEnergy, elmSymbol, G4cout, G4endl, idxIsotopes, index, massIsotopes, maxAbundance, maxNumElements, G4InuclParticleNames::name(), nFirstIsotope, nIsotopes, PrintElement(), relAbundance, sigMass, and verbose.
Referenced by Initialise().
Definition at line 140 of file G4NistElementBuilder.cc.
References G4Element::AddIsotope(), atomicMass, elmSymbol, g, G4cout, G4endl, GetAtomicMass(), idxIsotopes, maxNumElements, mole, nFirstIsotope, nIsotopes, relAbundance, G4Element::SetNaturalAbundanceFlag(), and verbose.
Referenced by FindOrBuildElement().
Definition at line 252 of file G4NistElementBuilder.hh.
References elmIndex, G4Element::GetElementTable(), and maxNumElements.
Referenced by G4NistManager::FindElement(), and FindOrBuildElement().
Definition at line 102 of file G4NistElementBuilder.cc.
References BuildElement(), elmIndex, FindElement(), G4Element::GetIndex(), and maxNumElements.
Referenced by G4NistMaterialBuilder::BuildMaterial(), and G4NistManager::FindOrBuildElement().
G4Element * G4NistElementBuilder::FindOrBuildElement | ( | const G4String & | symb, |
G4bool | buildIsotopes = true |
||
) |
Definition at line 116 of file G4NistElementBuilder.cc.
References BuildElement(), elmSymbol, G4Element::GetElementTable(), and maxNumElements.
Definition at line 179 of file G4NistElementBuilder.hh.
References bindingEnergy, idxIsotopes, massIsotopes, maxNumElements, nFirstIsotope, and nIsotopes.
Referenced by BuildElement(), G4NistManager::GetAtomicMass(), and PrintElement().
Definition at line 92 of file G4NistElementBuilder.cc.
References elmSymbol, and maxNumElements.
Referenced by G4NistMaterialBuilder::ConstructNewIdealGasMaterial(), G4NistManager::G4NistManager(), and G4NistManager::GetAtomicMassAmu().
Definition at line 160 of file G4NistElementBuilder.hh.
References atomicMass, and maxNumElements.
|
inline |
Definition at line 231 of file G4NistElementBuilder.hh.
References elmNames.
Referenced by G4NistManager::GetNistElementNames().
Definition at line 204 of file G4NistElementBuilder.hh.
References idxIsotopes, maxNumElements, nFirstIsotope, nIsotopes, and relAbundance.
Referenced by G4LENDModel::create_used_target_map(), G4LENDCrossSection::create_used_target_map(), and G4NistManager::GetIsotopeAbundance().
Definition at line 167 of file G4NistElementBuilder.hh.
References idxIsotopes, massIsotopes, maxNumElements, nFirstIsotope, and nIsotopes.
Referenced by G4NistManager::GetIsotopeMass().
|
inline |
Definition at line 238 of file G4NistElementBuilder.hh.
References maxNumElements.
Definition at line 216 of file G4NistElementBuilder.hh.
References maxNumElements, and nFirstIsotope.
Referenced by G4LENDModel::create_used_target_map(), G4LENDCrossSection::create_used_target_map(), and G4NistManager::GetNistFirstIsotopeN().
Definition at line 223 of file G4NistElementBuilder.hh.
References maxNumElements, and nIsotopes.
Referenced by G4LENDModel::create_used_target_map(), G4LENDCrossSection::create_used_target_map(), and G4NistManager::GetNumberOfNistIsotopes().
Definition at line 195 of file G4NistElementBuilder.hh.
References bindingEnergy, and maxNumElements.
Referenced by G4NistManager::GetTotalElectronBindingEnergy().
Definition at line 82 of file G4NistElementBuilder.cc.
References elmSymbol, and maxNumElements.
Referenced by G4NistMaterialBuilder::AddElementByAtomCount(), G4NistMaterialBuilder::AddElementByWeightFraction(), G4NistMaterialBuilder::ConstructNewIdealGasMaterial(), G4NistMaterialBuilder::ConstructNewMaterial(), G4NistManager::GetZ(), and G4NistManager::PrintElement().
|
private |
Definition at line 281 of file G4NistElementBuilder.cc.
References AddElement(), bindingEnergy, elmNames, elmSymbol, eV, G4cout, G4endl, GeV, HA, index, maxNumElements, NS, and verbose.
Referenced by G4NistElementBuilder().
void G4NistElementBuilder::PrintElement | ( | G4int | Z | ) | const |
Definition at line 187 of file G4NistElementBuilder.cc.
References atomicMass, elmSymbol, G4cout, G4endl, GetAtomicMass(), idxIsotopes, imax, maxNumElements, nFirstIsotope, nIsotopes, and relAbundance.
Referenced by AddElement(), and G4NistManager::PrintElement().
|
inline |
Definition at line 245 of file G4NistElementBuilder.hh.
References verbose.
Referenced by G4NistMaterialBuilder::SetVerbose(), and G4NistManager::SetVerbose().
|
private |
Definition at line 139 of file G4NistElementBuilder.hh.
Referenced by AddElement(), BuildElement(), GetAtomicMassAmu(), and PrintElement().
|
private |
Definition at line 140 of file G4NistElementBuilder.hh.
Referenced by AddElement(), GetAtomicMass(), GetTotalElectronBindingEnergy(), and Initialise().
|
private |
Definition at line 145 of file G4NistElementBuilder.hh.
Referenced by FindElement(), FindOrBuildElement(), and G4NistElementBuilder().
|
private |
Definition at line 154 of file G4NistElementBuilder.hh.
Referenced by GetElementNames(), and Initialise().
|
private |
Definition at line 138 of file G4NistElementBuilder.hh.
Referenced by AddElement(), BuildElement(), FindOrBuildElement(), GetAtomicMassAmu(), GetZ(), Initialise(), and PrintElement().
|
private |
Definition at line 143 of file G4NistElementBuilder.hh.
Referenced by AddElement(), BuildElement(), GetAtomicMass(), GetIsotopeAbundance(), GetIsotopeMass(), and PrintElement().
|
private |
Definition at line 151 of file G4NistElementBuilder.hh.
Referenced by AddElement(), and Initialise().
|
private |
Definition at line 147 of file G4NistElementBuilder.hh.
Referenced by AddElement(), GetAtomicMass(), and GetIsotopeMass().
|
private |
Definition at line 142 of file G4NistElementBuilder.hh.
Referenced by AddElement(), BuildElement(), G4NistElementBuilder(), GetAtomicMass(), GetIsotopeAbundance(), GetIsotopeMass(), GetNistFirstIsotopeN(), and PrintElement().
|
private |
Definition at line 141 of file G4NistElementBuilder.hh.
Referenced by AddElement(), BuildElement(), G4NistElementBuilder(), GetAtomicMass(), GetIsotopeAbundance(), GetIsotopeMass(), GetNumberOfNistIsotopes(), and PrintElement().
|
private |
Definition at line 149 of file G4NistElementBuilder.hh.
Referenced by AddElement(), BuildElement(), G4NistElementBuilder(), GetIsotopeAbundance(), and PrintElement().
|
private |
Definition at line 148 of file G4NistElementBuilder.hh.
Referenced by AddElement().
|
private |
Definition at line 152 of file G4NistElementBuilder.hh.
Referenced by AddElement(), BuildElement(), Initialise(), and SetVerbose().