a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
AmpDD2.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 "AmpDD2.h"
9 #include "StandardModel.h"
10 #include "HeffDF2.h"
11 
13 : mySM(SM_i)
14 {
16 }
17 
19 {
20  if (mySM.getFlavour().getHDF2().getCoeffDD().getOrder() < order % 3)
21  throw std::runtime_error("DmD::computeThValue(): requires cofficient of order not computed");
22 
24  mySM.getBD().getMu(),
25  mySM.getBD().getScheme());
27  double MD = mySM.getMesons(QCD::D_0).getMass();
28  double Mc = mySM.getQuarks(QCD::CHARM).getMass();
29  double Mu = mySM.getQuarks(QCD::UP).getMass();
30  double KD = MD/(Mc+Mu)*MD/(Mc+Mu);
31  double FD = mySM.getMesons(QCD::D_0).getDecayconst();
32  me(0) *= 1./3.*MD*FD*FD;
33  me(1) *= -5./24.*KD*MD*FD*FD;
34  me(2) *= 1./24.*KD*MD*FD*FD;
35  me(3) *= 1./4.*KD*MD*FD*FD;
36  me(4) *= 1./12.*KD*MD*FD*FD;
37 
38  switch(order) {
39  case FULLNLO:
40  return((*(allcoeff[LO]) + *(allcoeff[NLO])) * me / HCUT);
41  case LO:
42  return((*(allcoeff[LO])) * me / HCUT);
43  default:
44  throw std::runtime_error("AmpDD2::AmpDD(): order not implemented");
45  }
46 }
47 
AmpDD2::mySM
const StandardModel & mySM
Definition: AmpDD2.h:46
QCD::initializeBParameter
void initializeBParameter(std::string name_i) const
A method to initialize B Parameter and the corresponding meson.
Definition: QCD.cpp:192
QCD::getBD
BParameter getBD() const
For getting the bag parameters corresponding to the operator basis in process in the meson system.
Definition: QCD.h:630
BParameter::getBpars
const gslpp::vector< double > & getBpars() const
A get method for the vector of the bag parameters.
Definition: BParameter.h:176
LO
Definition: OrderScheme.h:33
QCD::UP
Definition: QCD.h:324
StandardModel.h
QCD::CHARM
Definition: QCD.h:326
gslpp::complex
A class for defining operations on and functions of complex numbers.
Definition: gslpp_complex.h:35
AmpDD2::AmpDD2
AmpDD2(const StandardModel &SM_i)
Amplitude Class
Definition: AmpDD2.cpp:12
StandardModel
A model class for the Standard Model.
Definition: StandardModel.h:477
Flavour::ComputeCoeffdd
gslpp::vector< gslpp::complex > ** ComputeCoeffdd(double mu, schemes scheme=NDR) const
Definition: Flavour.cpp:69
WilsonTemplate::getOrder
orders getOrder() const
Definition: WilsonTemplate.h:65
Flavour::getHDF2
HeffDF2 & getHDF2() const
The member that returns an object of the class HeffDF2.
Definition: Flavour.cpp:44
Particle::getMass
const double & getMass() const
A get method to access the particle mass.
Definition: Particle.h:61
AmpDD2::AmpDD
gslpp::complex AmpDD(orders order)
a method returning the complex amplitude for the mixing
Definition: AmpDD2.cpp:18
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
Meson::getDecayconst
const double & getDecayconst() const
A get method for the decay constant of the meson.
Definition: Meson.h:360
HeffDF2.h
QCD::getQuarks
Particle getQuarks(const QCD::quark q) const
A get method to access a quark as an object of the type Particle.
Definition: QCD.h:534
HeffDF2::getCoeffDD
WilsonCoefficient getCoeffDD() const
Definition: HeffDF2.h:108
AmpDD2.h
QCD::D_0
Definition: QCD.h:341
gslpp::vector< double >
A class for constructing and defining operations on real vectors.
Definition: gslpp_vector_double.h:33
StandardModel::getFlavour
const Flavour & getFlavour() const
Definition: StandardModel.h:1020
orders
orders
An enum type for orders in QCD.
Definition: OrderScheme.h:31
BParameter::getScheme
schemes getScheme() const
A get method for the scheme of the bag parameters.
Definition: BParameter.h:222
NLO
Definition: OrderScheme.h:34
FULLNLO
Definition: OrderScheme.h:37
gslpp::vector< gslpp::complex >
BParameter::getMu
const double & getMu() const
A get method for the scale of the bag parameters.
Definition: BParameter.h:204