55 G4int nBins = data.size() - 1;
67 value = std::exp(d1 + (d2 - d1)*(x - e1)/ (e2 - e1));
83 G4int nBins = data.size() - 1;
100 if (d1 > 0.0 && d2 > 0.0)
106 value = std::exp(log_d1 + (log_d2 - log_d1)*(x - e1)/(e2 - e1));
110 if (d1 == 0.0) log_d1 = -300;
111 if (d2 == 0.0) log_d2 = -300;
112 value = std::exp(log_d1 + (log_d2 - log_d1)*(x - e1)/(e2 - e1));
G4double Calculate(G4double point, G4int bin, const G4DataVector &energies, const G4DataVector &data) const
const G4double x[NPOINTSGL]