HeffDLij.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 HEPfit Collaboration
3  * All rights reserved.
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 
19 
20  switch (li_lj) {
21  case 1:
22  {
23  std::vector<WilsonCoefficient>& mcb1 = model.getMyMatching() -> 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  std::vector<WilsonCoefficient>& mcb2 = model.getMyMatching() -> 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  std::vector<WilsonCoefficient>& mcb3 = model.getMyMatching() -> 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 }
virtual StandardModelMatching * getMyMatching() const
A get method to access the member pointer of type StandardModelMatching.
virtual void resetCoefficient()
orders
An enum type for orders in QCD.
Definition: OrderScheme.h:31
virtual ~HeffDLij()
destructor of the class HeffDLij.
Definition: HeffDLij.cpp:15
gslpp::vector< gslpp::complex > ** getCoeff() const
A model class for the Standard Model.
WilsonCoefficient coeffDLij_2
Variable which stores the Wilson coefficient for .
Definition: HeffDLij.h:64
void setCoeff(const gslpp::vector< gslpp::complex > &z, orders order_i)
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
Definition: OrderScheme.h:33
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
orders getOrder() const
WilsonCoefficient coeffDLij_1
Variable which stores the Wilson coefficient for .
Definition: HeffDLij.h:60