#include <G4LinInterpolation.hh>
Definition at line 52 of file G4LinInterpolation.hh.
G4LinInterpolation::G4LinInterpolation |
( |
| ) |
|
G4LinInterpolation::~G4LinInterpolation |
( |
| ) |
|
Implements G4VDataSetAlgorithm.
Definition at line 85 of file G4LinInterpolation.cc.
94 G4int nBins = data.size() - 1;
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);
const XML_Char int const XML_Char * value
The documentation for this class was generated from the following files: