#include <G4ParticleHPInterpolator.hh>
|
| G4ParticleHPInterpolator () |
|
| ~G4ParticleHPInterpolator () |
|
G4double | Lin (G4double x, G4double x1, G4double x2, G4double y1, G4double y2) |
|
G4double | Interpolate (G4InterpolationScheme aScheme, G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const |
|
G4double | Interpolate2 (G4InterpolationScheme aScheme, G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const |
|
G4double | GetBinIntegral (const G4InterpolationScheme &aScheme, const G4double x1, const G4double x2, const G4double y1, const G4double y2) |
|
G4double | GetWeightedBinIntegral (const G4InterpolationScheme &aScheme, const G4double x1, const G4double x2, const G4double y1, const G4double y2) |
|
|
G4double | Histogram (G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const |
|
G4double | LinearLinear (G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const |
|
G4double | LinearLogarithmic (G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const |
|
G4double | LogarithmicLinear (G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const |
|
G4double | LogarithmicLogarithmic (G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const |
|
G4double | Random (G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const |
|
Definition at line 44 of file G4ParticleHPInterpolator.hh.
◆ G4ParticleHPInterpolator()
G4ParticleHPInterpolator::G4ParticleHPInterpolator |
( |
| ) |
|
|
inline |
◆ ~G4ParticleHPInterpolator()
G4ParticleHPInterpolator::~G4ParticleHPInterpolator |
( |
| ) |
|
|
inline |
◆ GetBinIntegral()
Definition at line 36 of file G4ParticleHPInterpolator.cc.
50 if(
x1==0) result =
y1;
51 else if(
x2==0) result =
y2;
80 if(
x1==0) result =
y1;
81 else if(
x2==0) result =
y2;
82 else if(
y1==0||
y2==0) result =0;
92 throw G4HadronicException(__FILE__, __LINE__,
"Unknown interpolation scheme in G4ParticleHPVector::Integrate");
static G4Pow * GetInstance()
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double powA(G4double A, G4double y) const
◆ GetWeightedBinIntegral()
Definition at line 97 of file G4ParticleHPInterpolator.cc.
116 if(
x1==0) result =
y1;
117 else if(
x2==0) result =
y2;
128 if(
y1==0||
y2==0) result = 0;
138 if(x1==0) result =
y1;
139 else if(
x2==0) result =
y2;
140 else if(
y1==0||
y2==0) result = 0;
150 throw G4HadronicException(__FILE__, __LINE__,
"Unknown interpolation scheme in G4ParticleHPVector::Integrate");
static G4Pow * GetInstance()
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
G4double powA(G4double A, G4double y) const
◆ Histogram()
◆ Interpolate()
Definition at line 91 of file G4ParticleHPInterpolator.hh.
95 G4int theScheme = aScheme;
121 throw G4HadronicException(__FILE__, __LINE__,
"G4ParticleHPInterpolator::Carthesian Invalid InterpolationScheme");
G4double LogarithmicLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4GLOB_DLL std::ostream G4cout
G4double LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double LinearLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double Random(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double LogarithmicLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
◆ Interpolate2()
Definition at line 128 of file G4ParticleHPInterpolator.hh.
132 G4int theScheme = aScheme;
156 throw G4HadronicException(__FILE__, __LINE__,
"G4ParticleHPInterpolator::Carthesian Invalid InterpolationScheme");
G4double Histogram(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double LogarithmicLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4GLOB_DLL std::ostream G4cout
G4double LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double LinearLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double Random(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double LogarithmicLogarithmic(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
◆ Lin()
◆ LinearLinear()
◆ LinearLogarithmic()
Definition at line 182 of file G4ParticleHPInterpolator.hh.
185 if(
x==0) result =
y1+
y2/2.;
186 else if(
x1==0) result =
y1;
187 else if(
x2==0) result =
y2;
G4double LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double G4Log(G4double x)
◆ LogarithmicLinear()
Definition at line 193 of file G4ParticleHPInterpolator.hh.
196 if(
y1==0||
y2==0) result = 0;
200 result =
G4Exp(result);
G4double LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
◆ LogarithmicLogarithmic()
Definition at line 206 of file G4ParticleHPInterpolator.hh.
208 if(
x==0)
return y1+
y2/2.;
209 else if(
x1==0)
return y1;
210 else if(
x2==0)
return y2;
212 if(
y1==0||
y2==0) result = 0;
216 result =
G4Exp(result);
G4double LinearLinear(G4double x, G4double x1, G4double x2, G4double y1, G4double y2) const
G4double G4Log(G4double x)
G4double G4Exp(G4double initial_x)
Exponential Function double precision.
◆ Random()
The documentation for this class was generated from the following files: