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

#include <BClnuObservables.h>

+ Inheritance diagram for Q2moments_BClnu:

Detailed Description

Definition at line 15 of file BClnuObservables.h.

Public Member Functions

double computeThValue ()
 The computation of the moments, varying the number and q2cut. More...
 
 Q2moments_BClnu (const StandardModel &SM_i, QCD::meson meson_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::meson meson1
 
unsigned int typ
 

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

◆ Q2moments_BClnu()

Q2moments_BClnu::Q2moments_BClnu ( const StandardModel SM_i,
QCD::meson  meson_i,
unsigned int  typ_i 
)

Constructor.

This isn't needed in this detail, but will be useful later on with the generalization

Parameters
[in]SM_ia reference to an object of type StandardModel
[in]meson_iinitial meson of the decay
[in]typ_ithe order of the moment

Definition at line 13 of file BClnuObservables.cpp.

14: ThObservable(SM_i)
15{
16 meson1 = meson_i;
17 typ = typ_i;
18
20}
std::vector< std::string > initializeBClnuParameters()
Initialization of the parameters (later on we'll have the update)
Definition: BClnu.cpp:103
BClnu & getBClnu(QCD::meson meson_i) const
Returns the initial and final state dependent object for .
Definition: Flavour.cpp:300
unsigned int typ
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

Member Function Documentation

◆ computeThValue()

double Q2moments_BClnu::computeThValue ( )
virtual

The computation of the moments, varying the number and q2cut.

Returns
Q2moments(i,q2cut)
Note
All the other parameters are initialized in the constructor

Implements ThObservable.

Definition at line 22 of file BClnuObservables.cpp.

23{
24 double q2cut = getBinMin();
25
26 if (typ == 1) return (SM.getFlavour().getBClnu(meson1).Q2moment_1(q2cut));
27 else if (typ == 2) return (SM.getFlavour().getBClnu(meson1).Q2moment_2(q2cut));
28 else if (typ == 3) return (SM.getFlavour().getBClnu(meson1).Q2moment_3(q2cut));
29 else throw std::runtime_error("BClnuObservables::Q2moments_BClnu: incorrect type");
30}
double Q2moment_2(double q2cut)
Definition: BClnu.cpp:9618
double Q2moment_1(double q2cut)
Functions for the moments computation.
Definition: BClnu.cpp:9378
double Q2moment_3(double q2cut)
Definition: BClnu.cpp:10079
double getBinMin()
A get method to get the minimum value of the bin.
Definition: ThObservable.h:82

Member Data Documentation

◆ meson1

QCD::meson Q2moments_BClnu::meson1
private

Initial meson type

Definition at line 38 of file BClnuObservables.h.

◆ typ

unsigned int Q2moments_BClnu::typ
private

Type of the moment

Definition at line 39 of file BClnuObservables.h.


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