65 G4cout <<
" G4tgbMaterialMixtureByWeight::BuildG4Material() -"
66 <<
" Constructing new G4Material:"
84 if(compElem !=
nullptr)
91 if(compMate !=
nullptr)
100 "is not an element nor a material !";
101 G4Exception(
"G4tgbMaterialMixtureByWeight::BuildG4Material()",
110 G4cout <<
" Constructing new G4Material by weight: " << *mate <<
G4endl;
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
G4double GetTemperature() const
void AddElement(G4Element *elm, G4int nAtoms)
void AddMaterial(G4Material *material, G4double fraction)
G4Element * FindOrBuildG4Element(const G4String &name, G4bool bMustExist=true)
G4Material * FindOrBuildG4Material(const G4String &name, G4bool bMustExist=true)
static G4tgbMaterialMgr * GetInstance()
~G4tgbMaterialMixtureByWeight()
G4Material * BuildG4Material()
G4tgbMaterialMixtureByWeight()
virtual G4double GetFraction(G4int i) const
virtual const G4String & GetComponent(G4int i) const
G4tgrMaterial * theTgrMate
const G4String & GetName() const
G4double GetDensity() const
G4int GetNumberOfComponents() const
G4double GetPressure() const
G4double GetTemperature() const
const G4State & GetState() const
static G4int GetVerboseLevel()