#include <G4tgbIsotope.hh>
Public Member Functions | |
G4tgbIsotope () | |
~G4tgbIsotope () | |
G4tgbIsotope (G4tgrIsotope *hg) | |
G4Isotope * | BuildG4Isotope () |
const G4String & | GetName () const |
Definition at line 53 of file G4tgbIsotope.hh.
G4tgbIsotope::G4tgbIsotope | ( | ) |
G4tgbIsotope::~G4tgbIsotope | ( | ) |
G4tgbIsotope::G4tgbIsotope | ( | G4tgrIsotope * | hg | ) |
G4Isotope * G4tgbIsotope::BuildG4Isotope | ( | ) |
Definition at line 58 of file G4tgbIsotope.cc.
References G4cout, G4endl, G4tgrIsotope::GetA(), G4tgrIsotope::GetN(), G4tgrIsotope::GetName(), G4tgrMessenger::GetVerboseLevel(), and G4tgrIsotope::GetZ().
Referenced by G4tgbMaterialMgr::FindOrBuildG4Isotope().
00059 { 00060 G4Isotope* isot = 0; 00061 00062 //-------- if G4Isotope not found, construct it 00063 if( theG4Isot == 0 ) 00064 { 00065 //----- construct new G4Isotope 00066 00067 isot = new G4Isotope(theTgrIsot->GetName(), theTgrIsot->GetZ(), 00068 theTgrIsot->GetN(), theTgrIsot->GetA() ); 00069 00070 #ifdef G4VERBOSE 00071 if( G4tgrMessenger::GetVerboseLevel() >= 2 ) 00072 { 00073 G4cout << " Constructing new G4Isotope " 00074 << *isot << G4endl; 00075 } 00076 #endif 00077 theG4Isot = isot; 00078 } 00079 else 00080 { 00081 isot = theG4Isot; 00082 } 00083 00084 return isot; 00085 }
const G4String& G4tgbIsotope::GetName | ( | ) | const [inline] |
Definition at line 67 of file G4tgbIsotope.hh.
References G4tgrIsotope::GetName().
00067 { return theTgrIsot->GetName(); }