a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
BR_Kppnunu.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 "BR_Kppnunu.h"
9 #include "StandardModel.h"
10 #include "std_make_vector.h"
11 #include "HeffDS1.h"
12 
14 : ThObservable(SM_i), mySM(SM_i), CKpnunu(SM)
15 {
16  setParametersForObservable(make_vector<std::string>() << "Br_Kp_P0enu" << "DeltaP_cu" << "IB_Kp");
17 }
18 
20 {
21  double theta= asin(sqrt( (M_PI * SM.getAle() )/( sqrt(2) * SM.getGF() *
22  SM.Mw_tree() * SM.Mw_tree()) ));
23 
24  return( SM.getOptionalParameter("IB_Kp") * 3.*SM.getAle()*SM.getAle()/(2.*M_PI*M_PI*pow(sin(theta),4.))
25  * SM.getOptionalParameter("Br_Kp_P0enu") * BRKppnunu(NLO, NLO_QED11).real());
26 }
27 
29 {
30  if (mySM.getFlavour().getHDS1().getCoeffDS1pnunu().getOrder() < order){
31  std::stringstream out;
32  out << order;
33  throw std::runtime_error("BRKppnunu::computeThValue(): requires cofficient of "
34  "order" + out.str() + "not computed");
35  }
36 
38 
39  switch(order_qed) {
40  case NLO_QED11:
41  return((*(allcoeff[LO]) + *(allcoeff[NLO]) + *(allcoeff[NLO_QED11])) *
42  (*(allcoeff[LO]) + *(allcoeff[NLO]) + *(allcoeff[NLO_QED11])) +
44  case LO_QED:
45  switch(order) {
46  case NLO:
47  return((*(allcoeff[LO]) + *(allcoeff[NLO])) *
48  (*(allcoeff[LO]) + *(allcoeff[NLO])) +
50  case LO:
51  return((*(allcoeff[LO])) * (*(allcoeff[LO]) ) +
53  default:
54  std::stringstream out;
55  out << order;
56  throw std::runtime_error("BRKppnunu::BRKppnunu(): order " + out.str() + "not implemented");
57  }
58  default:
59  std::stringstream out;
60  out << order_qed;
61  throw std::runtime_error("BRKppnunu::BRKppnunu(): order_qed " + out.str() + "not implemented");
62  }
63 }
64 
65 
std_make_vector.h
BR_Kppnunu::BR_Kppnunu
BR_Kppnunu(StandardModel &SM_i)
Definition: BR_Kppnunu.cpp:13
Flavour::ComputeCoeffDS1pnunu
gslpp::vector< gslpp::complex > ** ComputeCoeffDS1pnunu() const
Definition: Flavour.cpp:89
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
NLO_QED11
Definition: OrderScheme.h:51
BR_Kppnunu::BRKppnunu
gslpp::complex BRKppnunu(orders order, orders_qed order_qed)
Definition: BR_Kppnunu.cpp:28
gslpp::sin
complex sin(const complex &z)
Definition: gslpp_complex.cpp:420
make_vector
Definition: std_make_vector.h:15
LO
Definition: OrderScheme.h:33
StandardModel.h
gslpp::complex
A class for defining operations on and functions of complex numbers.
Definition: gslpp_complex.h:35
StandardModel
A model class for the Standard Model.
Definition: StandardModel.h:477
BR_Kppnunu::CKpnunu
Charm_Kpnunu CKpnunu
Definition: BR_Kppnunu.h:95
Charm_Kpnunu::C_TOT
double C_TOT(orders order, orders_qed order_qed)
Definition: Charm_Kpnunu.cpp:580
HeffDS1.h
BR_Kppnunu::mySM
StandardModel & mySM
Definition: BR_Kppnunu.h:94
WilsonTemplate::getOrder
orders getOrder() const
Definition: WilsonTemplate.h:65
BR_Kppnunu::computeThValue
double computeThValue()
Definition: BR_Kppnunu.cpp:19
gslpp::pow
complex pow(const complex &z1, const complex &z2)
Definition: gslpp_complex.cpp:395
StandardModel::getGF
double getGF() const
A get method to retrieve the Fermi constant .
Definition: StandardModel.h:739
gslpp::sqrt
complex sqrt(const complex &z)
Definition: gslpp_complex.cpp:385
LO_QED
Definition: OrderScheme.h:50
NNLO
Definition: OrderScheme.h:35
orders_qed
orders_qed
An enum type for orders in electroweak.
Definition: OrderScheme.h:47
ThObservable::SM
const StandardModel & SM
A reference to an object of StandardMode class.
Definition: ThObservable.h:121
StandardModel::getFlavour
const Flavour & getFlavour() const
Definition: StandardModel.h:1020
Flavour::getHDS1
HeffDS1 & getHDS1() const
The member that returns an object of the class HeffDS1.
Definition: Flavour.cpp:49
orders
orders
An enum type for orders in QCD.
Definition: OrderScheme.h:31
BR_Kppnunu.h
StandardModel::Mw_tree
virtual double Mw_tree() const
The tree-level mass of the boson, .
Definition: StandardModel.cpp:951
ThObservable
A class for a model prediction of an observable.
Definition: ThObservable.h:25
gslpp::complex::real
const double & real() const
Definition: gslpp_complex.cpp:53
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
NLO
Definition: OrderScheme.h:34
StandardModel::getAle
double getAle() const
A get method to retrieve the fine-structure constant .
Definition: StandardModel.h:748
HeffDS1::getCoeffDS1pnunu
WilsonCoefficient getCoeffDS1pnunu() const
Definition: HeffDS1.h:55
gslpp::vector< gslpp::complex >