55 G4int nBins = data.size() - 1;
85 G4int nBins = data.size() - 1;
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));
static const G4double e1[44]
static const G4double e2[44]
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double Calculate(G4double point, G4int bin, const G4DataVector &energies, const G4DataVector &data) const override