Geant4  10.00.p01
G4tgrMaterialFactory Class Reference

#include <G4tgrMaterialFactory.hh>

+ Collaboration diagram for G4tgrMaterialFactory:

Public Member Functions

 ~G4tgrMaterialFactory ()
 
G4tgrIsotopeAddIsotope (const std::vector< G4String > &wl)
 
G4tgrElementSimpleAddElementSimple (const std::vector< G4String > &wl)
 
G4tgrElementFromIsotopesAddElementFromIsotopes (const std::vector< G4String > &wl)
 
G4tgrMaterialSimpleAddMaterialSimple (const std::vector< G4String > &wl)
 
G4tgrMaterialMixtureAddMaterialMixture (const std::vector< G4String > &wl, const G4String &mixtType)
 
G4tgrIsotopeFindIsotope (const G4String &name) const
 
G4tgrElementFindElement (const G4String &name) const
 
G4tgrMaterialFindMaterial (const G4String &name) const
 
void DumpIsotopeList () const
 
void DumpElementList () const
 
void DumpMaterialList () const
 
const G4mstgrisotGetIsotopeList () const
 
const G4mstgrelemGetElementList () const
 
const G4mstgrmateGetMaterialList () const
 

Static Public Member Functions

static G4tgrMaterialFactoryGetInstance ()
 

Private Member Functions

 G4tgrMaterialFactory ()
 
void ErrorAlreadyExists (const G4String &object, const std::vector< G4String > &wl, const G4bool bNoRepeating=true)
 

Private Attributes

G4mstgrisot theG4tgrIsotopes
 
G4mstgrelem theG4tgrElements
 
G4mstgrmate theG4tgrMaterials
 

Static Private Attributes

static G4ThreadLocal
G4tgrMaterialFactory
theInstance = 0
 

Detailed Description

Definition at line 58 of file G4tgrMaterialFactory.hh.

Constructor & Destructor Documentation

G4tgrMaterialFactory::~G4tgrMaterialFactory ( )
G4tgrMaterialFactory::G4tgrMaterialFactory ( )
private

Definition at line 50 of file G4tgrMaterialFactory.cc.

Referenced by GetInstance().

+ Here is the caller graph for this function:

Member Function Documentation

G4tgrElementFromIsotopes * G4tgrMaterialFactory::AddElementFromIsotopes ( const std::vector< G4String > &  wl)

Definition at line 131 of file G4tgrMaterialFactory.cc.

References ErrorAlreadyExists(), FindElement(), G4tgrElement::GetName(), G4tgrUtils::GetString(), and theG4tgrElements.

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrElementSimple * G4tgrMaterialFactory::AddElementSimple ( const std::vector< G4String > &  wl)

Definition at line 114 of file G4tgrMaterialFactory.cc.

References ErrorAlreadyExists(), FindElement(), G4tgrElement::GetName(), G4tgrUtils::GetString(), and theG4tgrElements.

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrIsotope * G4tgrMaterialFactory::AddIsotope ( const std::vector< G4String > &  wl)

Definition at line 98 of file G4tgrMaterialFactory.cc.

References ErrorAlreadyExists(), FindIsotope(), G4tgrIsotope::GetName(), G4tgrUtils::GetString(), and theG4tgrIsotopes.

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrMaterialMixture * G4tgrMaterialFactory::AddMaterialMixture ( const std::vector< G4String > &  wl,
const G4String mixtType 
)

Definition at line 174 of file G4tgrMaterialFactory.cc.

References ErrorAlreadyExists(), FindMaterial(), G4cout, G4endl, G4tgrMaterial::GetName(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), and theG4tgrMaterials.

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrMaterialSimple * G4tgrMaterialFactory::AddMaterialSimple ( const std::vector< G4String > &  wl)

Definition at line 148 of file G4tgrMaterialFactory.cc.

References ErrorAlreadyExists(), FindMaterial(), G4cout, G4endl, G4tgrMaterial::GetName(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), and theG4tgrMaterials.

Referenced by G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgrMaterialFactory::DumpElementList ( ) const

Definition at line 295 of file G4tgrMaterialFactory.cc.

References G4cout, G4endl, and theG4tgrElements.

Referenced by G4tgrVolumeMgr::DumpSummary(), and FindElement().

+ Here is the caller graph for this function:

void G4tgrMaterialFactory::DumpIsotopeList ( ) const

Definition at line 283 of file G4tgrMaterialFactory.cc.

References G4cout, G4endl, and theG4tgrIsotopes.

Referenced by G4tgrVolumeMgr::DumpSummary().

+ Here is the caller graph for this function:

void G4tgrMaterialFactory::DumpMaterialList ( ) const

Definition at line 307 of file G4tgrMaterialFactory.cc.

References G4cout, G4endl, G4tgrMaterial::GetName(), G4tgrMaterial::GetNumberOfComponents(), G4tgrMaterial::GetType(), and theG4tgrMaterials.

Referenced by G4tgrVolumeMgr::DumpSummary().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgrMaterialFactory::ErrorAlreadyExists ( const G4String object,
const std::vector< G4String > &  wl,
const G4bool  bNoRepeating = true 
)
private

Definition at line 322 of file G4tgrMaterialFactory.cc.

References G4tgrUtils::DumpVS(), FatalException, G4Exception(), and G4tgrMessenger::GetVerboseLevel().

Referenced by AddElementFromIsotopes(), AddElementSimple(), AddIsotope(), AddMaterialMixture(), and AddMaterialSimple().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrElement * G4tgrMaterialFactory::FindElement ( const G4String name) const

Definition at line 231 of file G4tgrMaterialFactory.cc.

References DumpElementList(), G4cout, G4endl, G4tgrMessenger::GetVerboseLevel(), and theG4tgrElements.

Referenced by AddElementFromIsotopes(), and AddElementSimple().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrIsotope * G4tgrMaterialFactory::FindIsotope ( const G4String name) const

Definition at line 201 of file G4tgrMaterialFactory.cc.

References G4cout, G4endl, G4tgrMessenger::GetVerboseLevel(), and theG4tgrIsotopes.

Referenced by AddIsotope().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgrMaterial * G4tgrMaterialFactory::FindMaterial ( const G4String name) const

Definition at line 261 of file G4tgrMaterialFactory.cc.

References G4cout, G4endl, G4tgrMessenger::GetVerboseLevel(), and theG4tgrMaterials.

Referenced by AddMaterialMixture(), AddMaterialSimple(), and G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4mstgrelem& G4tgrMaterialFactory::GetElementList ( ) const
inline

Definition at line 101 of file G4tgrMaterialFactory.hh.

References theG4tgrElements.

Referenced by G4tgbMaterialMgr::CopyElements(), and G4tgrVolumeMgr::DumpSummary().

+ Here is the caller graph for this function:

G4tgrMaterialFactory * G4tgrMaterialFactory::GetInstance ( void  )
static

Definition at line 56 of file G4tgrMaterialFactory.cc.

References G4tgrMaterialFactory(), and theInstance.

Referenced by G4tgbMaterialMgr::CopyElements(), G4tgbMaterialMgr::CopyIsotopes(), G4tgbMaterialMgr::CopyMaterials(), G4tgrVolumeMgr::DumpSummary(), and G4tgrLineProcessor::ProcessLine().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4mstgrisot& G4tgrMaterialFactory::GetIsotopeList ( ) const
inline

Definition at line 100 of file G4tgrMaterialFactory.hh.

References theG4tgrIsotopes.

Referenced by G4tgbMaterialMgr::CopyIsotopes(), and G4tgrVolumeMgr::DumpSummary().

+ Here is the caller graph for this function:

const G4mstgrmate& G4tgrMaterialFactory::GetMaterialList ( ) const
inline

Definition at line 102 of file G4tgrMaterialFactory.hh.

References theG4tgrMaterials.

Referenced by G4tgbMaterialMgr::CopyMaterials(), and G4tgrVolumeMgr::DumpSummary().

+ Here is the caller graph for this function:

Member Data Documentation

G4mstgrelem G4tgrMaterialFactory::theG4tgrElements
private
G4mstgrisot G4tgrMaterialFactory::theG4tgrIsotopes
private
G4mstgrmate G4tgrMaterialFactory::theG4tgrMaterials
private
G4ThreadLocal G4tgrMaterialFactory * G4tgrMaterialFactory::theInstance = 0
staticprivate

Definition at line 114 of file G4tgrMaterialFactory.hh.

Referenced by GetInstance(), and ~G4tgrMaterialFactory().


The documentation for this class was generated from the following files: