Class nuTens::testing::ThreeFlavourBarger๏
-
template<typename T = float>
class ThreeFlavourBarger๏ Unnamed Group
-
inline ThreeFlavourBarger &setMass1(T mass1)๏
set the parameters of this propagator
-
inline ThreeFlavourBarger &setMass2(T mass2)๏
-
inline ThreeFlavourBarger &setMass3(T mass3)๏
-
inline ThreeFlavourBarger &setTheta12(T theta12)๏
-
inline ThreeFlavourBarger &setTheta13(T theta13)๏
-
inline ThreeFlavourBarger &setTheta23(T theta23)๏
-
inline ThreeFlavourBarger &setDeltaCP(T deltaCP)๏
-
inline ThreeFlavourBarger &setBaseline(T baseline)๏
-
inline ThreeFlavourBarger &setDensity(T density)๏
negative density values will be interpreted as propagating in vacuum
-
inline ThreeFlavourBarger &setAntiNeutrino(bool antiNeutrino)๏
Public Functions
-
inline const std::array<std::array<std::complex<T>, 3>, 3> &calculatePMNS()๏
Update the internal PMNS matrix and return it.
-
inline T calculateAlpha(T energy) const๏
calculate the alpha factor used in the eigenvalue computation
-
inline T calculateBeta(T energy) const๏
calculate the beta factor used in the eigenvalue computation
-
inline T calculateGamma(T energy) const๏
calculate the gamma factor used in the eigenvalue computation
-
inline T calculateEffectiveM2(T energy, int index) const๏
calculate effective M^2 values (eigenvalues of the hamiltonian) due to matter effects
- Parameters:
energy โ The neutrino energy
index โ The index of the eigenvalue. should be [0-2]
-
inline std::complex<T> getHamiltonianElement(T energy, int idx1, int idx2) const๏
Calculate an element of the hamiltonian.
- Parameters:
energy โ The neutrino energy
idx1 โ Row
idx2 โ Column
- Returns:
Matrix element
-
inline ThreeFlavourBarger &setMass1(T mass1)๏