77 if ((d1 > 0.) && (d2 > 0.) && (e1 > 0.) && (e2 > 0.))
80 value = std::log10(d1)+(std::log10(d2/d1)/std::log10(e2/e1)*std::log10(x/e1));
81 value = std::pow(10.,value);
108 else if (bin < nBins)
111 G4double log_e2 = log_points[bin+1];
118 value = log_d1 + (log_d2 - log_d1)*(log_x - log_e1)/(log_e2 - log_e1);
121 value = std::pow(10.,value);
G4double Calculate(G4double point, G4int bin, const G4DataVector &energies, const G4DataVector &data) const override
virtual G4VDataSetAlgorithm * Clone() const override