Oscillation probability calculators. More...
Namespaces | |
analytic | |
Classes | |
class | _IOscCalc |
General interface to oscillation calculators. More... | |
class | _IOscCalcAdjustable |
General interface to any calculator that lets you set the parameters. More... | |
class | _NoOscillations |
Pass neutrinos through unchanged. More... | |
struct | _OscCache |
class | _OscCalcDMP |
Helper struct for the cache. Might not need this. More... | |
class | _OscCalcPMNS |
Adapt the PMNS calculator to standard interface. More... | |
class | _OscCalcPMNSOpt |
Optimized version of OscCalcPMNS. More... | |
struct | _OscParameters |
class | _PMNS |
class | _PMNS_DMP |
class | _PMNSOpt |
Optimized version of PMNS. More... | |
class | EarthModel |
struct | EigenSystem |
Helper struct for the cache. Might not need this. More... | |
class | OscCalc |
class | OscCalcCPT |
class | OscCalcDumb |
Simple oscillation probability calculator that has no solar term or mass hierarchy or delta so it's some kind of average of all of those. More... | |
class | OscCalcGeneral |
More generic (but probably slower) oscillation calculations. More... | |
class | OscCalcPMNS_CPT |
Adapt the PMNS calculator to standard interface and include neutrino and anti neutrino oscillations seperately. More... | |
class | OscCalcPMNS_NSI |
Optimized version of OscCalcPMNS. More... | |
class | OscCalcPMNSOptEigen |
A re-optimized version of OscCalcPMNSOpt. More... | |
class | OscCalcSterile |
Adapt the PMNS_Sterile calculator to standard interface. More... | |
class | OscCalcSterileBeam |
Adapt the PMNS_Sterile calculator to standard interface. More... | |
class | OscCalcSterileTrivial |
Version of OscCalcSterile that always returns probability of 1. More... | |
class | PMNS_NSI |
class | PMNS_Sterile |
Enumerations | |
enum | ENuSign { ENuSign::kNu, ENuSign::kNuBar } |
Simple neutrino/anti-neutrino enum. More... | |
Variables | |
const unsigned int | kNumFlavours = 3 |
static double | eVsqkm_to_GeV = 1e-9 / 1.973269681602260e-7 * 1e3 |
static double | YerhoE2a = 1.52e-4 |
static const double | kKm2eV = 5.06773103202e+09 |
km to eV^-1 More... | |
static const double | kK2 = 4.62711492217e-09 |
mole/GeV^2/cm^3 to eV More... | |
static const double | kGeV2eV = 1.0e+09 |
GeV to eV. More... | |
static const double | kGf = 1.166371e-5 |
Oscillation probability calculators.
Simple oscillation probability calculator that has no solar term or mass hierarchy or delta so it's some kind of average of all of those.
using osc::_OscCalcAnalytic = typedef osc::analytic::_OscCalc<T> |
Definition at line 171 of file OscCalcAnalytic.h.
typedef ublas::bounded_array<val_t, kNumFlavours> osc::alloc_t |
Definition at line 27 of file OscCalcGeneral.cxx.
typedef ublas::bounded_matrix<val_t, kNumFlavours, kNumFlavours> osc::ComplexMat |
Definition at line 29 of file OscCalcGeneral.cxx.
typedef ublas::c_vector<val_t, kNumFlavours> osc::ComplexVec |
Definition at line 30 of file OscCalcGeneral.cxx.
typedef _IOscCalc< double > osc::IOscCalc |
Definition at line 41 of file IOscCalc.h.
typedef _IOscCalcAdjustable< double > osc::IOscCalcAdjustable |
Definition at line 121 of file IOscCalc.h.
Definition at line 19 of file StanTypedefs.h.
typedef _IOscCalc<stan::math::var> osc::IOscCalcStan |
Definition at line 22 of file StanTypedefs.h.
typedef _NoOscillations<double> osc::NoOscillations |
Definition at line 67 of file IOscCalc.h.
using osc::OscCalcAnalytic = typedef _OscCalcAnalytic<double> |
Definition at line 172 of file OscCalcAnalytic.h.
Definition at line 35 of file StanTypedefs.h.
typedef _OscCalcDMP<double> osc::OscCalcDMP |
Definition at line 85 of file OscCalcDMP.h.
Definition at line 25 of file StanTypedefs.h.
typedef _OscCalcPMNS<double> osc::OscCalcPMNS |
Definition at line 57 of file OscCalcPMNS.h.
typedef _OscCalcPMNSOpt<double> osc::OscCalcPMNSOpt |
Definition at line 72 of file OscCalcPMNSOpt.h.
Definition at line 31 of file StanTypedefs.h.
Definition at line 28 of file StanTypedefs.h.
typedef _OscParameters<double> osc::OscParameters |
Definition at line 33 of file OscParameters.h.
typedef _PMNSOpt<double> osc::PMNSOpt |
using osc::SDMap = typedef std::map< const ana::SigmaDelta*, std::pair<double, double> > |
Definition at line 33 of file OscCalcCPT.h.
typedef ublas::unit_vector<val_t, alloc_t> osc::UnitVec |
Definition at line 31 of file OscCalcGeneral.cxx.
typedef std::complex<long double> osc::val_t |
Definition at line 26 of file OscCalcGeneral.cxx.
|
strong |
Simple neutrino/anti-neutrino enum.
Enumerator | |
---|---|
kNu | |
kNuBar |
Definition at line 28 of file OscCalcCPT.h.
|
inline |
Definition at line 37 of file OscCalcDMP.cxx.
References sincos().
Referenced by osc::OscCalcPMNSOptEigen::BuildHam(), and osc::OscCalcPMNSOptEigen::SaveLastParams().
void osc::conjugate_elements | ( | ComplexMat & | m | ) |
Definition at line 227 of file OscCalcGeneral.cxx.
References MECModelEnuComparisons::i, calib::j, kNumFlavours, and m.
Referenced by osc::OscCalcGeneral::P().
void osc::CopyParams | ( | const osc::_IOscCalcAdjustable< T > * | inCalc, |
osc::_IOscCalcAdjustable< U > * | outCalc | ||
) |
Copy parameters from one calculator to another, irrespective of their type.
Definition at line 62 of file IOscCalc.cxx.
References ana::assert(), osc::_IOscCalcAdjustable< T >::GetdCP(), osc::_IOscCalcAdjustable< T >::GetDmsq21(), osc::_IOscCalcAdjustable< T >::GetDmsq32(), osc::_IOscCalcAdjustable< T >::GetL(), osc::_IOscCalcAdjustable< T >::GetRho(), osc::_IOscCalcAdjustable< T >::GetTh12(), osc::_IOscCalcAdjustable< T >::GetTh13(), osc::_IOscCalcAdjustable< T >::GetTh23(), osc::_IOscCalcAdjustable< T >::SetdCP(), osc::_IOscCalcAdjustable< T >::SetDmsq21(), osc::_IOscCalcAdjustable< T >::SetDmsq32(), osc::_IOscCalcAdjustable< T >::SetL(), osc::_IOscCalcAdjustable< T >::SetRho(), osc::_IOscCalcAdjustable< T >::SetTh12(), osc::_IOscCalcAdjustable< T >::SetTh13(), and osc::_IOscCalcAdjustable< T >::SetTh23().
Referenced by ana::StanFitter::CreateCalculator(), ana::StanFitter::log_prob(), and test_stanfit_systpulls().
template void osc::CopyParams | ( | const osc::_IOscCalcAdjustable< double > * | inCalc, |
osc::_IOscCalcAdjustable< double > * | outCalc | ||
) |
const OscCalcCPT * osc::DowncastToCPT | ( | const IOscCalcAdjustable * | osc | ) |
Definition at line 232 of file OscCalcCPT.cxx.
References ana::assert().
Referenced by ana::SolarConstraintsNu::Dmsq21(), ana::SolarConstraintsNubar::Dmsq21(), ana::SigmaDelta::GetDelta(), ana::SigmaDelta::GetSigma(), ana::FitDmSq32CPT::GetValue(), ana::FitDmSq32ScaledCPT::GetValue(), ana::FitDmSq21CPT::GetValue(), ana::FitSinSq2Theta23CPT::GetValue(), ana::FitSinSqTheta23CPT::GetValue(), ana::FitSinSq2Theta13CPT::GetValue(), ana::FitSinSq2Theta12CPT::GetValue(), ana::SigmaDelta::SetDelta(), ana::SigmaDelta::SetSigma(), ana::FitDmSq32CPT::SetValue(), ana::FitDmSq32ScaledCPT::SetValue(), ana::FitDmSq21CPT::SetValue(), ana::FitSinSq2Theta23CPT::SetValue(), ana::FitSinSqTheta23CPT::SetValue(), ana::FitSinSq2Theta13CPT::SetValue(), ana::FitSinSq2Theta12CPT::SetValue(), ana::SigmaDelta::SigmaPenalty(), ana::SolarConstraintsNu::Th12(), and ana::SolarConstraintsNubar::Th12().
OscCalcCPT * osc::DowncastToCPT | ( | IOscCalcAdjustable * | osc | ) |
Definition at line 239 of file OscCalcCPT.cxx.
References ana::assert().
const OscCalcPMNS_NSI * osc::DowncastToNSI | ( | const IOscCalc * | calc | ) |
Definition at line 117 of file OscCalcPMNS_NSI.cxx.
References calc, om::cout, and allTimeWatchdog::endl.
Referenced by ana::FitEpsMuTau::GetValue(), and ana::FitEpsMuTau::SetValue().
OscCalcPMNS_NSI * osc::DowncastToNSI | ( | IOscCalc * | calc | ) |
Definition at line 126 of file OscCalcPMNS_NSI.cxx.
References calc, om::cout, and allTimeWatchdog::endl.
const OscCalcSterile * osc::DowncastToSterile | ( | const IOscCalc * | calc | ) |
Definition at line 227 of file OscCalcSterile.cxx.
References calc, om::cout, and allTimeWatchdog::endl.
Referenced by ana::FitDmSq32Sterile::GetValue(), ana::FitDmSq41Sterile::GetValue(), ana::FitDmSq43Sterile::GetValue(), ana::FitDelta13InPiUnitsSterile::GetValue(), ana::FitDelta14InPiUnitsSterile::GetValue(), ana::FitDelta24InPiUnitsSterile::GetValue(), ana::FitTheta13Sterile::GetValue(), ana::FitSinSqTheta13Sterile::GetValue(), ana::FitSinSq2Theta13Sterile::GetValue(), ana::FitTheta23Sterile::GetValue(), ana::FitSinSqTheta23Sterile::GetValue(), ana::FitTheta14Sterile::GetValue(), ana::FitSinSqTheta14Sterile::GetValue(), ana::FitTheta24Sterile::GetValue(), ana::FitSinSqTheta24Sterile::GetValue(), ana::FitTheta34Sterile::GetValue(), ana::FitSinSqTheta34Sterile::GetValue(), ana::FitTheta13InDegreesSterile::GetValue(), ana::FitTheta23InDegreesSterile::GetValue(), ana::FitTheta14InDegreesSterile::GetValue(), ana::FitTheta24InDegreesSterile::GetValue(), ana::FitTheta34InDegreesSterile::GetValue(), ana::FDPredictionSterile::Predict(), ana::NDPredictionSterile::Predict(), ana::PredictionSterile::PredictComponent(), ana::FDPredictionSterile::PredictComponent(), ana::NDPredictionSterile::PredictComponent(), ana::FitDmSq32Sterile::SetValue(), ana::FitDmSq41Sterile::SetValue(), ana::FitDmSq43Sterile::SetValue(), ana::FitDelta13InPiUnitsSterile::SetValue(), ana::FitDelta14InPiUnitsSterile::SetValue(), ana::FitDelta24InPiUnitsSterile::SetValue(), ana::FitTheta13Sterile::SetValue(), ana::FitSinSqTheta13Sterile::SetValue(), ana::FitSinSq2Theta13Sterile::SetValue(), ana::FitTheta23Sterile::SetValue(), ana::FitSinSqTheta23Sterile::SetValue(), ana::FitTheta14Sterile::SetValue(), ana::FitSinSqTheta14Sterile::SetValue(), ana::FitTheta24Sterile::SetValue(), ana::FitSinSqTheta24Sterile::SetValue(), ana::FitTheta34Sterile::SetValue(), ana::FitSinSqTheta34Sterile::SetValue(), ana::FitTheta13InDegreesSterile::SetValue(), ana::FitTheta23InDegreesSterile::SetValue(), ana::FitTheta14InDegreesSterile::SetValue(), ana::FitTheta24InDegreesSterile::SetValue(), ana::FitTheta34InDegreesSterile::SetValue(), ana::ToEigenSterile(), and osc::OscCalcSterileTrivial::~OscCalcSterileTrivial().
OscCalcSterile * osc::DowncastToSterile | ( | IOscCalc * | calc | ) |
Definition at line 239 of file OscCalcSterile.cxx.
References calc, om::cout, and allTimeWatchdog::endl.
const OscCalcSterileBeam * osc::DowncastToSterileBeam | ( | const IOscCalc * | calc | ) |
Definition at line 141 of file OscCalcSterileBeam.cxx.
References calc, om::cout, and allTimeWatchdog::endl.
OscCalcSterileBeam * osc::DowncastToSterileBeam | ( | IOscCalc * | calc | ) |
std::cout << "calc is a osc::NoOscillations calculator!" << std::endl;
Definition at line 151 of file OscCalcSterileBeam.cxx.
References calc, om::cout, and allTimeWatchdog::endl.
ComplexVec osc::EvolveState | ( | ComplexVec | A, |
const ComplexMat & | H, | ||
long double | L | ||
) |
Definition at line 220 of file OscCalcGeneral.cxx.
References MECModelEnuComparisons::i, MatrixExp(), and stan::math::prod().
Referenced by osc::OscCalcGeneral::P().
ComplexMat osc::GetPMNS | ( | OscCalcGeneral::Priv * | d | ) |
Definition at line 138 of file OscCalcGeneral.cxx.
References osc::OscCalcGeneral::Priv::atmos, osc::OscCalcGeneral::Priv::dirty, osc::OscCalcGeneral::Priv::pmns, stan::math::prod(), osc::OscCalcGeneral::Priv::react, and osc::OscCalcGeneral::Priv::solar.
Referenced by osc::OscCalcGeneral::P().
const ublas::identity_matrix<val_t, alloc_t> osc::kIdentity | ( | kNumFlavours | ) |
Referenced by MatrixExp().
const ublas::zero_matrix<val_t, alloc_t> osc::kZeroMat | ( | kNumFlavours | , |
kNumFlavours | |||
) |
Referenced by MatterHamiltonianComponent(), and VacuumHamiltonian().
ComplexMat osc::MatrixExp | ( | const ComplexMat & | m2 | ) |
Definition at line 204 of file OscCalcGeneral.cxx.
References kIdentity(), m, getGoodRuns4SAM::n, stan::math::prod(), and runNovaSAM::ret.
Referenced by EvolveState().
ComplexMat osc::MatterHamiltonianComponent | ( | long double | Ne, |
long double | emutau | ||
) |
Definition at line 178 of file OscCalcGeneral.cxx.
References kZeroMat(), and std::sqrt().
Referenced by osc::OscCalcGeneral::P().
|
inline |
Definition at line 36 of file OscParameters.h.
|
inline |
Definition at line 102 of file PMNS_DMP.h.
|
inline |
Definition at line 29 of file OscCalcPMNSOptEigen.cxx.
Referenced by osc::OscCalcPMNSOptEigen::FillCache(), and osc::OscCalcPMNSOptEigen::P().
ComplexMat osc::VacuumHamiltonian | ( | const ComplexMat & | U, |
const std::vector< long double > & | mSq, | ||
long double | E | ||
) |
Definition at line 151 of file OscCalcGeneral.cxx.
References a, ana::assert(), b, E, MECModelEnuComparisons::i, kNumFlavours, and kZeroMat().
Referenced by osc::OscCalcGeneral::P().
|
static |
Definition at line 13 of file PMNS_DMP.h.
|
static |
GeV to eV.
Definition at line 43 of file PMNSOpt.h.
Referenced by osc::OscCalcPMNSOptEigen::AddMatterEffects(), osc::OscCalcPMNSOptEigen::AddMatterEffectsAnti(), osc::_PMNS< T >::EvalEqn22(), osc::_PMNS< T >::EvalEqn5(), osc::OscCalcPMNSOptEigen::MatterHamiltonian(), osc::_PMNSOpt< T >::SetVacuumEigensystem(), osc::PMNS_NSI::SolveHam(), osc::PMNS_Sterile::SolveHam(), and osc::_PMNSOpt< T >::SolveHam().
|
static |
Definition at line 46 of file PMNSOpt.h.
Referenced by osc::OscCalcPMNSOptEigen::AddMatterEffects(), osc::OscCalcPMNSOptEigen::AddMatterEffectsAnti(), osc::OscCalcPMNSOptEigen::MatterHamiltonian(), osc::PMNS_NSI::SolveHam(), osc::PMNS_Sterile::SolveHam(), and osc::_PMNSOpt< T >::SolveHam().
|
static |
mole/GeV^2/cm^3 to eV
Definition at line 42 of file PMNSOpt.h.
Referenced by osc::OscCalcPMNSOptEigen::AddMatterEffects(), osc::OscCalcPMNSOptEigen::AddMatterEffectsAnti(), osc::_PMNS< T >::EvalEqn22(), osc::_PMNS< T >::EvalEqn5(), osc::OscCalcPMNSOptEigen::MatterHamiltonian(), osc::PMNS_NSI::SolveHam(), osc::PMNS_Sterile::SolveHam(), and osc::_PMNSOpt< T >::SolveHam().
|
static |
km to eV^-1
Definition at line 41 of file PMNSOpt.h.
Referenced by osc::PMNS_Sterile::PropMatter(), osc::_PMNSOpt< T >::PropMatter(), osc::OscCalcPMNSOptEigen::PropMatter(), and osc::_PMNSOpt< T >::PropVacuum().
const unsigned int osc::kNumFlavours = 3 |
Definition at line 23 of file OscCalcGeneral.cxx.
Referenced by conjugate_elements(), and VacuumHamiltonian().
|
static |
Definition at line 14 of file PMNS_DMP.h.