Geant4
10.00.p03
|
#include <G4NistMaterialBuilder.hh>
Public Member Functions | |
G4NistMaterialBuilder (G4NistElementBuilder *, G4int verb=0) | |
~G4NistMaterialBuilder () | |
G4Material * | FindOrBuildMaterial (const G4String &name, G4bool isotopes=true, G4bool warning=true) |
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=CLHEP::STP_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=CLHEP::STP_Temperature, G4double pressure=CLHEP::STP_Pressure) |
G4Material * | ConstructNewGasMaterial (const G4String &name, const G4String &nameDB, 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=CLHEP::STP_Temperature, G4double pressure=CLHEP::STP_Pressure) |
void | SetVerbose (G4int val) |
void | ListMaterials (const G4String &) const |
void | ListNistSimpleMaterials () const |
void | ListNistCompoundMaterials () const |
void | ListHepMaterials () const |
void | ListSpaceMaterials () const |
void | ListBioChemicalMaterials () const |
const std::vector< G4String > & | GetMaterialNames () const |
G4double | GetMeanIonisationEnergy (G4int index) const |
Private Member Functions | |
void | Initialise () |
void | NistSimpleMaterials () |
void | NistCompoundMaterials () |
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=CLHEP::STP_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 69 of file G4NistMaterialBuilder.hh.
G4NistMaterialBuilder::G4NistMaterialBuilder | ( | G4NistElementBuilder * | eb, |
G4int | verb = 0 |
||
) |
Definition at line 82 of file G4NistMaterialBuilder.cc.
References Initialise().
G4NistMaterialBuilder::~G4NistMaterialBuilder | ( | ) |
Definition at line 95 of file G4NistMaterialBuilder.cc.
Definition at line 678 of file G4NistMaterialBuilder.cc.
References AddElementByWeightFraction(), atomCount, and nMaterials.
Referenced by BioChemicalMaterials(), ConstructNewIdealGasMaterial(), ConstructNewMaterial(), HepAndNuclearMaterials(), NistCompoundMaterials(), and SpaceMaterials().
Definition at line 687 of file G4NistMaterialBuilder.cc.
References AddElementByWeightFraction(), atomCount, elmBuilder, G4NistElementBuilder::GetZ(), and nMaterials.
Definition at line 648 of file G4NistMaterialBuilder.cc.
References atomCount, components, elements, fractions, imax, indexes, n, nComponents, nCurrent, and nMaterials.
Referenced by AddElementByAtomCount(), AddElementByWeightFraction(), ConstructNewMaterial(), HepAndNuclearMaterials(), and NistCompoundMaterials().
|
private |
Definition at line 669 of file G4NistMaterialBuilder.cc.
References AddElementByWeightFraction(), elmBuilder, and G4NistElementBuilder::GetZ().
|
private |
Definition at line 624 of file G4NistMaterialBuilder.cc.
References G4cout, G4endl, gasPressure, gasTemperature, idxGas, names, and nMaterials.
Referenced by ConstructNewIdealGasMaterial(), ConstructNewMaterial(), and HepAndNuclearMaterials().
|
private |
Definition at line 442 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(), NistSimpleMaterials(), and SpaceMaterials().
|
private |
Definition at line 1917 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), and AddMaterial().
Referenced by Initialise().
|
private |
Definition at line 162 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, 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 333 of file G4NistMaterialBuilder.cc.
References FindOrBuildMaterial(), G4cout, G4endl, G4Material::GetDensity(), G4Material::GetState(), 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 = CLHEP::STP_Temperature , |
||
G4double | pressure = CLHEP::STP_Pressure |
||
) |
Definition at line 379 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddGas(), AddMaterial(), BuildMaterial(), elmBuilder, FindOrBuildMaterial(), G4cout, G4endl, G4NistElementBuilder::GetAtomicMassAmu(), G4NistElementBuilder::GetZ(), kStateGas, and nMaterials.
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 = CLHEP::STP_Temperature , |
||
G4double | pressure = CLHEP::STP_Pressure |
||
) |
Definition at line 234 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddGas(), AddMaterial(), BuildMaterial(), cm3, elmBuilder, FindOrBuildMaterial(), g, G4cout, G4endl, G4NistElementBuilder::GetZ(), kStateGas, and nMaterials.
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 = CLHEP::STP_Temperature , |
||
G4double | pressure = CLHEP::STP_Pressure |
||
) |
Definition at line 284 of file G4NistMaterialBuilder.cc.
References AddElementByWeightFraction(), AddGas(), AddMaterial(), BuildMaterial(), cm3, elmBuilder, FindOrBuildMaterial(), g, G4cout, G4endl, G4NistElementBuilder::GetZ(), kStateGas, and nMaterials.
|
private |
Definition at line 591 of file G4NistMaterialBuilder.cc.
References cm3, densities, eV, g, G4cout, G4endl, ionPotentials, and names.
Referenced by ListNistSimpleMaterials().
|
private |
Definition at line 602 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 100 of file G4NistMaterialBuilder.cc.
References BuildMaterial(), first, G4cout, G4endl, G4Material::GetMaterialTable(), matIndex, name, names, nMaterials, and verbose.
Referenced by ConstructNewGasMaterial(), ConstructNewIdealGasMaterial(), ConstructNewMaterial(), and G4NistManager::FindOrBuildMaterial().
|
inline |
Definition at line 218 of file G4NistMaterialBuilder.hh.
References names.
Referenced by G4NistManager::GetNistMaterialNames().
Definition at line 224 of file G4NistMaterialBuilder.hh.
References ionPotentials, and nMaterials.
Referenced by G4NistManager::GetMeanIonisationEnergy().
|
private |
Definition at line 1833 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 699 of file G4NistMaterialBuilder.cc.
References BioChemicalMaterials(), G4cout, G4endl, HepAndNuclearMaterials(), ListMaterials(), NistCompoundMaterials(), NistSimpleMaterials(), SpaceMaterials(), and verbose.
Referenced by G4NistMaterialBuilder().
void G4NistMaterialBuilder::ListBioChemicalMaterials | ( | ) | const |
Definition at line 578 of file G4NistMaterialBuilder.cc.
References DumpMix(), G4cout, G4endl, nMaterials, and nSpace.
Referenced by ListMaterials().
void G4NistMaterialBuilder::ListHepMaterials | ( | ) | const |
Definition at line 554 of file G4NistMaterialBuilder.cc.
References DumpMix(), G4cout, G4endl, nHEP, and nNIST.
Referenced by ListMaterials().
void G4NistMaterialBuilder::ListMaterials | ( | const G4String & | mnam | ) | const |
Definition at line 507 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 542 of file G4NistMaterialBuilder.cc.
References DumpMix(), G4cout, G4endl, nElementary, and nNIST.
Referenced by ListMaterials().
void G4NistMaterialBuilder::ListNistSimpleMaterials | ( | ) | const |
Definition at line 530 of file G4NistMaterialBuilder.cc.
References DumpElm(), G4cout, G4endl, and nElementary.
Referenced by ListMaterials().
void G4NistMaterialBuilder::ListSpaceMaterials | ( | ) | const |
Definition at line 566 of file G4NistMaterialBuilder.cc.
References DumpMix(), G4cout, G4endl, nHEP, and nSpace.
Referenced by ListMaterials().
|
private |
Definition at line 823 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddElementByWeightFraction(), AddMaterial(), chFormulas, kStateGas, nMaterials, and nNIST.
Referenced by Initialise().
|
private |
Definition at line 715 of file G4NistMaterialBuilder.cc.
References AddMaterial(), kStateGas, nElementary, and nMaterials.
Referenced by Initialise().
void G4NistMaterialBuilder::SetVerbose | ( | G4int | val | ) |
Definition at line 499 of file G4NistMaterialBuilder.cc.
References elmBuilder, G4NistElementBuilder::SetVerbose(), and verbose.
Referenced by G4NistManager::SetVerbose().
|
private |
Definition at line 1893 of file G4NistMaterialBuilder.cc.
References AddElementByAtomCount(), AddMaterial(), nMaterials, and nSpace.
Referenced by Initialise().
|
private |
Definition at line 202 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByAtomCount(), AddElementByWeightFraction(), AddMaterial(), and BuildMaterial().
|
private |
Definition at line 196 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), DumpMix(), HepAndNuclearMaterials(), and NistCompoundMaterials().
|
private |
Definition at line 203 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), AddMaterial(), BuildMaterial(), and DumpMix().
|
private |
Definition at line 198 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), DumpElm(), and DumpMix().
|
private |
Definition at line 205 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), AddMaterial(), BuildMaterial(), and DumpMix().
|
private |
Definition at line 184 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByAtomCount(), AddElementByWeightFraction(), BuildMaterial(), ConstructNewIdealGasMaterial(), ConstructNewMaterial(), and SetVerbose().
|
private |
Definition at line 213 of file G4NistMaterialBuilder.hh.
Referenced by FindOrBuildMaterial().
|
private |
Definition at line 201 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), AddMaterial(), BuildMaterial(), and DumpMix().
|
private |
Definition at line 211 of file G4NistMaterialBuilder.hh.
Referenced by AddGas(), and BuildMaterial().
|
private |
Definition at line 210 of file G4NistMaterialBuilder.hh.
Referenced by AddGas(), and BuildMaterial().
|
private |
Definition at line 209 of file G4NistMaterialBuilder.hh.
Referenced by AddGas(), and BuildMaterial().
|
private |
Definition at line 204 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), AddMaterial(), BuildMaterial(), and DumpMix().
|
private |
Definition at line 199 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), DumpElm(), DumpMix(), and GetMeanIonisationEnergy().
|
private |
Definition at line 206 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), and FindOrBuildMaterial().
|
private |
Definition at line 195 of file G4NistMaterialBuilder.hh.
Referenced by AddGas(), AddMaterial(), BuildMaterial(), DumpElm(), DumpMix(), FindOrBuildMaterial(), and GetMaterialNames().
|
private |
Definition at line 188 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), and AddMaterial().
|
private |
Definition at line 189 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByWeightFraction(), and AddMaterial().
|
private |
Definition at line 190 of file G4NistMaterialBuilder.hh.
Referenced by ListNistCompoundMaterials(), ListNistSimpleMaterials(), and NistSimpleMaterials().
|
private |
Definition at line 192 of file G4NistMaterialBuilder.hh.
Referenced by HepAndNuclearMaterials(), ListHepMaterials(), and ListSpaceMaterials().
|
private |
Definition at line 187 of file G4NistMaterialBuilder.hh.
Referenced by AddElementByAtomCount(), AddElementByWeightFraction(), AddGas(), AddMaterial(), BuildMaterial(), ConstructNewIdealGasMaterial(), ConstructNewMaterial(), FindOrBuildMaterial(), GetMeanIonisationEnergy(), HepAndNuclearMaterials(), ListBioChemicalMaterials(), NistCompoundMaterials(), NistSimpleMaterials(), and SpaceMaterials().
|
private |
Definition at line 191 of file G4NistMaterialBuilder.hh.
Referenced by ListHepMaterials(), ListNistCompoundMaterials(), and NistCompoundMaterials().
|
private |
Definition at line 193 of file G4NistMaterialBuilder.hh.
Referenced by ListBioChemicalMaterials(), ListSpaceMaterials(), and SpaceMaterials().
|
private |
Definition at line 200 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), and BuildMaterial().
|
private |
Definition at line 207 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), and BuildMaterial().
|
private |
Definition at line 186 of file G4NistMaterialBuilder.hh.
Referenced by AddMaterial(), BuildMaterial(), ConstructNewGasMaterial(), FindOrBuildMaterial(), Initialise(), and SetVerbose().