#include <G4tgrIsotope.hh>
Public Member Functions | |
G4tgrIsotope () | |
~G4tgrIsotope () | |
G4tgrIsotope (const std::vector< G4String > &wl) | |
const G4String & | GetName () const |
G4int | GetZ () const |
G4int | GetN () const |
G4double | GetA () const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const G4tgrIsotope &obj) |
Definition at line 47 of file G4tgrIsotope.hh.
G4tgrIsotope::G4tgrIsotope | ( | ) |
G4tgrIsotope::~G4tgrIsotope | ( | ) |
G4tgrIsotope::G4tgrIsotope | ( | const std::vector< G4String > & | wl | ) |
Definition at line 57 of file G4tgrIsotope.cc.
References G4tgrUtils::CheckWLsize(), G4cout, G4endl, G4tgrUtils::GetDouble(), G4tgrUtils::GetInt(), G4tgrUtils::GetString(), G4tgrMessenger::GetVerboseLevel(), and WLSIZE_EQ.
00058 { 00059 //---------- Check for miminum number of words read 00060 G4tgrUtils::CheckWLsize( wl, 5, WLSIZE_EQ, "G4tgrIsotope::G4tgIstotope"); 00061 00062 theName = G4tgrUtils::GetString( wl[1] ); 00063 theZ = G4tgrUtils::GetInt( wl[2] ); 00064 theN = G4tgrUtils::GetInt( wl[3] ); 00065 theA = G4tgrUtils::GetDouble( wl[4], g/mole); 00066 00067 #ifdef G4VERBOSE 00068 if( G4tgrMessenger::GetVerboseLevel() >= 1 ) 00069 { 00070 G4cout << " Created " << *this << G4endl; 00071 } 00072 #endif 00073 }
G4double G4tgrIsotope::GetA | ( | ) | const [inline] |
G4int G4tgrIsotope::GetN | ( | ) | const [inline] |
const G4String& G4tgrIsotope::GetName | ( | ) | const [inline] |
Definition at line 60 of file G4tgrIsotope.hh.
Referenced by G4tgrMaterialFactory::AddIsotope(), G4tgbIsotope::BuildG4Isotope(), and G4tgbIsotope::GetName().
G4int G4tgrIsotope::GetZ | ( | ) | const [inline] |
std::ostream& operator<< | ( | std::ostream & | os, | |
const G4tgrIsotope & | obj | |||
) | [friend] |