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 std::complex<T> getTransitionMatrixElement(T energy, int idx1, int idx2) const๏ƒ

Calculate an element of the โ€œXโ€ transition matrix matrix (equation 11 in Barger et al)

Parameters:
  • energy โ€“ The neutrino energy

  • idx1 โ€“ Row

  • idx2 โ€“ Column

Returns:

Matrix element

inline T calculateProb(T energy, int alpha, int beta) const๏ƒ

calculate oscillation probability from flavour alpha to flavour beta

Parameters:
  • energy โ€“ neutrino energy

  • alpha โ€“ initial flavour index

  • beta โ€“ final flavour index

Returns:

oscillation probability