a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
EpsilonK.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 "EpsilonK.h"
9 #include "StandardModel.h"
10 #include "std_make_vector.h"
11 
13 {
14  setParametersForObservable(make_vector<std::string>() << "DeltaMK" << "KbarEpsK" << "phiEpsK");
15 }
16 
18 {
19 #if SUSYFIT_DEBUG & 2
20  std::cout << "amplitude = " << AmpDK(FULLNLO).imag() << std::endl;
21 #endif
22  return(SM.getCepsK() / SM.getOptionalParameter("DeltaMK") * AmpDK(FULLNLO).imag() * SM.getOptionalParameter("KbarEpsK") *
23  sin(SM.getOptionalParameter("phiEpsK") * M_PI / 180.));
24 }
std_make_vector.h
ThObservable::setParametersForObservable
void setParametersForObservable(std::vector< std::string > parametersForObservable_i)
A set method to get the parameters for the specific observable.
Definition: ThObservable.h:109
EpsilonK::computeThValue
double computeThValue()
Definition: EpsilonK.cpp:17
gslpp::sin
complex sin(const complex &z)
Definition: gslpp_complex.cpp:420
make_vector
Definition: std_make_vector.h:15
StandardModel.h
StandardModel::getCepsK
virtual double getCepsK() const
The ratio of the imaginary part of the $K$ mixing amplitude over the Standard Model value.
Definition: StandardModel.h:2447
StandardModel
A model class for the Standard Model.
Definition: StandardModel.h:474
gslpp::complex::imag
const double & imag() const
Definition: gslpp_complex.cpp:59
AmpDK2::AmpDK
gslpp::complex AmpDK(orders order)
compute the amplitude for kaon oscillations
Definition: AmpDK2.cpp:18
ThObservable::SM
const StandardModel & SM
A reference to an object of StandardMode class.
Definition: ThObservable.h:121
EpsilonK.h
EpsilonK::EpsilonK
EpsilonK(const StandardModel &SM_i)
Constructor.
Definition: EpsilonK.cpp:12
ThObservable
A class for a model prediction of an observable.
Definition: ThObservable.h:25
QCD::getOptionalParameter
double getOptionalParameter(std::string name) const
A method to get parameters that are specific to only one set of observables.
Definition: QCD.h:448
FULLNLO
Definition: OrderScheme.h:37
AmpDK2
A class for calculating the amplitudes contributing to and .
Definition: AmpDK2.h:30