master
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
Loading...
Searching...
No Matches
Xmatrices.cpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012 HEPfit Collaboration
3
*
4
*
5
* For the licensing terms see doc/COPYING.
6
*/
7
8
#include "
Xmatrices.h
"
9
10
Xmatrices::Xmatrices
(): X1(3,3,0.), X2(3,3,0.),
11
X3(3,3,0.), X4(3,3,0.), X5(3,3,0.), X6(3,3,0.), X9(3,3,0.), X13(3,3,0.)
12
{
13
X1
.assign(2,2,1.);
14
X2
.assign(1,1,1.);
15
X3
.assign(2,1,1.);
16
X4
.assign(1,2,1.);
17
}
18
19
void
Xmatrices::Update
(
const
CKM
& CKM_in){
20
if
(CKM_in.
getA
() ==
myA
&& CKM_in.
getRhoBar
() ==
myrho
&& CKM_in.
getEtaBar
() ==
21
myeta
&& CKM_in.
getLambda
() ==
mylambda
)
22
return
;
23
24
gslpp::matrix<gslpp::complex> ckm(CKM_in.
getCKM
());
25
26
for
(
int
i = 0; i < 3; i++){
27
X5
.assign(2,i,ckm(2,i));
28
X6
.assign(1,i,ckm(1,i));
29
// X7.assign(2,i,ckm(1,i));
30
// X8.assign(1,i,ckm(2,i));
31
X9
.assign(i,2,ckm(2,i).conjugate());
32
// X10.assign(i,1,ckm(1,i).conjugate());
33
// X11.assign(i,1,ckm(2,i).conjugate());
34
// X12.assign(i,2,ckm(1,i).conjugate());
35
for
(
int
j = 0; j < 3; j++ ){
36
X13
.assign(i,j,ckm(2,i).conjugate()*ckm(2,j));
37
// X14.assign(i,j,ckm(1,i).conjugate()*ckm(1,j));
38
// X15.assign(i,j,ckm(2,i).conjugate()*ckm(1,j));
39
// X16.assign(i,j,ckm(1,i).conjugate()*ckm(2,j));
40
}
41
}
42
myA
= CKM_in.
getA
();
43
myrho
= CKM_in.
getRhoBar
();
44
myeta
= CKM_in.
getEtaBar
();
45
mylambda
= CKM_in.
getLambda
();
46
}
47
Xmatrices.h
CKM
A class for the CKM matrix elements.
Definition
CKM.h:23
CKM::getCKM
const gslpp::matrix< gslpp::complex > getCKM() const
A member for returning the CKM matrix.
Definition
CKM.h:59
CKM::getA
const double getA() const
A member for returning the value of the Wolfenstein parameter .
Definition
CKM.h:97
CKM::getRhoBar
const double getRhoBar() const
A member for returning the value of the Wolfenstein parameter .
Definition
CKM.h:70
CKM::getLambda
const double getLambda() const
A member for returning the value of the Wolfenstein parameter .
Definition
CKM.h:88
CKM::getEtaBar
const double getEtaBar() const
A member for returning the value of the Wolfenstein parameter .
Definition
CKM.h:79
Xmatrices::Update
void Update(const CKM &)
Definition
Xmatrices.cpp:19
Xmatrices::X3
gslpp::matrix< gslpp::complex > X3
Definition
Xmatrices.h:53
Xmatrices::X1
gslpp::matrix< gslpp::complex > X1
Definition
Xmatrices.h:53
Xmatrices::mylambda
double mylambda
Definition
Xmatrices.h:54
Xmatrices::myeta
double myeta
Definition
Xmatrices.h:54
Xmatrices::X9
gslpp::matrix< gslpp::complex > X9
Definition
Xmatrices.h:53
Xmatrices::X5
gslpp::matrix< gslpp::complex > X5
Definition
Xmatrices.h:53
Xmatrices::X4
gslpp::matrix< gslpp::complex > X4
Definition
Xmatrices.h:53
Xmatrices::X2
gslpp::matrix< gslpp::complex > X2
Definition
Xmatrices.h:53
Xmatrices::X6
gslpp::matrix< gslpp::complex > X6
Definition
Xmatrices.h:53
Xmatrices::myA
double myA
Definition
Xmatrices.h:54
Xmatrices::Xmatrices
Xmatrices()
Definition
Xmatrices.cpp:10
Xmatrices::myrho
double myrho
Definition
Xmatrices.h:54
Xmatrices::X13
gslpp::matrix< gslpp::complex > X13
Definition
Xmatrices.h:53
MFV
src
Xmatrices.cpp
Generated on Tue Aug 4 2026 for $\texttt{HEPfit}$ using
1.9.8