#include <G4IsotopeMagneticMomentTable.hh>
◆ G4IsotopeList
◆ G4IsotopeNameList
◆ G4IsotopeMagneticMomentTable() [1/2]
G4IsotopeMagneticMomentTable::G4IsotopeMagneticMomentTable |
( |
| ) |
|
Definition at line 56 of file G4IsotopeMagneticMomentTable.cc.
59 if ( !getenv(
"G4IONMAGNETICMOMENT")) {
62 G4cout <<
"G4IsotopeMagneticMomentTable::G4IsotopeMagneticMomentTable(): " 63 <<
"Please setenv G4IONMAGNETICMOMENT for the magnetic moment data." 68 "Please setenv G4IONMAGNETICMOMENT");
74 "Please setenv G4IONMAGNETICMOMENT");
79 std::ifstream DataFile(file);
84 G4cout <<
"G4IsotopeMagneticMomentTable::G4IsotopeMagneticMomentTable(): " 85 << file <<
" is not found " <<
G4endl;
91 "Can not open G4IONMAGNETICMOMENT file");
95 char inputChars[80]={
' '};
97 while ( !DataFile.eof() ) {
98 DataFile.getline(inputChars, 80);
100 G4int ionA, ionZ, ionJ, isomer;
104 if (inputChars[0] !=
'#' && inputLine.length() != 0) {
105 std::istringstream tmpstream(inputLine);
106 tmpstream >> ionZ >> ionName >> ionA
108 >> ionLife >> ionLifeUnit
void SetAtomicMass(G4int A)
G4int GetVerboseLevel() const
void SetMagneticMoment(G4double M)
G4IsotopeList fIsotopeList
G4GLOB_DLL std::ostream G4cout
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetEnergy(G4double E)
void SetAtomicNumber(G4int Z)
static const G4double nuclearMagneton
void SetIsomerLevel(G4int level)
◆ G4IsotopeMagneticMomentTable() [2/2]
◆ ~G4IsotopeMagneticMomentTable()
G4IsotopeMagneticMomentTable::~G4IsotopeMagneticMomentTable |
( |
| ) |
|
|
virtual |
◆ FindIsotope()
Definition at line 155 of file G4IsotopeMagneticMomentTable.cc.
G4int GetAtomicMass() const
G4int GetAtomicNumber() const
G4IsotopeList fIsotopeList
static const G4double levelTolerance
G4double GetEnergy() const
G4int GetIsomerLevel() const
◆ GetIsotope()
Implements G4VIsotopeTable.
Definition at line 194 of file G4IsotopeMagneticMomentTable.cc.
G4int GetAtomicMass() const
G4int GetAtomicNumber() const
G4IsotopeList fIsotopeList
double A(double temperature)
static const G4double levelTolerance
G4double GetEnergy() const
◆ GetIsotopeByIsoLvl()
◆ GetVerboseLevel()
G4int G4IsotopeMagneticMomentTable::GetVerboseLevel |
( |
| ) |
const |
|
inlineprivate |
◆ operator=()
◆ fIsotopeList
◆ levelTolerance
const G4double G4IsotopeMagneticMomentTable::levelTolerance = 2.0*keV |
|
staticprivate |
◆ nuclearMagneton
const G4double G4IsotopeMagneticMomentTable::nuclearMagneton = eplus*hbar_Planck/2./(proton_mass_c2 /c_squared) |
|
staticprivate |
The documentation for this class was generated from the following files: