PMNS Class Reference

A class for the PMNS matrix elements. More...

#include <PMNS.h>

Collaboration diagram for PMNS:
[legend]

Detailed Description

A class for the PMNS matrix elements.

Author
HEPfit Collaboration

Definition at line 22 of file PMNS.h.

Public Member Functions

double getc12 ()
 
double getc13 ()
 
double getc23 ()
 
double getdelta ()
 
std::string getHierarchy ()
 
double getJcp ()
 
void getPMNS (gslpp::matrix< gslpp::complex > &) const
 
double gets12 ()
 
double gets13 ()
 
double gets23 ()
 
 PMNS (std::string H_i)
 
 PMNS (const PMNS &)
 
void setPMNS (double, double, double, double)
 
 ~PMNS ()
 

Private Attributes

double c12
 
double c13
 
double c23
 
double delta
 
std::string H
 
double s12
 
double s13
 
double s23
 
gslpp::complex U11
 
gslpp::complex U12
 
gslpp::complex U13
 
gslpp::complex U21
 
gslpp::complex U22
 
gslpp::complex U23
 
gslpp::complex U31
 
gslpp::complex U32
 
gslpp::complex U33
 

Constructor & Destructor Documentation

PMNS::PMNS ( std::string  H_i)

Definition at line 11 of file PMNS.cpp.

12 {
13  H = H_i;
14 }
std::string H
Definition: PMNS.h:70
PMNS::PMNS ( const PMNS orig)

Definition at line 16 of file PMNS.cpp.

17 {
18  s12 = orig.s12;
19  s13 = orig.s13;
20  s23 = orig.s23;
21  delta = orig.delta;
22  c12 = orig.c12;
23  c23 = orig.c23;
24  c13 = orig.c13;
25 
26  U11 = orig.U11;
27  U12 = orig.U12;
28  U13 = orig.U13;
29  U21 = orig.U21;
30  U22 = orig.U22;
31  U23 = orig.U23;
32  U31 = orig.U31;
33  U32 = orig.U32;
34  U33 = orig.U33;
35 
36 }
gslpp::complex U31
Definition: PMNS.h:66
double s13
Definition: PMNS.h:53
gslpp::complex U13
Definition: PMNS.h:62
gslpp::complex U22
Definition: PMNS.h:64
gslpp::complex U23
Definition: PMNS.h:65
double s23
Definition: PMNS.h:54
gslpp::complex U32
Definition: PMNS.h:67
double c13
Definition: PMNS.h:58
double delta
Definition: PMNS.h:55
gslpp::complex U21
Definition: PMNS.h:63
gslpp::complex U11
Definition: PMNS.h:60
double c23
Definition: PMNS.h:57
double c12
Definition: PMNS.h:56
gslpp::complex U12
Definition: PMNS.h:61
double s12
Definition: PMNS.h:52
gslpp::complex U33
Definition: PMNS.h:68
PMNS::~PMNS ( )

Definition at line 38 of file PMNS.cpp.

39 {
40 }

Member Function Documentation

double PMNS::getc12 ( )

Definition at line 93 of file PMNS.cpp.

94 {
95  return c12;
96 }
double c12
Definition: PMNS.h:56
double PMNS::getc13 ( )

Definition at line 103 of file PMNS.cpp.

104 {
105  return c13;
106 }
double c13
Definition: PMNS.h:58
double PMNS::getc23 ( )

Definition at line 98 of file PMNS.cpp.

99 {
100  return c23;
101 }
double c23
Definition: PMNS.h:57
double PMNS::getdelta ( )

Definition at line 108 of file PMNS.cpp.

109 {
110  return delta;
111 }
double delta
Definition: PMNS.h:55
std::string PMNS::getHierarchy ( )

Definition at line 113 of file PMNS.cpp.

114 {
115  return H;
116 }
std::string H
Definition: PMNS.h:70
double PMNS::getJcp ( )

Definition at line 120 of file PMNS.cpp.

121 {
122  throw std::runtime_error("PMNS()::Jcp Not implemented!");
123  return 1;
124 }
void PMNS::getPMNS ( gslpp::matrix< gslpp::complex > &  x) const

Definition at line 42 of file PMNS.cpp.

43 {
44  x.assign(0, 0, U11);
45  x.assign(0, 1, U12);
46  x.assign(0, 2, U13);
47  x.assign(1, 0, U21);
48  x.assign(1, 1, U22);
49  x.assign(1, 2, U23);
50  x.assign(2, 0, U31);
51  x.assign(2, 1, U32);
52  x.assign(2, 2, U33);
53 }
gslpp::complex U31
Definition: PMNS.h:66
gslpp::complex U13
Definition: PMNS.h:62
gslpp::complex U22
Definition: PMNS.h:64
gslpp::complex U23
Definition: PMNS.h:65
gslpp::complex U32
Definition: PMNS.h:67
gslpp::complex U21
Definition: PMNS.h:63
gslpp::complex U11
Definition: PMNS.h:60
gslpp::complex U12
Definition: PMNS.h:61
gslpp::complex U33
Definition: PMNS.h:68
double PMNS::gets12 ( )

Definition at line 78 of file PMNS.cpp.

79 {
80  return s12;
81 }
double s12
Definition: PMNS.h:52
double PMNS::gets13 ( )

Definition at line 83 of file PMNS.cpp.

84 {
85  return s13;
86 }
double s13
Definition: PMNS.h:53
double PMNS::gets23 ( )

Definition at line 88 of file PMNS.cpp.

89 {
90  return s23;
91 }
double s23
Definition: PMNS.h:54
void PMNS::setPMNS ( double  s12,
double  s13,
double  s23,
double  delta 
)

Definition at line 55 of file PMNS.cpp.

56 {
57  c12 = sqrt(1. - pow(s12, 2.));
58  c23 = sqrt(1. - pow(s23, 2.));
59  c13 = sqrt(1. - pow(s13, 2.));
60 
61  U11 = gslpp::complex(c12*c13, 0.);
62  U12 = gslpp::complex(s12*c13, 0.);
63  U13 = gslpp::complex(s13, -delta, true);
64 
65  U21 = -s12 * c23 - gslpp::complex(c12 * s23*s13, delta, true);
66  U22 = c12 * c23 - gslpp::complex(s12 * s23*s13, delta, true);
67  U23 = gslpp::complex(s23*c13, 0.);
68 
69  U31 = s12 * s23 - gslpp::complex(c12 * c23*s13, delta, true);
70  U32 = -c12 * s23 - gslpp::complex(s12 * c23*s13, delta, true);
71  U33 = gslpp::complex(c23*c13, 0.);
72 
73  return;
74 }
gslpp::complex U31
Definition: PMNS.h:66
double s13
Definition: PMNS.h:53
gslpp::complex U13
Definition: PMNS.h:62
gslpp::complex U22
Definition: PMNS.h:64
gslpp::complex U23
Definition: PMNS.h:65
complex pow(const complex &z1, const complex &z2)
double s23
Definition: PMNS.h:54
gslpp::complex U32
Definition: PMNS.h:67
double c13
Definition: PMNS.h:58
double delta
Definition: PMNS.h:55
gslpp::complex U21
Definition: PMNS.h:63
gslpp::complex U11
Definition: PMNS.h:60
double c23
Definition: PMNS.h:57
double c12
Definition: PMNS.h:56
gslpp::complex U12
Definition: PMNS.h:61
double s12
Definition: PMNS.h:52
gslpp::complex U33
Definition: PMNS.h:68
A class for defining operations on and functions of complex numbers.
Definition: gslpp_complex.h:35
complex sqrt(const complex &z)

Member Data Documentation

double PMNS::c12
private

Definition at line 56 of file PMNS.h.

double PMNS::c13
private

Definition at line 58 of file PMNS.h.

double PMNS::c23
private

Definition at line 57 of file PMNS.h.

double PMNS::delta
private

Definition at line 55 of file PMNS.h.

std::string PMNS::H
private

Definition at line 70 of file PMNS.h.

double PMNS::s12
private

Definition at line 52 of file PMNS.h.

double PMNS::s13
private

Definition at line 53 of file PMNS.h.

double PMNS::s23
private

Definition at line 54 of file PMNS.h.

gslpp::complex PMNS::U11
private

Definition at line 60 of file PMNS.h.

gslpp::complex PMNS::U12
private

Definition at line 61 of file PMNS.h.

gslpp::complex PMNS::U13
private

Definition at line 62 of file PMNS.h.

gslpp::complex PMNS::U21
private

Definition at line 63 of file PMNS.h.

gslpp::complex PMNS::U22
private

Definition at line 64 of file PMNS.h.

gslpp::complex PMNS::U23
private

Definition at line 65 of file PMNS.h.

gslpp::complex PMNS::U31
private

Definition at line 66 of file PMNS.h.

gslpp::complex PMNS::U32
private

Definition at line 67 of file PMNS.h.

gslpp::complex PMNS::U33
private

Definition at line 68 of file PMNS.h.


The documentation for this class was generated from the following files: