75 G4cout <<
" G4tgbMaterialMixtureByWeight::BuildG4Material() -"
76 <<
" Constructing new G4Material:"
111 +
"\n" +
"is not an element nor a material !";
112 G4Exception(
"G4tgbMaterialMixtureByWeight::BuildG4Material()",
121 G4cout <<
" Constructing new G4Material by weight: " << *mate <<
G4endl;
G4double GetDensity() const
void AddMaterial(G4Material *material, G4double fraction)
G4tgbMaterialMixtureByWeight()
static constexpr double g
G4Element * FindOrBuildG4Element(const G4String &name, G4bool bMustExist=1)
G4double GetPressure() const
G4Material * BuildG4Material()
const G4String & GetName() const
G4GLOB_DLL std::ostream G4cout
G4tgrMaterial * theTgrMate
static G4int GetVerboseLevel()
G4Material * FindOrBuildG4Material(const G4String &name, G4bool bMustExist=1)
G4int GetNumberOfComponents() const
virtual const G4String & GetComponent(G4int i) const
static constexpr double kelvin
static constexpr double cm3
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double GetTemperature() const
void AddElement(G4Element *element, G4int nAtoms)
G4double GetTemperature() const
virtual G4double GetFraction(G4int i) const
static G4tgbMaterialMgr * GetInstance()
~G4tgbMaterialMixtureByWeight()