33 void G4NeutronHPList::Check(
G4int i)
37 throw G4HadronicException(__FILE__, __LINE__,
"G4NeutronHPList::Check(G4int) called with negative index");
39 if(i>nEntries)
throw G4HadronicException(__FILE__, __LINE__,
"Skipped some index numbers in G4NeutronHPList");
42 nPoints =
static_cast<G4int>(1.5*nPoints);
44 for (
G4int j=0; j<nEntries; j++) buff[j] = theData[j];
48 if(i==nEntries) nEntries++;
55 for (i=0; i<nPar; i++)
void SetValue(G4int i, G4double y)
void Init(std::ifstream &aDataFile, G4int nPar, G4double unit=1.)
G4double GetValue(G4int i)