67 value =
G4Exp(d1 + (d2 - d1)*(x - e1)/ (e2 - e1));
102 if (d1 > 0.0 && d2 > 0.0)
109 value =
G4Exp(log_d1 + (log_d2 - log_d1)*(x - e1)/(e2 - e1));
113 if (d1 == 0.0) log_d1 = -300;
114 if (d2 == 0.0) log_d2 = -300;
115 value =
G4Exp(log_d1 + (log_d2 - log_d1)*(x - e1)/(e2 - e1));
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double Calculate(G4double point, G4int bin, const G4DataVector &energies, const G4DataVector &data) const override