#include <G4NistManager.hh>
|
| ~G4NistManager () |
|
G4Element * | GetElement (size_t index) |
|
G4Element * | FindOrBuildElement (G4int Z, G4bool isotopes=true) |
|
G4Element * | FindOrBuildElement (const G4String &symb, G4bool isotopes=true) |
|
size_t | GetNumberOfElements () 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 |
|
G4int | GetNistFirstIsotopeN (G4int Z) const |
|
G4int | GetNumberOfNistIsotopes (G4int Z) const |
|
G4double | GetIsotopeAbundance (G4int Z, G4int N) const |
|
void | PrintElement (G4int Z) |
|
void | PrintElement (const G4String &) |
|
void | PrintG4Element (const G4String &) |
|
const std::vector< G4String > & | GetNistElementNames () const |
|
G4double | GetMeanIonisationEnergy (G4int Z) const |
|
G4double | GetNominalDensity (G4int Z) const |
|
G4Material * | GetMaterial (size_t index) |
|
G4Material * | FindOrBuildMaterial (const G4String &name, G4bool isotopes=true, G4bool warning=false) |
|
G4Material * | FindOrBuildSimpleMaterial (G4int Z, G4bool warning=false) |
|
G4Material * | BuildMaterialWithNewDensity (const G4String &name, const G4String &basename, G4double density=0.0, G4double temp=NTP_Temperature, G4double pres=CLHEP::STP_Pressure) |
|
G4Material * | ConstructNewMaterial (const G4String &name, const std::vector< G4String > &elm, const std::vector< G4int > &nbAtoms, G4double dens, G4bool isotopes=true, G4State state=kStateSolid, G4double temp=NTP_Temperature, G4double pressure=CLHEP::STP_Pressure) |
|
G4Material * | ConstructNewMaterial (const G4String &name, const std::vector< G4String > &elm, const std::vector< G4double > &weight, G4double dens, G4bool isotopes=true, G4State state=kStateSolid, G4double temp=NTP_Temperature, G4double pressure=CLHEP::STP_Pressure) |
|
G4Material * | ConstructNewGasMaterial (const G4String &name, const G4String &nameNist, G4double temp, G4double pres, G4bool isotopes=true) |
|
G4Material * | ConstructNewIdealGasMaterial (const G4String &name, const std::vector< G4String > &elm, const std::vector< G4int > &nbAtoms, G4bool isotopes=true, G4double temp=NTP_Temperature, G4double pressure=CLHEP::STP_Pressure) |
|
size_t | GetNumberOfMaterials () |
|
G4int | GetVerbose () |
|
void | SetVerbose (G4int) |
|
void | PrintG4Material (const G4String &) |
|
void | ListMaterials (const G4String &) |
|
const std::vector< G4String > & | GetNistMaterialNames () const |
|
G4double | GetZ13 (G4double Z) |
|
G4double | GetZ13 (G4int Z) |
|
G4double | GetA27 (G4int Z) |
|
G4double | GetLOGZ (G4int Z) |
|
Definition at line 82 of file G4NistManager.hh.
◆ ~G4NistManager()
G4NistManager::~G4NistManager |
( |
| ) |
|
Definition at line 79 of file G4NistManager.cc.
83 size_t nmat = theMaterialTable->size();
85 for(i=0; i<nmat; i++) {
86 if((*theMaterialTable)[i]) {
delete (*theMaterialTable)[i]; }
90 size_t nelm = theElementTable->size();
91 for(i=0; i<nelm; i++) {
92 if((*theElementTable)[i]) {
delete (*theElementTable)[i]; }
96 size_t niso = theIsotopeTable->size();
97 for(i=0; i<niso; i++) {
98 if((*theIsotopeTable)[i]) {
delete (*theIsotopeTable)[i]; }
G4NistMaterialBuilder * matBuilder
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
static const G4IsotopeTable * GetIsotopeTable()
std::vector< G4Isotope * > G4IsotopeTable
G4NistElementBuilder * elmBuilder
G4NistMessenger * messenger
std::vector< G4Element * > G4ElementTable
static G4ElementTable * GetElementTable()
◆ G4NistManager()
G4NistManager::G4NistManager |
( |
| ) |
|
|
private |
Definition at line 196 of file G4NistManager.cc.
200 "Attempt to instantiate G4NistManager in worker thread");
214 for(
G4int j=1; j<101; ++j) {
217 LOGAZ[j] = std::log(A);
static G4Pow * GetInstance()
G4NistMaterialBuilder * matBuilder
G4double GetAtomicMassAmu(const G4String &symb) const
double A(double temperature)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4NistElementBuilder * elmBuilder
G4NistMessenger * messenger
◆ BuildMaterialWithNewDensity()
Definition at line 110 of file G4NistManager.cc.
118 G4cout <<
"G4NistManager::BuildMaterialWithNewDensity ERROR: " <<
G4endl;
119 G4cout <<
" New material <" << name <<
"> cannot be built because material" 120 <<
" with the same name already exist" <<
G4endl;
121 G4Exception(
"G4NistManager::BuildMaterialWithNewDensity()",
"mat101",
127 G4cout <<
"G4NistManager::BuildMaterialWithNewDensity ERROR: " <<
G4endl;
128 G4cout <<
" New material <" << name <<
"> cannot be built because " <<
G4endl;
129 G4cout <<
" base material <" << basename <<
"> does not exist" <<
G4endl;
130 G4Exception(
"G4NistManager::BuildMaterialWithNewDensity()",
"mat102",
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=false)
G4double GetDensity() const
G4GLOB_DLL std::ostream G4cout
G4double GetPressure() const
G4double GetTemperature() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
◆ ConstructNewGasMaterial()
Definition at line 507 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
G4Material * ConstructNewGasMaterial(const G4String &name, const G4String &nameDB, G4double temp, G4double pres, G4bool isotopes=true)
◆ ConstructNewIdealGasMaterial()
Definition at line 519 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
G4Material * ConstructNewIdealGasMaterial(const G4String &name, const std::vector< G4String > &elm, const std::vector< G4int > &nbAtoms, G4bool isotopes=true, G4double temp=NTP_Temperature, G4double pressure=CLHEP::STP_Pressure)
◆ ConstructNewMaterial() [1/2]
Definition at line 475 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
G4Material * ConstructNewMaterial(const G4String &name, const std::vector< G4String > &elm, const std::vector< G4int > &nbAtoms, G4double dens, G4bool isotopes=true, G4State state=kStateSolid, G4double temp=NTP_Temperature, G4double pressure=CLHEP::STP_Pressure)
◆ ConstructNewMaterial() [2/2]
Definition at line 492 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
G4Material * ConstructNewMaterial(const G4String &name, const std::vector< G4String > &elm, const std::vector< G4int > &nbAtoms, G4double dens, G4bool isotopes=true, G4State state=kStateSolid, G4double temp=NTP_Temperature, G4double pressure=CLHEP::STP_Pressure)
◆ FindOrBuildElement() [1/2]
Definition at line 319 of file G4NistManager.hh.
G4NistElementBuilder * elmBuilder
G4Element * FindOrBuildElement(G4int Z, G4bool buildIsotopes=true)
◆ FindOrBuildElement() [2/2]
Definition at line 327 of file G4NistManager.hh.
G4NistElementBuilder * elmBuilder
G4Element * FindOrBuildElement(G4int Z, G4bool buildIsotopes=true)
◆ FindOrBuildMaterial()
Definition at line 458 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
G4Material * FindOrBuildMaterial(const G4String &name, G4bool isotopes=true, G4bool warning=true)
◆ FindOrBuildSimpleMaterial()
Definition at line 468 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
G4Material * FindOrBuildSimpleMaterial(G4int Z, G4bool warning)
◆ GetA27()
◆ GetAtomicMass()
Definition at line 372 of file G4NistManager.hh.
G4NistElementBuilder * elmBuilder
G4double GetAtomicMass(G4int Z, G4int N) const
◆ GetAtomicMassAmu() [1/2]
Definition at line 349 of file G4NistManager.hh.
G4double GetAtomicMassAmu(const G4String &symb) const
G4NistElementBuilder * elmBuilder
◆ GetAtomicMassAmu() [2/2]
Definition at line 356 of file G4NistManager.hh.
G4double GetAtomicMassAmu(const G4String &symb) const
G4NistElementBuilder * elmBuilder
◆ GetElement()
G4Element * G4NistManager::GetElement |
( |
size_t |
index | ) |
|
|
inline |
Definition at line 308 of file G4NistManager.hh.
312 if(index < theElementTable->size()) { elm = (*theElementTable)[
index]; }
std::vector< G4Element * > G4ElementTable
static G4ElementTable * GetElementTable()
◆ GetIsotopeAbundance()
Definition at line 388 of file G4NistManager.hh.
G4double GetIsotopeAbundance(G4int Z, G4int N) const
G4NistElementBuilder * elmBuilder
◆ GetIsotopeMass()
Definition at line 364 of file G4NistManager.hh.
G4NistElementBuilder * elmBuilder
G4double GetIsotopeMass(G4int Z, G4int N) const
◆ GetLOGZ()
◆ GetMaterial()
G4Material * G4NistManager::GetMaterial |
( |
size_t |
index | ) |
|
|
inline |
Definition at line 440 of file G4NistManager.hh.
444 if(index < theMaterialTable->size()) { mat = (*theMaterialTable)[
index]; }
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
◆ GetMeanIonisationEnergy()
Definition at line 419 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
G4double GetMeanIonisationEnergy(G4int index) const
◆ GetNistElementNames()
const std::vector< G4String > & G4NistManager::GetNistElementNames |
( |
| ) |
const |
|
inline |
Definition at line 412 of file G4NistManager.hh.
const std::vector< G4String > & GetElementNames() const
G4NistElementBuilder * elmBuilder
◆ GetNistFirstIsotopeN()
G4int G4NistManager::GetNistFirstIsotopeN |
( |
G4int |
Z | ) |
const |
|
inline |
Definition at line 396 of file G4NistManager.hh.
G4NistElementBuilder * elmBuilder
G4int GetNistFirstIsotopeN(G4int Z) const
◆ GetNistMaterialNames()
const std::vector< G4String > & G4NistManager::GetNistMaterialNames |
( |
| ) |
const |
|
inline |
Definition at line 541 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
const std::vector< G4String > & GetMaterialNames() const
◆ GetNominalDensity()
Definition at line 426 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
G4double GetNominalDensity(G4int index) const
◆ GetNumberOfElements()
size_t G4NistManager::GetNumberOfElements |
( |
| ) |
const |
|
inline |
◆ GetNumberOfMaterials()
size_t G4NistManager::GetNumberOfMaterials |
( |
| ) |
|
|
inline |
◆ GetNumberOfNistIsotopes()
G4int G4NistManager::GetNumberOfNistIsotopes |
( |
G4int |
Z | ) |
const |
|
inline |
Definition at line 404 of file G4NistManager.hh.
G4NistElementBuilder * elmBuilder
G4int GetNumberOfNistIsotopes(G4int Z) const
◆ GetTotalElectronBindingEnergy()
G4double G4NistManager::GetTotalElectronBindingEnergy |
( |
G4int |
Z | ) |
const |
|
inline |
Definition at line 380 of file G4NistManager.hh.
G4double GetTotalElectronBindingEnergy(G4int Z) const
G4NistElementBuilder * elmBuilder
◆ GetVerbose()
G4int G4NistManager::GetVerbose |
( |
| ) |
|
|
inline |
◆ GetZ()
Definition at line 342 of file G4NistManager.hh.
G4NistElementBuilder * elmBuilder
G4int GetZ(const G4String &symb) const
◆ GetZ13() [1/2]
Definition at line 548 of file G4NistManager.hh.
double A(double temperature)
G4double A13(G4double A) const
◆ GetZ13() [2/2]
◆ Instance()
◆ ListMaterials()
void G4NistManager::ListMaterials |
( |
const G4String & |
list | ) |
|
|
inline |
Definition at line 533 of file G4NistManager.hh.
G4NistMaterialBuilder * matBuilder
void ListMaterials(const G4String &) const
◆ PrintElement() [1/2]
void G4NistManager::PrintElement |
( |
G4int |
Z | ) |
|
|
inline |
Definition at line 433 of file G4NistManager.hh.
void PrintElement(G4int Z) const
G4NistElementBuilder * elmBuilder
◆ PrintElement() [2/2]
void G4NistManager::PrintElement |
( |
const G4String & |
symbol | ) |
|
Definition at line 149 of file G4NistManager.cc.
void PrintElement(G4int Z) const
G4NistElementBuilder * elmBuilder
G4int GetZ(const G4String &symb) const
◆ PrintG4Element()
void G4NistManager::PrintG4Element |
( |
const G4String & |
name | ) |
|
Definition at line 157 of file G4NistManager.cc.
160 size_t nelm = theElementTable->size();
161 for(
size_t i=0; i<nelm; i++) {
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
std::vector< G4Element * > G4ElementTable
static G4ElementTable * GetElementTable()
◆ PrintG4Material()
void G4NistManager::PrintG4Material |
( |
const G4String & |
name | ) |
|
Definition at line 171 of file G4NistManager.cc.
174 size_t nmat = theMaterialTable->size();
175 for(
size_t i=0; i<nmat; i++) {
static G4MaterialTable * GetMaterialTable()
std::vector< G4Material * > G4MaterialTable
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
◆ SetVerbose()
void G4NistManager::SetVerbose |
( |
G4int |
val | ) |
|
Definition at line 185 of file G4NistManager.cc.
G4NistMaterialBuilder * matBuilder
void SetVerbose(G4int val)
G4NistElementBuilder * elmBuilder
◆ elements
std::vector<G4Element*> G4NistManager::elements |
|
private |
◆ elmBuilder
◆ g4pow
G4Pow* G4NistManager::g4pow |
|
private |
◆ instance
◆ LOGAZ
◆ matBuilder
◆ materials
◆ messenger
◆ nElements
size_t G4NistManager::nElements |
|
private |
◆ nMaterials
size_t G4NistManager::nMaterials |
|
private |
◆ POWERA27
◆ verbose
G4int G4NistManager::verbose |
|
private |
The documentation for this class was generated from the following files: