Geant4  10.03
G4tgbMaterialMgr Class Reference

#include <G4tgbMaterialMgr.hh>

+ Collaboration diagram for G4tgbMaterialMgr:

Public Member Functions

 ~G4tgbMaterialMgr ()
 
void CopyIsotopes ()
 
void CopyElements ()
 
void CopyMaterials ()
 
G4IsotopeFindOrBuildG4Isotope (const G4String &name)
 
G4IsotopeFindBuiltG4Isotope (const G4String &name) const
 
G4tgbIsotopeFindG4tgbIsotope (const G4String &name, G4bool bMustExist=0) const
 
G4ElementFindOrBuildG4Element (const G4String &name, G4bool bMustExist=1)
 
G4ElementFindBuiltG4Element (const G4String &name) const
 
G4tgbElementFindG4tgbElement (const G4String &name, G4bool bMustExist=0) const
 
G4MaterialFindOrBuildG4Material (const G4String &name, G4bool bMustExist=1)
 
G4MaterialFindBuiltG4Material (const G4String &name) const
 
G4tgbMaterialFindG4tgbMaterial (const G4String &name, G4bool bMustExist=0) const
 
const G4msg4isot GetG4IsotopeList () const
 
const G4msg4elem GetG4ElementList () const
 
const G4msg4mate GetG4MaterialList () const
 

Static Public Member Functions

static G4tgbMaterialMgrGetInstance ()
 

Private Member Functions

 G4tgbMaterialMgr ()
 

Private Attributes

G4mstgbisot theG4tgbIsotopes
 
G4mstgbelem theG4tgbElements
 
G4mstgbmate theG4tgbMaterials
 
G4msg4isot theG4Isotopes
 
G4msg4elem theG4Elements
 
G4msg4mate theG4Materials
 

Static Private Attributes

static G4ThreadLocal
G4tgbMaterialMgr
theInstance = 0
 

Detailed Description

Definition at line 66 of file G4tgbMaterialMgr.hh.

Constructor & Destructor Documentation

G4tgbMaterialMgr::~G4tgbMaterialMgr ( )

Definition at line 74 of file G4tgbMaterialMgr.cc.

References theG4tgbElements, theG4tgbIsotopes, theG4tgbMaterials, and theInstance.

G4tgbMaterialMgr::G4tgbMaterialMgr ( )
private

Definition at line 54 of file G4tgbMaterialMgr.cc.

Referenced by GetInstance().

+ Here is the caller graph for this function:

Member Function Documentation

void G4tgbMaterialMgr::CopyElements ( )

Definition at line 120 of file G4tgbMaterialMgr.cc.

References G4tgrMaterialFactory::GetElementList(), G4tgrMaterialFactory::GetInstance(), G4tgbElement::GetName(), and theG4tgbElements.

Referenced by GetInstance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgbMaterialMgr::CopyIsotopes ( )

Definition at line 105 of file G4tgbMaterialMgr.cc.

References G4tgrMaterialFactory::GetInstance(), G4tgrMaterialFactory::GetIsotopeList(), G4tgbIsotope::GetName(), and theG4tgbIsotopes.

Referenced by GetInstance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4tgbMaterialMgr::CopyMaterials ( )

Definition at line 135 of file G4tgbMaterialMgr.cc.

References G4tgrMaterialFactory::GetInstance(), G4tgrMaterialFactory::GetMaterialList(), G4tgbMaterial::GetName(), G4tgrMaterial::GetType(), and theG4tgbMaterials.

Referenced by GetInstance().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Element * G4tgbMaterialMgr::FindBuiltG4Element ( const G4String name) const

Definition at line 325 of file G4tgbMaterialMgr.cc.

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

Referenced by FindOrBuildG4Element().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Isotope * G4tgbMaterialMgr::FindBuiltG4Isotope ( const G4String name) const

Definition at line 196 of file G4tgbMaterialMgr.cc.

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

Referenced by FindOrBuildG4Isotope().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Material * G4tgbMaterialMgr::FindBuiltG4Material ( const G4String name) const

Definition at line 446 of file G4tgbMaterialMgr.cc.

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

Referenced by FindOrBuildG4Material().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgbElement * G4tgbMaterialMgr::FindG4tgbElement ( const G4String name,
G4bool  bMustExist = 0 
) const

Definition at line 347 of file G4tgbMaterialMgr.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4tgrMessenger::GetVerboseLevel(), and theG4tgbElements.

Referenced by FindOrBuildG4Element().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgbIsotope * G4tgbMaterialMgr::FindG4tgbIsotope ( const G4String name,
G4bool  bMustExist = 0 
) const

Definition at line 219 of file G4tgbMaterialMgr.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4tgrMessenger::GetVerboseLevel(), and theG4tgbIsotopes.

Referenced by FindOrBuildG4Isotope().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4tgbMaterial * G4tgbMaterialMgr::FindG4tgbMaterial ( const G4String name,
G4bool  bMustExist = 0 
) const

Definition at line 468 of file G4tgbMaterialMgr.cc.

References FatalException, G4cout, G4endl, G4Exception(), G4tgrMessenger::GetVerboseLevel(), and theG4tgbMaterials.

Referenced by FindOrBuildG4Material().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Element * G4tgbMaterialMgr::FindOrBuildG4Element ( const G4String name,
G4bool  bMustExist = 1 
)

Definition at line 249 of file G4tgbMaterialMgr.cc.

References G4tgbElement::BuildG4ElementFromIsotopes(), G4tgbElement::BuildG4ElementSimple(), FatalException, FindBuiltG4Element(), FindG4tgbElement(), G4NistManager::FindOrBuildElement(), G4cout, G4endl, G4Exception(), G4Element::GetName(), G4tgbElement::GetType(), G4tgrMessenger::GetVerboseLevel(), G4NistManager::Instance(), and theG4Elements.

Referenced by G4tgbMaterialMixtureByWeight::BuildG4Material(), and G4tgbMaterialMixtureByNoAtoms::BuildG4Material().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Isotope * G4tgbMaterialMgr::FindOrBuildG4Isotope ( const G4String name)

Definition at line 161 of file G4tgbMaterialMgr.cc.

References G4tgbIsotope::BuildG4Isotope(), FindBuiltG4Isotope(), FindG4tgbIsotope(), G4cout, G4endl, G4Isotope::GetName(), G4tgrMessenger::GetVerboseLevel(), and theG4Isotopes.

Referenced by G4tgbElement::BuildG4ElementFromIsotopes().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4Material * G4tgbMaterialMgr::FindOrBuildG4Material ( const G4String name,
G4bool  bMustExist = 1 
)
const G4msg4elem G4tgbMaterialMgr::GetG4ElementList ( ) const
inline

Definition at line 112 of file G4tgbMaterialMgr.hh.

References theG4Elements.

Referenced by G4tgbVolumeMgr::DumpSummary().

+ Here is the caller graph for this function:

const G4msg4isot G4tgbMaterialMgr::GetG4IsotopeList ( ) const
inline

Definition at line 111 of file G4tgbMaterialMgr.hh.

References theG4Isotopes.

Referenced by G4tgbVolumeMgr::DumpSummary().

+ Here is the caller graph for this function:

const G4msg4mate G4tgbMaterialMgr::GetG4MaterialList ( ) const
inline

Definition at line 113 of file G4tgbMaterialMgr.hh.

References theG4Materials.

Referenced by G4tgbVolumeMgr::DumpSummary().

+ Here is the caller graph for this function:

G4tgbMaterialMgr * G4tgbMaterialMgr::GetInstance ( void  )
static

Definition at line 60 of file G4tgbMaterialMgr.cc.

References CopyElements(), CopyIsotopes(), CopyMaterials(), G4tgbMaterialMgr(), and theInstance.

Referenced by G4tgbElement::BuildG4ElementFromIsotopes(), G4tgbMaterialMixtureByWeight::BuildG4Material(), G4tgbMaterialMixtureByVolume::BuildG4Material(), G4tgbMaterialMixtureByNoAtoms::BuildG4Material(), G4tgbVolume::ConstructG4LogVol(), G4tgbVolume::ConstructG4PhysVol(), G4tgbVolumeMgr::DumpSummary(), and G4tgbMaterialMixtureByVolume::TransformToFractionsByWeight().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4msg4elem G4tgbMaterialMgr::theG4Elements
private

Definition at line 132 of file G4tgbMaterialMgr.hh.

Referenced by FindBuiltG4Element(), FindOrBuildG4Element(), and GetG4ElementList().

G4msg4isot G4tgbMaterialMgr::theG4Isotopes
private

Definition at line 130 of file G4tgbMaterialMgr.hh.

Referenced by FindBuiltG4Isotope(), FindOrBuildG4Isotope(), and GetG4IsotopeList().

G4msg4mate G4tgbMaterialMgr::theG4Materials
private
G4mstgbelem G4tgbMaterialMgr::theG4tgbElements
private

Definition at line 126 of file G4tgbMaterialMgr.hh.

Referenced by CopyElements(), FindG4tgbElement(), and ~G4tgbMaterialMgr().

G4mstgbisot G4tgbMaterialMgr::theG4tgbIsotopes
private

Definition at line 124 of file G4tgbMaterialMgr.hh.

Referenced by CopyIsotopes(), FindG4tgbIsotope(), and ~G4tgbMaterialMgr().

G4mstgbmate G4tgbMaterialMgr::theG4tgbMaterials
private

Definition at line 128 of file G4tgbMaterialMgr.hh.

Referenced by CopyMaterials(), FindG4tgbMaterial(), and ~G4tgbMaterialMgr().

G4ThreadLocal G4tgbMaterialMgr * G4tgbMaterialMgr::theInstance = 0
staticprivate

Definition at line 122 of file G4tgbMaterialMgr.hh.

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


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