56 G4int nBins = data.size() - 1;
68 value =
G4Exp(d1 + (d2 - d1)*(x - e1)/ (e2 - e1));
84 G4int nBins = data.size() - 1;
101 if (d1 > 0.0 && d2 > 0.0)
107 value =
G4Exp(log_d1 + (log_d2 - log_d1)*(x - e1)/(e2 - e1));
111 if (d1 == 0.0) log_d1 = -300;
112 if (d2 == 0.0) log_d2 = -300;
113 value =
G4Exp(log_d1 + (log_d2 - log_d1)*(x - e1)/(e2 - e1));
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
const XML_Char const XML_Char * data
const XML_Char int const XML_Char * value
G4double Calculate(G4double point, G4int bin, const G4DataVector &energies, const G4DataVector &data) const