a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
HeffDLij.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 "HeffDLij.h"
9
11 model(SM_i),
12 coeffDLij_1(2, NDR , LO),coeffDLij_2(2, NDR , LO),coeffDLij_3(2, NDR , LO){
13}
14
16}
17
18gslpp::vector<gslpp::complex>** HeffDLij::ComputeCoeffDLij(int li_lj) {
19
20 switch (li_lj) {
21 case 1:
22 {
23 const std::vector<WilsonCoefficient>& mcb1 = model.getMatching().CMDLij(1);
24 orders ordDLij_1 = coeffDLij_1.getOrder();
26 for (unsigned int i = 0; i < mcb1.size(); i++){
27 for (int j = LO; j <= ordDLij_1; j++){
29 + *mcb1[i].getCoeff(orders(j)), orders(j));
30 }
31 }
32 return coeffDLij_1.getCoeff();
33 }
34 case 2:
35 {
36 const std::vector<WilsonCoefficient>& mcb2 = model.getMatching().CMDLij(2);
37 orders ordDLij_2 = coeffDLij_2.getOrder();
39 for (unsigned int i = 0; i < mcb2.size(); i++){
40 for (int j = LO; j <= ordDLij_2; j++){
42 + *mcb2[i].getCoeff(orders(j)), orders(j));
43 }
44 }
45 return coeffDLij_2.getCoeff();
46 }
47 case 3:
48 {
49 const std::vector<WilsonCoefficient>& mcb3 = model.getMatching().CMDLij(3);
50 orders ordDLij_3 = coeffDLij_3.getOrder();
52 for (unsigned int i = 0; i < mcb3.size(); i++){
53 for (int j = LO; j <= ordDLij_3; j++){
55 + *mcb3[i].getCoeff(orders(j)), orders(j));
56 }
57 }
58 return coeffDLij_3.getCoeff();
59 }
60 default:
61 {
62 throw std::runtime_error("wrong input for the lepton flag in li->lj gamma decays");
63 }
64 }
65}
@ LO
Definition: OrderScheme.h:34
@ NDR
Definition: OrderScheme.h:21
virtual ~HeffDLij()
destructor of the class HeffDLij.
Definition: HeffDLij.cpp:15
const StandardModel & model
Variable which stores the model information.
Definition: HeffDLij.h:55
WilsonCoefficient coeffDLij_3
Variable which stores the Wilson coefficient for .
Definition: HeffDLij.h:68
WilsonCoefficient coeffDLij_1
Variable which stores the Wilson coefficient for .
Definition: HeffDLij.h:60
WilsonCoefficient coeffDLij_2
Variable which stores the Wilson coefficient for .
Definition: HeffDLij.h:64
gslpp::vector< gslpp::complex > ** ComputeCoeffDLij(int li_lj)
Computes the Wilson coefficients for the process .
Definition: HeffDLij.cpp:18
HeffDLij(const StandardModel &SM_i)
The constructor of the class HeffDLij.
Definition: HeffDLij.cpp:10
A model class for the Standard Model.
virtual StandardModelMatching & getMatching() const
A get method to access the member reference of type StandardModelMatching.
gslpp::vector< gslpp::complex > ** getCoeff() const
void setCoeff(const gslpp::vector< gslpp::complex > &z, orders order_i)
orders getOrder() const
virtual void resetCoefficient()
orders
An enum type for orders in QCD.
Definition: OrderScheme.h:33