a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
DmK.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 "DmK.h"
9#include "StandardModel.h"
10#include "std_make_vector.h"
11
12DmK::DmK(const StandardModel& SM_i) : ThObservable(SM_i), AmpDK2(SM_i)
13{
14 setParametersForObservable(make_vector<std::string>() << "DmkSM");
15};
16
18{
19 return(SM.getCDMK()* (2.*AmpDMKNP(FULLNLO).real() + SM.getOptionalParameter("DmkSM")));
20}
@ FULLNLO
Definition: OrderScheme.h:38
A class for calculating the amplitudes contributing to and .
Definition: AmpDK2.h:30
gslpp::complex AmpDMKNP(orders order)
compute the NP part of the amplitude for kaon oscillations
Definition: AmpDK2.cpp:72
DmK(const StandardModel &SM_i)
Constructor.
Definition: DmK.cpp:12
virtual double computeThValue()
Definition: DmK.cpp:17
const double getOptionalParameter(std::string name) const
A method to get parameters that are specific to only one set of observables.
Definition: QCD.h:450
A model class for the Standard Model.
virtual const double getCDMK() const
The ratio of the real part of the $K$ mixing amplitude over the Standard Model value.
A class for a model prediction of an observable.
Definition: ThObservable.h:25
void setParametersForObservable(std::vector< std::string > parametersForObservable_i)
A set method to get the parameters for the specific observable.
Definition: ThObservable.h:109
const StandardModel & SM
A reference to an object of StandardMode class.
Definition: ThObservable.h:121