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

A class for the correction \(h_+\) in \(B \to K^*\). More...

#include <MVllObservables.h>

+ Inheritance diagram for h_p:

Detailed Description

A class for the correction \(h_+\) in \(B \to K^*\).

Author
HEPfit Collaboration

This class is used to compute the correction \(h_+\) in \(B \to K^*\)

Definition at line 1625 of file MVllObservables.h.

Public Member Functions

double computeThValue ()
 The correction \(h_+\) in \(B \to K^*\). More...
 
 h_p (const StandardModel &SM_i, QCD::meson meson_i, QCD::meson vector_i, QCD::lepton lep_i, unsigned int typ_i)
 Constructor. 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...
 

Private Attributes

QCD::lepton lep
 
QCD::meson meson
 
unsigned int typ
 
QCD::meson vectorM
 

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

◆ h_p()

h_p::h_p ( const StandardModel SM_i,
QCD::meson  meson_i,
QCD::meson  vector_i,
QCD::lepton  lep_i,
unsigned int  typ_i 
)

Constructor.

Parameters
[in]SM_ia reference to an object of type StandardModel
[in]meson_iinitial meson of the decay
[in]vector_ifinal vector meson of the decay
[in]typ_iobservable type

Definition at line 853 of file MVllObservables.cpp.

854: ThObservable(SM_i)
855{
856 lep = lep_i;
857 meson = meson_i;
858 vectorM = vector_i;
859 typ = typ_i;
860
862}
MVll & getMVll(QCD::meson meson_i, QCD::meson vector_i, QCD::lepton lep_i) const
Returns the initial and final state dependent object for .
Definition: Flavour.cpp:209
std::vector< std::string > initializeMVllParameters()
A method for initializing the parameters necessary for MVll.
Definition: MVll.cpp:160
const Flavour & getFlavour() const
void setParametersForObservable(std::vector< std::string > parametersForObservable_i)
A set method to get the parameters for the specific observable.
Definition: ThObservable.h:109
ThObservable(const StandardModel &SM_i)
Constructor.
Definition: ThObservable.h:32
const StandardModel & SM
A reference to an object of StandardMode class.
Definition: ThObservable.h:121
QCD::meson vectorM
unsigned int typ
QCD::meson meson
QCD::lepton lep

Member Function Documentation

◆ computeThValue()

double h_p::computeThValue ( )
virtual

The correction \(h_+\) in \(B \to K^*\).

Returns
\(h_+\)

Implements ThObservable.

Definition at line 864 of file MVllObservables.cpp.

865{
866 double q_min = getBinMin();
867
868 if (typ == 1) return (SM.getFlavour().getMVll(meson, vectorM, lep).geth_p_re(q_min));
869 else if (typ == 2) return (SM.getFlavour().getMVll(meson, vectorM, lep).geth_p_im(q_min));
870 else if (typ == 3) return ((SM.getFlavour().getMVll(meson, vectorM, lep).geth_p_re(q_min) + gslpp::complex::i() * SM.getFlavour().getMVll(meson, vectorM, lep).geth_p_im(q_min)).abs());
871 else if (typ == 4) return ((SM.getFlavour().getMVll(meson, vectorM, lep).geth_p_re(q_min) + gslpp::complex::i() * SM.getFlavour().getMVll(meson, vectorM, lep).geth_p_im(q_min)).arg());
872 else throw std::runtime_error("MVllObservables::h_p: type can only be 1:real, 2:imaginary, 3:absolute and 4:argument");
873}
double geth_p_im(double q2)
The imaginary part of .
Definition: MVll.h:738
double geth_p_re(double q2)
The real part of .
Definition: MVll.h:728
double getBinMin()
A get method to get the minimum value of the bin.
Definition: ThObservable.h:82

Member Data Documentation

◆ lep

QCD::lepton h_p::lep
private

Final leptons type.

Definition at line 1644 of file MVllObservables.h.

◆ meson

QCD::meson h_p::meson
private

Initial meson type.

Definition at line 1645 of file MVllObservables.h.

◆ typ

unsigned int h_p::typ
private

Observable type: 1 for averaged real part, 2 for averaged immaginary part, 3 for averaged absolute part, 4 for averaged argument part.

Definition at line 1647 of file MVllObservables.h.

◆ vectorM

QCD::meson h_p::vectorM
private

Final vector meson type.

Definition at line 1646 of file MVllObservables.h.


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