a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
BR_Kp0nunu.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_Kp0nunu.h"
9 #include "StandardModel.h"
10 #include "std_make_vector.h"
11 #include "HeffDS1.h"
12 
14 : ThObservable(SM_i), mySM(SM_i)
15 {
16  setParametersForObservable(make_vector<std::string>() << "Br_Kp_P0enu" << "IB_Kl");
19 }
20 
22 {
23  double theta = asin(sqrt( (M_PI * SM.getAle() )/( sqrt(2) * SM.getGF() *
24  SM.Mw_tree() * SM.Mw_tree()) ));
25 
26  return(SM.getOptionalParameter("IB_Kl") * (SM.getMesons(QCD::K_0).getLifetime() / HCUT / SM.getMesons(QCD::K_P).getLifetime() / HCUT)
27  * 3. * SM.getAle() * SM.getAle() / (2.*M_PI*M_PI*pow(sin(theta),4.)) * SM.getOptionalParameter("Br_Kp_P0enu") *
29 }
30 
32 {
33  if (mySM.getFlavour().getHDS1().getCoeffDS1pnunu().getOrder() < order){
34  std::stringstream out;
35  out << order;
36  throw std::runtime_error("BRKp0nunu::computeThValue(): requires cofficient of "
37  "order" + out.str() + "not computed");
38  }
39 
41 
42  switch(order_qed) {
43  case NLO_QED11:
44  return((*(allcoeff[LO]) + *(allcoeff[NLO]) + *(allcoeff[NLO_QED11])) *
45  (*(allcoeff[LO]) + *(allcoeff[NLO]) + *(allcoeff[NLO_QED11])));
46  case LO_QED:
47  switch(order) {
48  case NLO:
49  return((*(allcoeff[LO]) + *(allcoeff[NLO])) *
50  (*(allcoeff[LO]) + *(allcoeff[NLO])));
51  case LO:
52  return((*(allcoeff[LO])) * (*(allcoeff[LO])));
53  default:
54  std::stringstream out;
55  out << order;
56  throw std::runtime_error("BRKp0nunu::BRKp0nunu(): order " + out.str() + "not implemented");
57  }
58  default:
59  std::stringstream out;
60  out << order_qed;
61  throw std::runtime_error("BRKp0nunu::BRKp0nunu(): order_qed " + out.str() + "not implemented");
62  }
63 }
64 
65 
std_make_vector.h
BR_Kp0nunu::mySM
StandardModel & mySM
Definition: BR_Kp0nunu.h:82
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
gslpp::sin
complex sin(const complex &z)
Definition: gslpp_complex.cpp:420
QCD::initializeMeson
void initializeMeson(QCD::meson meson_i) const
A method to initialize a meson.
Definition: QCD.cpp:236
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
HeffDS1.h
WilsonTemplate::getOrder
orders getOrder() const
Definition: WilsonTemplate.h:65
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
QCD::getMesons
Meson getMesons(const QCD::meson m) const
A get method to access a meson as an object of the type Meson.
Definition: QCD.h:524
LO_QED
Definition: OrderScheme.h:50
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
QCD::K_P
Definition: QCD.h:340
StandardModel::getFlavour
const Flavour & getFlavour() const
Definition: StandardModel.h:1020
Meson::getLifetime
double getLifetime() const
A get method for the lifetime of the meson.
Definition: Meson.h:351
BR_Kp0nunu::BRKp0nunu
gslpp::complex BRKp0nunu(orders order, orders_qed order_qed)
Definition: BR_Kp0nunu.cpp:31
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_Kp0nunu.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
QCD::K_0
Definition: QCD.h:339
BR_Kp0nunu::computeThValue
double computeThValue()
Definition: BR_Kp0nunu.cpp:21
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
BR_Kp0nunu::BR_Kp0nunu
BR_Kp0nunu(StandardModel &SM_i)
Definition: BR_Kp0nunu.cpp:13
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 >