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
18gslpp::complex AmpDD2::AmpDD(orders order)
19{
20 if (mySM.getFlavour().getHDF2().getCoeffDD().getOrder() < order % 3)
21 throw std::runtime_error("DmD::computeThValue(): requires cofficient of order not computed");
22
23 gslpp::vector<gslpp::complex> ** allcoeff = mySM.getFlavour().ComputeCoeffdd(
24 mySM.getBD().getMu(),
25 mySM.getBD().getScheme());
26 gslpp::vector<double> me(mySM.getBD().getBpars());
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
@ LO
Definition: OrderScheme.h:34
@ NLO
Definition: OrderScheme.h:35
@ FULLNLO
Definition: OrderScheme.h:38
const double & getMu() const
A get method for the scale of the bag parameters.
Definition: BParameter.h:204
schemes getScheme() const
A get method for the scheme of the bag parameters.
Definition: BParameter.h:222
const gslpp::vector< double > & getBpars() const
A get method for the vector of the bag parameters.
Definition: BParameter.h:176
HeffDF2 & getHDF2() const
The member that returns an object of the class HeffDF2.
Definition: Flavour.cpp:81
gslpp::vector< gslpp::complex > ** ComputeCoeffdd(double mu, schemes scheme=NDR) const
Definition: Flavour.cpp:111
WilsonCoefficient getCoeffDD() const
Definition: HeffDF2.h:108
const double & getDecayconst() const
A get method for the decay constant of the meson.
Definition: Meson.h:360
const double & getMass() const
A get method to access the particle mass.
Definition: Particle.h:61
@ D_0
Definition: QCD.h:341
const BParameter & getBD() const
For getting the bag parameters corresponding to the operator basis in process in the meson system.
Definition: QCD.h:673
const Meson & getMesons(const QCD::meson m) const
A get method to access a meson as an object of the type Meson.
Definition: QCD.h:526
@ UP
Definition: QCD.h:324
@ CHARM
Definition: QCD.h:326
void initializeBParameter(std::string name_i) const
A method to initialize B Parameter and the corresponding meson.
Definition: QCD.cpp:211
const Particle & getQuarks(const QCD::quark q) const
A get method to access a quark as an object of the type Particle.
Definition: QCD.h:536
A model class for the Standard Model.
const Flavour & getFlavour() const
orders getOrder() const
AmpDD2(const StandardModel &SM_i)
Amplitude Class
Definition: AmpDD2.cpp:12
const StandardModel & mySM
Definition: AmpDD2.h:46
gslpp::complex AmpDD(orders order)
a method returning the complex amplitude for the mixing
Definition: AmpDD2.cpp:18
orders
An enum type for orders in QCD.
Definition: OrderScheme.h:33