76 G4cout <<
" G4tgbMaterialMixtureByVolume::buildG4Material() -"
77 <<
" Constructing new G4Material:"
106 +
"\n" +
"is not an element nor a material !";
107 G4Exception(
"G4tgbMaterialMixtureByVolume::BuildG4Material()",
115 G4cout <<
" Constructing new G4Material by volume: " << *mate <<
G4endl;
142 +
"\n" +
"is not a material !";
143 G4Exception(
"G4tgbMaterialMixtureByVolume::BuildG4Material()",
153 G4cout <<
" G4tgbMaterialMixtureByVolume::TransformToFractionsByWeight()"
154 <<
" Component " << ii <<
" : "
G4double GetDensity() const
std::vector< G4double > theFractionsByWeight
void AddMaterial(G4Material *material, G4double fraction)
const G4String & GetName() const
G4double GetDensity() const
G4double GetPressure() const
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
G4Material * BuildG4Material()
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4tgbMaterialMixtureByVolume()
~G4tgbMaterialMixtureByVolume()
void TransformToFractionsByWeight()
G4double GetTemperature() const
virtual G4double GetFraction(G4int i) const
static G4tgbMaterialMgr * GetInstance()