50 const std::vector<G4String>& wl)
51 : name(
"MaterialSimple")
55 "G4tgrMaterialSimple::G4tgrMaterialSimple");
76 G4String ErrMessage =
"Should never be called for a MaterialSimple - i:" +
78 G4Exception(
"G4tgrMaterialSimple::GetComponent()",
"InvalidCall",
87 G4String ErrMessage =
"Should never be called for a MaterialSimple - i:" +
89 G4Exception(
"G4tgrMaterialSimple::GetFraction()",
"InvalidCall",
98 os <<
"G4tgrMaterialSimple= " << mate.
theName <<
" Z " << mate.theZ <<
" A "
99 << mate.theA <<
"density= " << mate.
theDensity / g * cm3
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4GLOB_DLL std::ostream G4cout
std::ostream & operator<<(std::ostream &os, const G4tgrMaterialSimple &mate)
static G4String ConvertToString(G4bool boolVal)
G4double GetFraction(G4int i)
const G4String & GetComponent(G4int i) const
static G4int GetVerboseLevel()
static G4String GetString(const G4String &str)
static void CheckWLsize(const std::vector< G4String > &wl, unsigned int nWCheck, WLSIZEtype st, const G4String &methodName)
static G4double GetDouble(const G4String &str, G4double unitval=1.)