OscProb
Utils.h
Go to the documentation of this file.
1
2#include "PMNS_LIV.h"
3#include "PMNS_SNSI.h"
4#include "PMNS_Deco.h"
5#include "PMNS_Iter.h"
6#include "PMNS_Decay.h"
7#include "PMNS_Sterile.h"
8
9//.............................................................................
11
12 return new OscProb::PMNS_Fast();
13
14}
15
16//.............................................................................
18
19 return new OscProb::PMNS_Iter();
20
21}
22
23//.............................................................................
25
27 p->SetGamma(2, 1e-23);
28 p->SetGamma(3, 1e-22);
29
30 return p;
31
32}
33
34//.............................................................................
36
38 p->SetDm(4, 0.1);
39 p->SetAngle(1,4, 0.1);
40 p->SetAngle(2,4, 0.1);
41 p->SetAngle(3,4, 0.1);
42
43 return p;
44
45}
46
47//.............................................................................
49
51 p->SetAlpha3(1e-4);
52
53 return p;
54
55}
56
57//.............................................................................
59
61 p->SetEps(0,0, 0.1, 0);
62 p->SetEps(0,1, 0.2, 0);
63 p->SetEps(0,2, 0.3, 0);
64 p->SetEps(1,1, 0.4, 0);
65 p->SetEps(1,2, 0.5, 0);
66 p->SetEps(2,2, 0.6, 0);
67
68 return p;
69
70}
71
72//.............................................................................
74
76 p->SetEps(0,0, 0.1, 0);
77 p->SetEps(0,1, 0.2, 0);
78 p->SetEps(0,2, 0.3, 0);
79 p->SetEps(1,1, 0.4, 0);
80 p->SetEps(1,2, 0.5, 0);
81 p->SetEps(2,2, 0.6, 0);
82
83 return p;
84
85}
86
87//.............................................................................
89
91 p->SetaT(0,0, 0.1e-22, 0);
92 p->SetaT(0,1, 0.2e-22, 0);
93 p->SetaT(0,2, 0.3e-22, 0);
94 p->SetaT(1,1, 0.4e-22, 0);
95 p->SetaT(1,2, 0.5e-22, 0);
96 p->SetaT(2,2, 0.6e-22, 0);
97 p->SetcT(0,0, 0.1e-22, 0);
98 p->SetcT(0,1, 0.2e-22, 0);
99 p->SetcT(0,2, 0.3e-22, 0);
100 p->SetcT(1,1, 0.4e-22, 0);
101 p->SetcT(1,2, 0.5e-22, 0);
102 p->SetcT(2,2, 0.6e-22, 0);
103
104 return p;
105
106}
107
108//.............................................................................
109OscProb::PMNS_Base* GetModel(std::string model){
110
111 if(model == "Iter") return GetIter();
112 if(model == "Deco") return GetDeco();
113 if(model == "Sterile") return GetSterile();
114 if(model == "Decay") return GetDecay();
115 if(model == "NSI") return GetNSI();
116 if(model == "LIV") return GetLIV();
117 if(model == "SNSI") return GetSNSI();
118
119 return GetFast();
120
121}
122
Base class implementing general functions for computing neutrino oscillations.
Definition: PMNS_Base.h:26
virtual void SetDm(int j, double dm)
Set the mass-splitting dm_j1 in eV^2.
Definition: PMNS_Base.cxx:674
virtual void SetAngle(int i, int j, double th)
Set the mixing angle theta_ij.
Definition: PMNS_Base.cxx:539
Implementation of neutrino decay in a three-neutrino framework.
Definition: PMNS_Decay.h:30
virtual void SetAlpha3(double alpha3)
Definition: PMNS_Decay.cxx:62
Implementation of oscillations of neutrinos in matter in a three-neutrino framework with decoherence.
Definition: PMNS_Deco.h:27
virtual void SetGamma(int j, double val)
Set any given decoherence parameter.
Definition: PMNS_Deco.cxx:51
Implementation of oscillations of neutrinos in matter in a three-neutrino framework.
Definition: PMNS_Fast.h:40
Implementation of oscillations of neutrinos in matter in a three-neutrino framework.
Definition: PMNS_Iter.h:35
Implements oscillations with LIV as modelled by SME.
Definition: PMNS_LIV.h:28
virtual void SetaT(int flvi, int flvj, int dim, double val, double phase)
Definition: PMNS_LIV.cxx:67
virtual void SetcT(int flvi, int flvj, int dim, double val, double phase)
Definition: PMNS_LIV.cxx:119
Implementation of oscillations of neutrinos in matter in a three-neutrino framework with NSI.
Definition: PMNS_NSI.h:28
virtual void SetEps(int flvi, int flvj, double val, double phase)
Set any given NSI parameter.
Definition: PMNS_NSI.cxx:86
Implementation of oscillations of neutrinos in matter in a three-neutrino framework with scalar NSI.
Definition: PMNS_SNSI.h:26
Implementation of oscillations of neutrinos in matter in a N-neutrino framework.
Definition: PMNS_Sterile.h:34
OscProb::PMNS_Deco * GetDeco()
Definition: Utils.h:24
OscProb::PMNS_Iter * GetIter()
Definition: Utils.h:17
OscProb::PMNS_LIV * GetLIV()
Definition: Utils.h:88
OscProb::PMNS_Decay * GetDecay()
Definition: Utils.h:48
OscProb::PMNS_Base * GetModel(std::string model)
Definition: Utils.h:109
OscProb::PMNS_Sterile * GetSterile()
Definition: Utils.h:35
OscProb::PMNS_NSI * GetNSI()
Definition: Utils.h:58
OscProb::PMNS_SNSI * GetSNSI()
Definition: Utils.h:73
OscProb::PMNS_Fast * GetFast()
Definition: Utils.h:10