#include <G4LinInterpolation.hh>
Definition at line 52 of file G4LinInterpolation.hh.
◆ G4LinInterpolation()
G4LinInterpolation::G4LinInterpolation |
( |
| ) |
|
◆ ~G4LinInterpolation()
G4LinInterpolation::~G4LinInterpolation |
( |
| ) |
|
◆ Calculate() [1/2]
◆ Calculate() [2/2]
Implements G4VDataSetAlgorithm.
Definition at line 85 of file G4LinInterpolation.cc.
94 G4int nBins = data.size() - 1;
101 else if (
bin < nBins)
111 value = log_d1 + (log_d2 - log_d1)*(log_x - log_e1)/(log_e2 - log_e1);
114 value = std::pow(10.,value);
◆ Clone()
The documentation for this class was generated from the following files: