#include <parametrizations.h>
Calculate and store isospin ratios for K N -> K Delta reactions.
The ratios are given by the squared Clebsch-Gordan coefficient for the respective reaction, divided by the sum of the squared coefficients of all possible isospin-symmetric reactions. They are used when calculating the corresponding cross sections from the parametrizations of experimental data.
Definition at line 554 of file parametrizations.h.
Public Member Functions | |
KaonNucleonRatios () | |
Create an empty K N -> K Delta isospin ratio storage. More... | |
double | get_ratio (const ParticleType &a, const ParticleType &b, const ParticleType &c, const ParticleType &d) const |
Return the isospin ratio of the given K N -> K Delta cross section. More... | |
Private Attributes | |
std::unordered_map< std::pair< uint64_t, uint64_t >, double, pair_hash > | ratios_ |
Internal representation of isospin weights once calculated. More... | |
|
inline |
Create an empty K N -> K Delta isospin ratio storage.
Definition at line 562 of file parametrizations.h.
double smash::KaonNucleonRatios::get_ratio | ( | const ParticleType & | a, |
const ParticleType & | b, | ||
const ParticleType & | c, | ||
const ParticleType & | d | ||
) | const |
Return the isospin ratio of the given K N -> K Delta cross section.
On the first call all ratios are calculated.
Definition at line 743 of file parametrizations.cc.
|
mutableprivate |
Internal representation of isospin weights once calculated.
Definition at line 558 of file parametrizations.h.