47 : nLevels(0),nLevelMax(50),fVerbose(0),fMinProbability(1.e-10)
61 std::vector<G4NucLevel*>* levels,
64 std::ifstream inFile(filename);
65 if (!inFile.is_open()) {
67 G4cout <<
" G4LevelReader: nuclide ("
69 <<
") does not have a gamma levels file" <<
G4endl;
139 if(dataFile.fail()) { okay =
false; }
140 else { x = strtod(buffer, NULL); }
152 if(norm <= 0.0) {
return; }
159 for(
size_t i=0; i<
nLevels; ++i) {
169 }
else if(2 == nLevels) {
174 for(
size_t i=1; i<nLevels-1; ++i) {
181 levels->push_back(p);
G4bool Read(std::ifstream &aDataFile)
G4GLOB_DLL std::ostream G4cout
G4bool ReadDataItem(std::istream &dataFile, G4double &x)
std::vector< G4double > kICC
static const double second
static const G4double A[nN]
std::vector< G4double > wGamma
void MakeNewLevel(std::vector< G4NucLevel * > *levels)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
void FillLevels(G4int Z, G4int A, std::vector< G4NucLevel * > *levels, const G4String &filename)
std::vector< G4double > eGamma