#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 | ) |
|
Definition at line 22 of file BichselData.cxx.
23 const std::vector<double> emptyArray;
◆ empty()
bool BichselData::empty |
( |
| ) |
const |
|
inline |
◆ getBetaGammaIndices()
std::pair< int, int > BichselData::getBetaGammaIndices |
( |
double |
BetaGammaLog10 | ) |
const |
Definition at line 50 of file BichselData.cxx.
51 std::pair<int, int> indices_BetaGammaLog10;
52 if (
empty())
return {-1,-1};
61 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 72 of file BichselData.cxx.
73 if ((indices_BetaGammaLog10.first == -1) && (indices_BetaGammaLog10.second == -1))
return -1.;
74 if (
empty())
return -1.;
78 std::pair<int, int> indices_IntXLog10_x2 =
80 if (indices_IntXLog10_x2.first < 0) {
83 if (indices_IntXLog10_x2.second < 0) {
89 const auto diff = y22 - y21;
99 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 116 of file BichselData.cxx.
117 if (
empty())
return -1;
118 if (indices_BetaGammaLog10.first < 0) {
121 if (indices_BetaGammaLog10.second < 0) {
124 if (indices_BetaGammaLog10.second == indices_BetaGammaLog10.first){
135 const auto diff=BetaGammaLog10_2 - BetaGammaLog10_1;
139 double Est = ((BetaGammaLog10_2 - BetaGammaLog10) * Est_1 + (BetaGammaLog10 - BetaGammaLog10_1) * Est_2) /
diff;
140 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: