59 G4int nBins = data.size() - 1;
71 value = (d1*std::log10(e2/x) + d2*std::log10(x/e1)) / std::log10(e2/e1);
89 G4int nBins = data.size() - 1;
103 G4double log_e2 = log_points[bin+1];
113 if (e1 == 0.0) log_e1 = -300;
114 if (e2 == 0.0) log_e2 = -300;
115 value = d1 + (d2 -
d1)*(log_x - log_e1)/(log_e2 - log_e1);
G4double Calculate(G4double point, G4int bin, const G4DataVector &energies, const G4DataVector &data) const
~G4SemiLogInterpolation()
const XML_Char const XML_Char * data
const XML_Char int const XML_Char * value
virtual G4VDataSetAlgorithm * Clone() const