a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
gminus2_mu Class Reference

A class for calculating the \( (g-2)_{\mu} \) at one-loop. More...

#include <gminus2.h>

+ Inheritance diagram for gminus2_mu:

Detailed Description

A class for calculating the \( (g-2)_{\mu} \) at one-loop.

Author
HEPfit Collaboration

The gminus2_mu class calculates the contribution to \( (g-2)_{\mu} \) at one-loop generated in the model.

Definition at line 46 of file gminus2.h.

Public Member Functions

double computeThValue ()
 Calculates the value of \( (g-2)_{\mu} \) at one-loop. More...
 
 gminus2_mu (const StandardModel &SM_i)
 Constructor of the class gminus2_mu. More...
 
- Public Member Functions inherited from ThObservable
double getBinMax ()
 A get method to get the maximum value of the bin. More...
 
double getBinMin ()
 A get method to get the minimum value of the bin. More...
 
const StandardModelgetModel ()
 A get method to get the model. More...
 
const std::vector< std::string > getParametersForObservable ()
 A get method to get the parameters for the specific observable. More...
 
void setBinMax (double max)
 A set method to set the maximum value of the bin. More...
 
void setBinMin (double min)
 A set method to set the minimum value of the bin. More...
 
void setParametersForObservable (std::vector< std::string > parametersForObservable_i)
 A set method to get the parameters for the specific observable. More...
 
 ThObservable (const StandardModel &SM_i)
 Constructor. More...
 
 ThObservable (const ThObservable &orig)
 The copy constructor. More...
 
virtual ~ThObservable ()
 The default destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from ThObservable
double max
 the bin maximum. More...
 
double min
 The bin minimum. More...
 
std::vector< std::string > parametersForObservable
 a vector of parameter namesfor the specific observable More...
 
const StandardModelSM
 A reference to an object of StandardMode class. More...
 

Constructor & Destructor Documentation

◆ gminus2_mu()

gminus2_mu::gminus2_mu ( const StandardModel SM_i)

Constructor of the class gminus2_mu.

Definition at line 24 of file gminus2.cpp.

25: ThObservable(SM_i)
26{}
ThObservable(const StandardModel &SM_i)
Constructor.
Definition: ThObservable.h:32

Member Function Documentation

◆ computeThValue()

double gminus2_mu::computeThValue ( )
virtual

Calculates the value of \( (g-2)_{\mu} \) at one-loop.

Returns
value of \( (g-2)_{\mu} \)

Implements ThObservable.

Definition at line 28 of file gminus2.cpp.

29{
30 gslpp::vector<gslpp::complex> ** allcoeff_gminus2mu = SM.getMyLeptonFlavour()->ComputeCoeffgminus2mu();
31
32 return ((*(allcoeff_gminus2mu[LO]))(0)+(*(allcoeff_gminus2mu[LO]))(1)).real();
33}
@ LO
Definition: OrderScheme.h:34
gslpp::vector< gslpp::complex > ** ComputeCoeffgminus2mu()
Computes the Wilson coefficient for the process at one-loop.
LeptonFlavour * getMyLeptonFlavour() const
const StandardModel & SM
A reference to an object of StandardMode class.
Definition: ThObservable.h:121

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