|
Geant4-11
|
#include <G4tgrMaterialFactory.hh>
Public Member Functions | |
| G4tgrElementFromIsotopes * | AddElementFromIsotopes (const std::vector< G4String > &wl) |
| G4tgrElementSimple * | AddElementSimple (const std::vector< G4String > &wl) |
| G4tgrIsotope * | AddIsotope (const std::vector< G4String > &wl) |
| G4tgrMaterialMixture * | AddMaterialMixture (const std::vector< G4String > &wl, const G4String &mixtType) |
| G4tgrMaterialSimple * | AddMaterialSimple (const std::vector< G4String > &wl) |
| void | DumpElementList () const |
| void | DumpIsotopeList () const |
| void | DumpMaterialList () const |
| G4tgrElement * | FindElement (const G4String &name) const |
| G4tgrIsotope * | FindIsotope (const G4String &name) const |
| G4tgrMaterial * | FindMaterial (const G4String &name) const |
| const G4mstgrelem & | GetElementList () const |
| const G4mstgrisot & | GetIsotopeList () const |
| const G4mstgrmate & | GetMaterialList () const |
| ~G4tgrMaterialFactory () | |
Static Public Member Functions | |
| static G4tgrMaterialFactory * | GetInstance () |
Private Member Functions | |
| void | ErrorAlreadyExists (const G4String &object, const std::vector< G4String > &wl, const G4bool bNoRepeating=true) |
| G4tgrMaterialFactory () | |
Private Attributes | |
| G4mstgrelem | theG4tgrElements |
| G4mstgrisot | theG4tgrIsotopes |
| G4mstgrmate | theG4tgrMaterials |
Static Private Attributes | |
| static G4ThreadLocal G4tgrMaterialFactory * | theInstance = nullptr |
Definition at line 52 of file G4tgrMaterialFactory.hh.
| G4tgrMaterialFactory::~G4tgrMaterialFactory | ( | ) |
Definition at line 58 of file G4tgrMaterialFactory.cc.
References theG4tgrElements, theG4tgrIsotopes, theG4tgrMaterials, and theInstance.
|
private |
| G4tgrElementFromIsotopes * G4tgrMaterialFactory::AddElementFromIsotopes | ( | const std::vector< G4String > & | wl | ) |
Definition at line 116 of file G4tgrMaterialFactory.cc.
References elem, ErrorAlreadyExists(), FindElement(), G4tgrUtils::GetString(), and theG4tgrElements.
Referenced by G4tgrLineProcessor::ProcessLine().
| G4tgrElementSimple * G4tgrMaterialFactory::AddElementSimple | ( | const std::vector< G4String > & | wl | ) |
Definition at line 100 of file G4tgrMaterialFactory.cc.
References elem, ErrorAlreadyExists(), FindElement(), G4tgrUtils::GetString(), and theG4tgrElements.
Referenced by G4tgrLineProcessor::ProcessLine().
| G4tgrIsotope * G4tgrMaterialFactory::AddIsotope | ( | const std::vector< G4String > & | wl | ) |
Definition at line 84 of file G4tgrMaterialFactory.cc.
References ErrorAlreadyExists(), FindIsotope(), G4tgrIsotope::GetName(), G4tgrUtils::GetString(), and theG4tgrIsotopes.
Referenced by G4tgrLineProcessor::ProcessLine().
| G4tgrMaterialMixture * G4tgrMaterialFactory::AddMaterialMixture | ( | const std::vector< G4String > & | wl, |
| const G4String & | mixtType | ||
| ) |
Definition at line 157 of file G4tgrMaterialFactory.cc.
References ErrorAlreadyExists(), FindMaterial(), G4cout, G4endl, G4tgrMaterial::GetName(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), and theG4tgrMaterials.
Referenced by G4tgrLineProcessor::ProcessLine().
| G4tgrMaterialSimple * G4tgrMaterialFactory::AddMaterialSimple | ( | const std::vector< G4String > & | wl | ) |
Definition at line 132 of file G4tgrMaterialFactory.cc.
References ErrorAlreadyExists(), FindMaterial(), G4cout, G4endl, G4tgrMaterial::GetName(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), and theG4tgrMaterials.
Referenced by G4tgrLineProcessor::ProcessLine().
| void G4tgrMaterialFactory::DumpElementList | ( | ) | const |
Definition at line 273 of file G4tgrMaterialFactory.cc.
References G4cout, G4endl, and theG4tgrElements.
Referenced by G4tgrVolumeMgr::DumpSummary(), and FindElement().
| void G4tgrMaterialFactory::DumpIsotopeList | ( | ) | const |
Definition at line 262 of file G4tgrMaterialFactory.cc.
References G4cout, G4endl, and theG4tgrIsotopes.
Referenced by G4tgrVolumeMgr::DumpSummary().
| void G4tgrMaterialFactory::DumpMaterialList | ( | ) | const |
Definition at line 284 of file G4tgrMaterialFactory.cc.
References G4cout, G4endl, G4tgrMaterial::GetName(), G4tgrMaterial::GetNumberOfComponents(), G4tgrMaterial::GetType(), and theG4tgrMaterials.
Referenced by G4tgrVolumeMgr::DumpSummary().
|
private |
Definition at line 297 of file G4tgrMaterialFactory.cc.
References G4tgrUtils::DumpVS(), FatalException, G4Exception(), and G4tgrMessenger::GetVerboseLevel().
Referenced by AddElementFromIsotopes(), AddElementSimple(), AddIsotope(), AddMaterialMixture(), and AddMaterialSimple().
| G4tgrElement * G4tgrMaterialFactory::FindElement | ( | const G4String & | name | ) | const |
Definition at line 212 of file G4tgrMaterialFactory.cc.
References DumpElementList(), G4cout, G4endl, G4tgrMessenger::GetVerboseLevel(), G4InuclParticleNames::name(), and theG4tgrElements.
Referenced by AddElementFromIsotopes(), and AddElementSimple().
| G4tgrIsotope * G4tgrMaterialFactory::FindIsotope | ( | const G4String & | name | ) | const |
Definition at line 183 of file G4tgrMaterialFactory.cc.
References G4cout, G4endl, G4tgrMessenger::GetVerboseLevel(), G4InuclParticleNames::name(), and theG4tgrIsotopes.
Referenced by AddIsotope().
| G4tgrMaterial * G4tgrMaterialFactory::FindMaterial | ( | const G4String & | name | ) | const |
Definition at line 241 of file G4tgrMaterialFactory.cc.
References G4cout, G4endl, G4tgrMessenger::GetVerboseLevel(), G4InuclParticleNames::name(), and theG4tgrMaterials.
Referenced by AddMaterialMixture(), AddMaterialSimple(), and G4tgrLineProcessor::ProcessLine().
|
inline |
Definition at line 95 of file G4tgrMaterialFactory.hh.
References theG4tgrElements.
Referenced by G4tgbMaterialMgr::CopyElements(), and G4tgrVolumeMgr::DumpSummary().
|
static |
Definition at line 48 of file G4tgrMaterialFactory.cc.
References G4tgrMaterialFactory(), and theInstance.
Referenced by G4tgbMaterialMgr::CopyElements(), G4tgbMaterialMgr::CopyIsotopes(), G4tgbMaterialMgr::CopyMaterials(), G4tgrVolumeMgr::DumpSummary(), and G4tgrLineProcessor::ProcessLine().
|
inline |
Definition at line 94 of file G4tgrMaterialFactory.hh.
References theG4tgrIsotopes.
Referenced by G4tgbMaterialMgr::CopyIsotopes(), and G4tgrVolumeMgr::DumpSummary().
|
inline |
Definition at line 96 of file G4tgrMaterialFactory.hh.
References theG4tgrMaterials.
Referenced by G4tgbMaterialMgr::CopyMaterials(), and G4tgrVolumeMgr::DumpSummary().
|
private |
Definition at line 113 of file G4tgrMaterialFactory.hh.
Referenced by AddElementFromIsotopes(), AddElementSimple(), DumpElementList(), FindElement(), GetElementList(), and ~G4tgrMaterialFactory().
|
private |
Definition at line 111 of file G4tgrMaterialFactory.hh.
Referenced by AddIsotope(), DumpIsotopeList(), FindIsotope(), GetIsotopeList(), and ~G4tgrMaterialFactory().
|
private |
Definition at line 115 of file G4tgrMaterialFactory.hh.
Referenced by AddMaterialMixture(), AddMaterialSimple(), DumpMaterialList(), FindMaterial(), GetMaterialList(), and ~G4tgrMaterialFactory().
|
staticprivate |
Definition at line 109 of file G4tgrMaterialFactory.hh.
Referenced by GetInstance(), and ~G4tgrMaterialFactory().