62 "interpolation == 0");
72 size_t sizeK = modelK.size();
73 size_t sizeL = modelL.size();
74 size_t sizeM = modelM.size();
78 if (sizeK > 0 && sizeL > 0)
84 if (sizeK > 0 && sizeL > 0 && sizeM >0)
107 std::vector<G4IDataSet *>::const_iterator i(
components.begin());
108 std::vector<G4IDataSet *>::const_iterator end(
components.end());
112 value += (*i)->FindValue(energy);
123 G4cout <<
"The data set has " << n <<
" components" <<
G4endl;
150 message <<
"G4PixeShellDataSet::SetEnergiesData - component " << componentId <<
" not found";
155 message.str().c_str());
167 for (
G4int subShellIndex=0; subShellIndex<nShells; subShellIndex++)
204 char* path = std::getenv(
"G4PIIDATA");
209 "G4PIIDATA environment variable not set");
216 std::ostringstream fullFileName;
235 return G4String(fullFileName.str().c_str());
243 if (subShell ==
"l1" || subShell ==
"l2" || subShell ==
"l3" ) index = 1;
244 if (subShell ==
"m1" ||
248 subShell ==
"m5" ) index = 2;