72 value = d1 + (d2 - d1)*(x - e1)/(e2 - e1);
101 else if (bin < nBins)
104 G4double log_e2 = log_points[bin+1];
111 value = log_d1 + (log_d2 - log_d1)*(log_x - log_e1)/(log_e2 - log_e1);
114 value = std::pow(10.,value);
G4double Calculate(G4double point, G4int bin, const G4DataVector &energies, const G4DataVector &data) const override
G4VDataSetAlgorithm * Clone() const override