66 G4cout <<
" G4tgbMaterialMixtureByNoAtoms::BuildG4Material() -"
67 <<
" Constructing new G4Material:"
84 if(compElem !=
nullptr)
89 G4cout <<
" G4tgbMaterialMixtureByNoAtoms::BuildG4Material() -"
90 <<
" Adding component element ..." <<
G4endl;
94 G4cout << compElem->
GetName() <<
" BY NATOMS ele " << ii <<
" "
103 "is not an element !";
104 G4Exception(
"G4tgbMaterialMixtureByWeight::buildG4Material()",
112 G4cout <<
" Constructing new G4Material by number of atoms: " << *mate
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
void AddElement(G4Element *element, G4int nAtoms)
G4Element * FindOrBuildG4Element(const G4String &name, G4bool bMustExist=true)
static G4tgbMaterialMgr * GetInstance()
G4tgbMaterialMixtureByNoAtoms()
G4Material * BuildG4Material()
~G4tgbMaterialMixtureByNoAtoms()
void TransformToFractionsByWeight()
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()