WilsonCoefficient Class Reference

A class for the Wilson coefficients. More...

#include <WilsonCoefficient.h>

Inheritance diagram for WilsonCoefficient:
[legend]
Collaboration diagram for WilsonCoefficient:
[legend]

Detailed Description

A class for the Wilson coefficients.

Author
HEPfit Collaboration

Definition at line 22 of file WilsonCoefficient.h.

Public Member Functions

gslpp::vector< gslpp::complex > ** getCoeff () const
 
gslpp::vector< gslpp::complex > * getCoeff (orders ord) const
 
gslpp::vector< gslpp::complex > * getCoeff (orders_ew ord_ew) const
 
void setCoeff (const gslpp::vector< gslpp::complex > &z, orders order_i)
 
void setCoeff (const gslpp::vector< gslpp::complex > &z, orders_ew order_ew_i)
 
void setCoeff (unsigned int i, gslpp::complex z, orders order_i)
 
void setCoeff (unsigned int i, gslpp::complex z, orders_ew order_ew_i)
 
 WilsonCoefficient (unsigned int dim, schemes scheme, orders order)
 
 WilsonCoefficient (unsigned int dim, schemes scheme, orders order, orders_ew order_ew)
 
- Public Member Functions inherited from WilsonTemplate< gslpp::vector< gslpp::complex > >
double getMu () const
 
orders getOrder () const
 
orders_ew getOrder_ew () const
 
schemes getScheme () const
 
unsigned int getSize () const
 
virtual void resetCoefficient ()
 
virtual void setMu (double mu)
 
void setScheme (schemes scheme)
 
 WilsonTemplate (const WilsonTemplate< gslpp::vector< gslpp::complex > > &orig)
 
 WilsonTemplate (unsigned int dim, schemes scheme_i, orders order_i, orders_ew order_ew_i=NULL_ew)
 
virtual ~WilsonTemplate ()
 

Additional Inherited Members

- Protected Member Functions inherited from WilsonTemplate< gslpp::vector< gslpp::complex > >
gslpp::vector< gslpp::complex > * Elem (orders order) const
 
gslpp::vector< gslpp::complex > * Elem (orders_ew order_ew) const
 
void setElem (const gslpp::vector< gslpp::complex > &v, orders order_i)
 
void setElem (const gslpp::vector< gslpp::complex > &v, orders_ew order_ew_i)
 
- Protected Attributes inherited from WilsonTemplate< gslpp::vector< gslpp::complex > >
gslpp::vector< gslpp::complex > * elem [MAXORDER_EW+1]
 
double mu
 
orders order
 
orders_ew order_ew
 
schemes scheme
 
unsigned int size
 

Constructor & Destructor Documentation

WilsonCoefficient::WilsonCoefficient ( unsigned int  dim,
schemes  scheme,
orders  order 
)
inline

Definition at line 25 of file WilsonCoefficient.h.

WilsonCoefficient::WilsonCoefficient ( unsigned int  dim,
schemes  scheme,
orders  order,
orders_ew  order_ew 
)
inline

Member Function Documentation

gslpp::vector<gslpp::complex>** WilsonCoefficient::getCoeff ( ) const
inline

Definition at line 35 of file WilsonCoefficient.h.

36  {
38  }
gslpp::vector< gslpp::complex > * elem[MAXORDER_EW+1]
gslpp::vector<gslpp::complex>* WilsonCoefficient::getCoeff ( orders  ord) const
inline

Definition at line 54 of file WilsonCoefficient.h.

54 { return Elem(ord); };
gslpp::vector< gslpp::complex > * Elem(orders order) const
gslpp::vector<gslpp::complex>* WilsonCoefficient::getCoeff ( orders_ew  ord_ew) const
inline

Definition at line 56 of file WilsonCoefficient.h.

56 { return Elem(ord_ew); };
gslpp::vector< gslpp::complex > * Elem(orders order) const
void WilsonCoefficient::setCoeff ( const gslpp::vector< gslpp::complex > &  z,
orders  order_i 
)
inline

Definition at line 40 of file WilsonCoefficient.h.

41  {
42  setElem(z, order_i);
43  };
void setElem(const gslpp::vector< gslpp::complex > &v, orders order_i)
void WilsonCoefficient::setCoeff ( const gslpp::vector< gslpp::complex > &  z,
orders_ew  order_ew_i 
)
inline

Definition at line 45 of file WilsonCoefficient.h.

46  {
47  setElem(z, order_ew_i);
48  };
void setElem(const gslpp::vector< gslpp::complex > &v, orders order_i)
void WilsonCoefficient::setCoeff ( unsigned int  i,
gslpp::complex  z,
orders  order_i 
)

Definition at line 12 of file WilsonCoefficient.cpp.

13 {
14  if ((unsigned int) i > size) {
15  std::stringstream out;
16  out << i;
17  throw std::runtime_error("WilsonCoefficient::setCoeff(): coefficient index "
18  + out.str() + " out of range");
19  }
20  if (order_i > order) {
21  std::stringstream out;
22  out << order_i;
23  throw std::runtime_error("WilsonCoefficient::setCoeff(): order " + out.str() +
24  " not implemented ");
25  }
26  elem[order_i]->assign(i, z);
27 }
gslpp::vector< gslpp::complex > * elem[MAXORDER_EW+1]
void WilsonCoefficient::setCoeff ( unsigned int  i,
gslpp::complex  z,
orders_ew  order_ew_i 
)

Definition at line 29 of file WilsonCoefficient.cpp.

30 {
31  if ((unsigned int) i > size) {
32  std::stringstream out;
33  out << i;
34  throw std::runtime_error("WilsonCoefficientEW::setCoeff(): coefficient index "
35  + out.str() + " out of range");
36  }
37  if (order_ew_i > order_ew) {
38  std::stringstream out;
39  out << order_ew_i;
40  throw std::runtime_error("WilsonCoefficientEW::setCoeff(): order_ew " + out.str() +
41  " not implemented ");
42  }
43  elem[order_ew_i]->assign(i, z);
44 }
gslpp::vector< gslpp::complex > * elem[MAXORDER_EW+1]

The documentation for this class was generated from the following files: