Geant4
10.02.p02
|
#include <G4NistMaterialBuilder.hh>
Private Member Functions | |
void | Initialise () |
void | NistSimpleMaterials () |
void | NistCompoundMaterials () |
void | NistCompoundMaterials2 () |
void | HepAndNuclearMaterials () |
void | SpaceMaterials () |
void | BioChemicalMaterials () |
void | AddMaterial (const G4String &nameMat, G4double dens, G4int Z=0, G4double pot=0.0, G4int ncomp=1, G4State=kStateSolid, G4bool stp=true) |
void | AddGas (const G4String &nameMat, G4double t=NTP_Temperature, G4double p=CLHEP::STP_Pressure) |
void | AddElementByWeightFraction (G4int Z, G4double) |
void | AddElementByAtomCount (G4int Z, G4int) |
void | AddElementByWeightFraction (const G4String &name, G4double) |
void | AddElementByAtomCount (const G4String &name, G4int) |
G4Material * | BuildMaterial (G4int idx) |
void | DumpElm (G4int) const |
void | DumpMix (G4int) const |
Private Attributes | |
G4NistElementBuilder * | elmBuilder |
G4int | verbose |
G4int | nMaterials |
G4int | nComponents |
G4int | nCurrent |
G4int | nElementary |
G4int | nNIST |
G4int | nHEP |
G4int | nSpace |
std::vector< G4String > | names |
std::vector< G4String > | chFormulas |
std::vector< G4double > | densities |
std::vector< G4double > | ionPotentials |
std::vector< G4State > | states |
std::vector< G4double > | fractions |
std::vector< G4bool > | atomCount |
std::vector< G4int > | components |
std::vector< G4int > | indexes |
std::vector< G4int > | elements |
std::vector< G4int > | matIndex |
std::vector< G4bool > | STP |
std::vector< G4int > | idxGas |
std::vector< G4double > | gasTemperature |
std::vector< G4double > | gasPressure |
G4bool | first |
Definition at line 70 of file G4NistMaterialBuilder.hh.
G4NistMaterialBuilder::G4NistMaterialBuilder | ( | G4NistElementBuilder * | eb, |
G4int | verb = 0 |
||
) |
Definition at line 86 of file G4NistMaterialBuilder.cc.
References Initialise().
G4NistMaterialBuilder::~G4NistMaterialBuilder | ( | ) |
Definition at line 99 of file G4NistMaterialBuilder.cc.
Definition at line 694 of file G4NistMaterialBuilder.cc.
References AddElementByWeightFraction(), atomCount, nMaterials, and w.
Referenced by BioChemicalMaterials(), ConstructNewIdealGasMaterial(), ConstructNewMaterial(), HepAndNuclearMaterials(), NistCompoundMaterials(), NistCompoundMaterials2(), and SpaceMaterials().
Definition at line 703 of file G4NistMaterialBuilder.cc.
References AddElementByWeightFraction(), atomCount, elmBuilder, G4NistElementBuilder::GetZ(), nMaterials, and w.
Definition at line 664 of file G4NistMaterialBuilder.cc.
References atomCount, components, elements, fractions, imax, indexes, n, nComponents, nCurrent, and nMaterials.
Referenced by AddElementByAtomCount(), AddElementByWeightFraction(), ConstructNewMaterial(), HepAndNuclearMaterials(), NistCompoundMaterials(), and NistCompoundMaterials2().
|
private |
Definition at line 685 of file G4NistMaterialBuilder.cc.
References AddElementByWeightFraction(), elmBuilder, and G4NistElementBuilder::GetZ().
|
private |
Definition at line 647 of file G4NistMaterialBuilder.cc.
References G4cout, G4endl, gasPressure, gasTemperature, idxGas, names, and nMaterials.
Referenced by ConstructNewIdealGasMaterial(), ConstructNewMaterial(), and HepAndNuclearMaterials().
|
private |
Definition at line 465 of file G4NistMaterialBuilder.cc.
References atomCount, chFormulas, cm3, components, densities, elements, eV, fractions, g, G4cout, G4endl, indexes, ionPotentials, matIndex, names, nComponents, nCurrent, nMaterials, states, STP, and verbose.
Referenced by BioChemicalMaterials(), ConstructNewIdealGasMaterial(), ConstructNewMaterial(), HepAndNuclearMaterials(), NistCompoundMaterials(), NistCompoundMaterials2(), NistSimpleMaterials(), and SpaceMaterials().
|
private |
Definition at line 1938 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), and AddMaterial().
Referenced by Initialise().
|
private |
Definition at line 183 of file G4NistMaterialBuilder.cc.
References G4Material::AddElement(), atomCount, chFormulas, components, densities, elements, elmBuilder, FatalException, G4IonisParamMat::FindMeanExcitationEnergy(), G4NistElementBuilder::FindOrBuildElement(), fractions, G4cout, G4endl, G4Exception(), G4lrint(), gasPressure, gasTemperature, G4Material::GetIndex(), G4Material::GetIonisation(), G4IonisParamMat::GetMeanExcitationEnergy(), idxGas, indexes, ionPotentials, kStateGas, matIndex, names, nMaterials, G4InuclParticleNames::nn, NTP_Temperature, G4Material::SetChemicalFormula(), G4IonisParamMat::SetMeanExcitationEnergy(), states, STP, and verbose.
Referenced by ConstructNewIdealGasMaterial(), ConstructNewMaterial(), and FindOrBuildMaterial().
G4Material * G4NistMaterialBuilder::ConstructNewGasMaterial | ( | const G4String & | name, |
const G4String & | nameDB, | ||
G4double | temp, | ||
G4double | pres, | ||
G4bool | isotopes = true |
||
) |
Definition at line 355 of file G4NistMaterialBuilder.cc.
References FindOrBuildMaterial(), G4cout, G4endl, G4Material::GetDensity(), G4Material::GetPressure(), G4Material::GetState(), G4Material::GetTemperature(), kStateGas, and verbose.
Referenced by G4NistManager::ConstructNewGasMaterial().
G4Material * G4NistMaterialBuilder::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 |
||
) |
Definition at line 402 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddGas(), AddMaterial(), BuildMaterial(), elmBuilder, FindOrBuildMaterial(), G4cout, G4endl, G4NistElementBuilder::GetAtomicMassAmu(), G4NistElementBuilder::GetZ(), kStateGas, nMaterials, and NTP_Temperature.
Referenced by G4NistManager::ConstructNewIdealGasMaterial().
G4Material * G4NistMaterialBuilder::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 |
||
) |
Definition at line 256 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddGas(), AddMaterial(), BuildMaterial(), cm3, elmBuilder, FindOrBuildMaterial(), g, G4cout, G4endl, G4NistElementBuilder::GetZ(), kStateGas, nMaterials, and NTP_Temperature.
Referenced by G4NistManager::ConstructNewMaterial().
G4Material * G4NistMaterialBuilder::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 |
||
) |
Definition at line 306 of file G4NistMaterialBuilder.cc.
References AddElementByWeightFraction(), AddGas(), AddMaterial(), BuildMaterial(), cm3, elmBuilder, FindOrBuildMaterial(), g, G4cout, G4endl, G4NistElementBuilder::GetZ(), kStateGas, nMaterials, and NTP_Temperature.
|
private |
Definition at line 614 of file G4NistMaterialBuilder.cc.
References cm3, densities, eV, g, G4cout, G4endl, ionPotentials, and names.
Referenced by ListNistSimpleMaterials().
|
private |
Definition at line 625 of file G4NistMaterialBuilder.cc.
References chFormulas, cm3, components, densities, elements, eV, fractions, g, G4cout, G4endl, imax, indexes, ionPotentials, and names.
Referenced by ListBioChemicalMaterials(), ListHepMaterials(), ListNistCompoundMaterials(), and ListSpaceMaterials().
G4Material * G4NistMaterialBuilder::FindOrBuildMaterial | ( | const G4String & | name, |
G4bool | isotopes = true , |
||
G4bool | warning = true |
||
) |
Definition at line 104 of file G4NistMaterialBuilder.cc.
References BuildMaterial(), first, G4cout, G4endl, G4MUTEXLOCK, G4MUTEXUNLOCK, G4Material::GetMaterialTable(), matIndex, name, names, nMaterials, and verbose.
Referenced by ConstructNewGasMaterial(), ConstructNewIdealGasMaterial(), ConstructNewMaterial(), G4NistManager::FindOrBuildMaterial(), and FindOrBuildSimpleMaterial().
G4Material * G4NistMaterialBuilder::FindOrBuildSimpleMaterial | ( | G4int | Z, |
G4bool | warning | ||
) |
Definition at line 174 of file G4NistMaterialBuilder.cc.
References FindOrBuildMaterial(), and names.
Referenced by G4NistManager::FindOrBuildSimpleMaterial().
|
inline |
Definition at line 229 of file G4NistMaterialBuilder.hh.
References names.
Referenced by G4NistManager::GetNistMaterialNames().
Definition at line 235 of file G4NistMaterialBuilder.hh.
References ionPotentials, and nMaterials.
Referenced by G4NistManager::GetMeanIonisationEnergy().
Definition at line 243 of file G4NistMaterialBuilder.hh.
References densities, and nMaterials.
Referenced by G4NistManager::GetNominalDensity().
|
private |
Definition at line 1853 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddElementByWeightFraction(), AddGas(), AddMaterial(), chFormulas, cm3, density, g, hep_pascal, kelvin, kStateGas, kStateLiquid, nHEP, and nMaterials.
Referenced by Initialise().
|
private |
Definition at line 715 of file G4NistMaterialBuilder.cc.
References BioChemicalMaterials(), G4cout, G4endl, HepAndNuclearMaterials(), ListMaterials(), NistCompoundMaterials(), NistCompoundMaterials2(), NistSimpleMaterials(), SpaceMaterials(), and verbose.
Referenced by G4NistMaterialBuilder().
void G4NistMaterialBuilder::ListBioChemicalMaterials | ( | ) | const |
Definition at line 601 of file G4NistMaterialBuilder.cc.
References DumpMix(), G4cout, G4endl, nMaterials, and nSpace.
Referenced by ListMaterials().
void G4NistMaterialBuilder::ListHepMaterials | ( | ) | const |
Definition at line 577 of file G4NistMaterialBuilder.cc.
References DumpMix(), G4cout, G4endl, nHEP, and nNIST.
Referenced by ListMaterials().
void G4NistMaterialBuilder::ListMaterials | ( | const G4String & | mnam | ) | const |
Definition at line 530 of file G4NistMaterialBuilder.cc.
References G4cout, G4endl, ListBioChemicalMaterials(), ListHepMaterials(), ListNistCompoundMaterials(), ListNistSimpleMaterials(), and ListSpaceMaterials().
Referenced by Initialise(), and G4NistManager::ListMaterials().
void G4NistMaterialBuilder::ListNistCompoundMaterials | ( | ) | const |
Definition at line 565 of file G4NistMaterialBuilder.cc.
References DumpMix(), G4cout, G4endl, nElementary, and nNIST.
Referenced by ListMaterials().
void G4NistMaterialBuilder::ListNistSimpleMaterials | ( | ) | const |
Definition at line 553 of file G4NistMaterialBuilder.cc.
References DumpElm(), G4cout, G4endl, and nElementary.
Referenced by ListMaterials().
void G4NistMaterialBuilder::ListSpaceMaterials | ( | ) | const |
Definition at line 589 of file G4NistMaterialBuilder.cc.
References DumpMix(), G4cout, G4endl, nHEP, and nSpace.
Referenced by ListMaterials().
|
private |
Definition at line 840 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddElementByWeightFraction(), AddMaterial(), chFormulas, kStateGas, and nMaterials.
Referenced by Initialise().
|
private |
Definition at line 1345 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddElementByWeightFraction(), AddMaterial(), chFormulas, kStateGas, nMaterials, and nNIST.
Referenced by Initialise().
|
private |
Definition at line 732 of file G4NistMaterialBuilder.cc.
References AddMaterial(), kStateGas, nElementary, and nMaterials.
Referenced by Initialise().
void G4NistMaterialBuilder::SetVerbose | ( | G4int | val | ) |
Definition at line 522 of file G4NistMaterialBuilder.cc.
References elmBuilder, G4NistElementBuilder::SetVerbose(), and verbose.
Referenced by G4NistManager::SetVerbose().
|
private |
Definition at line 1914 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddMaterial(), nMaterials, and nSpace.
Referenced by Initialise().
|
private |
Definition at line 210 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByAtomCount(), AddElementByWeightFraction(), AddMaterial(), and BuildMaterial().
|
private |
Definition at line 204 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), DumpMix(), HepAndNuclearMaterials(), NistCompoundMaterials(), and NistCompoundMaterials2().
|
private |
Definition at line 211 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), AddMaterial(), BuildMaterial(), and DumpMix().
|
private |
Definition at line 206 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), DumpElm(), DumpMix(), and GetNominalDensity().
|
private |
Definition at line 213 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), AddMaterial(), BuildMaterial(), and DumpMix().
|
private |
Definition at line 192 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByAtomCount(), AddElementByWeightFraction(), BuildMaterial(), ConstructNewIdealGasMaterial(), ConstructNewMaterial(), and SetVerbose().
|
private |
Definition at line 221 of file G4NistMaterialBuilder.hh.
Referenced by FindOrBuildMaterial().
|
private |
Definition at line 209 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), AddMaterial(), BuildMaterial(), and DumpMix().
|
private |
Definition at line 219 of file G4NistMaterialBuilder.hh.
Referenced by AddGas(), and BuildMaterial().
|
private |
Definition at line 218 of file G4NistMaterialBuilder.hh.
Referenced by AddGas(), and BuildMaterial().
|
private |
Definition at line 217 of file G4NistMaterialBuilder.hh.
Referenced by AddGas(), and BuildMaterial().
|
private |
Definition at line 212 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), AddMaterial(), BuildMaterial(), and DumpMix().
|
private |
Definition at line 207 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), DumpElm(), DumpMix(), and GetMeanIonisationEnergy().
|
private |
Definition at line 214 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), and FindOrBuildMaterial().
|
private |
Definition at line 203 of file G4NistMaterialBuilder.hh.
Referenced by AddGas(), AddMaterial(), BuildMaterial(), DumpElm(), DumpMix(), FindOrBuildMaterial(), FindOrBuildSimpleMaterial(), and GetMaterialNames().
|
private |
Definition at line 196 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), and AddMaterial().
|
private |
Definition at line 197 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), and AddMaterial().
|
private |
Definition at line 198 of file G4NistMaterialBuilder.hh.
Referenced by ListNistCompoundMaterials(), ListNistSimpleMaterials(), and NistSimpleMaterials().
|
private |
Definition at line 200 of file G4NistMaterialBuilder.hh.
Referenced by HepAndNuclearMaterials(), ListHepMaterials(), and ListSpaceMaterials().
|
private |
Definition at line 195 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByAtomCount(), AddElementByWeightFraction(), AddGas(), AddMaterial(), BuildMaterial(), ConstructNewIdealGasMaterial(), ConstructNewMaterial(), FindOrBuildMaterial(), GetMeanIonisationEnergy(), GetNominalDensity(), HepAndNuclearMaterials(), ListBioChemicalMaterials(), NistCompoundMaterials(), NistCompoundMaterials2(), NistSimpleMaterials(), and SpaceMaterials().
|
private |
Definition at line 199 of file G4NistMaterialBuilder.hh.
Referenced by ListHepMaterials(), ListNistCompoundMaterials(), and NistCompoundMaterials2().
|
private |
Definition at line 201 of file G4NistMaterialBuilder.hh.
Referenced by ListBioChemicalMaterials(), ListSpaceMaterials(), and SpaceMaterials().
|
private |
Definition at line 208 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), and BuildMaterial().
|
private |
Definition at line 215 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), and BuildMaterial().
|
private |
Definition at line 194 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), ConstructNewGasMaterial(), FindOrBuildMaterial(), Initialise(), and SetVerbose().