#include <BichselData.h>
Definition at line 14 of file BichselData.h.
◆ addEntry()
| void BichselData::addEntry |
( |
double |
logBetaGamma, |
|
|
double |
logCollisionEnergy, |
|
|
double |
logIntegratedCrossSection |
|
) |
| |
◆ addNewLogBetaGamma()
| void BichselData::addNewLogBetaGamma |
( |
double |
logBetaGamma | ) |
|
◆ empty()
| bool BichselData::empty |
( |
| ) |
const |
|
inline |
◆ getBetaGammaIndices()
| std::pair< int, int > BichselData::getBetaGammaIndices |
( |
double |
BetaGammaLog10 | ) |
const |
Definition at line 51 of file BichselData.cxx.
52 std::pair<int, int> indices_BetaGammaLog10;
53 if (
empty())
return {-1,-1};
62 return indices_BetaGammaLog10;
◆ interpolateCollisionEnergy() [1/2]
| double BichselData::interpolateCollisionEnergy |
( |
double |
BetaGammaLog10, |
|
|
double |
IntXLog10 |
|
) |
| const |
◆ interpolateCollisionEnergy() [2/2]
| double BichselData::interpolateCollisionEnergy |
( |
std::pair< int, int > |
indices_BetaGammaLog10, |
|
|
double |
IntXLog10 |
|
) |
| const |
Definition at line 73 of file BichselData.cxx.
74 if ((indices_BetaGammaLog10.first == -1) && (indices_BetaGammaLog10.second == -1))
return -1.;
75 if (
empty())
return -1.;
79 std::pair<int, int> indices_IntXLog10_x2 =
81 if (indices_IntXLog10_x2.first < 0) {
84 if (indices_IntXLog10_x2.second < 0) {
90 const auto diff = y22 - y21;
100 double Est = std::clamp(Est_x2,-300.,300.);
◆ interpolateCrossSection() [1/2]
| double BichselData::interpolateCrossSection |
( |
double |
BetaGammaLog10 | ) |
const |
◆ interpolateCrossSection() [2/2]
| double BichselData::interpolateCrossSection |
( |
std::pair< int, int > |
indices_BetaGammaLog10, |
|
|
double |
BetaGammaLog10 |
|
) |
| const |
Definition at line 117 of file BichselData.cxx.
118 if (
empty())
return -1;
119 if (indices_BetaGammaLog10.first < 0) {
122 if (indices_BetaGammaLog10.second < 0) {
125 if (indices_BetaGammaLog10.second == indices_BetaGammaLog10.first){
136 const auto diff=BetaGammaLog10_2 - BetaGammaLog10_1;
140 double Est = ((BetaGammaLog10_2 - BetaGammaLog10) * Est_1 + (BetaGammaLog10 - BetaGammaLog10_1) * Est_2) /
diff;
141 Est = std::clamp(Est,-300.,300.);
◆ lastBetaGammaValue()
| double BichselData::lastBetaGammaValue |
( |
| ) |
const |
Definition at line 12 of file BichselData.cxx.
16 return std::numeric_limits<double>::quiet_NaN();
◆ size()
| size_t BichselData::size |
( |
| ) |
const |
|
inline |
◆ updateAfterLastEntry()
| void BichselData::updateAfterLastEntry |
( |
| ) |
|
◆ logBetaGammaVector
| std::vector<double> BichselData::logBetaGammaVector |
◆ logCollisionEnergyVectorOfVector
| std::vector<std::vector<double> > BichselData::logCollisionEnergyVectorOfVector |
◆ logHighestCrossSectionsVector
| std::vector<double> BichselData::logHighestCrossSectionsVector |
◆ logIntegratedCrossSectionsVectorOfVector
| std::vector<std::vector<double> > BichselData::logIntegratedCrossSectionsVectorOfVector |
The documentation for this struct was generated from the following files: