59 G4int nBins = data.size() - 1;
71 value = d1 + (d2 - d1)*(x - e1)/(e2 - e1);
93 G4int nBins = data.size() - 1;
100 else if (bin < nBins)
103 G4double log_e2 = log_points[bin+1];
110 value = log_d1 + (log_d2 - log_d1)*(log_x - log_e1)/(log_e2 - log_e1);
113 value = std::pow(10.,value);
G4VDataSetAlgorithm * Clone() const
G4double Calculate(G4double point, G4int bin, const G4DataVector &energies, const G4DataVector &data) const