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

An observable class for the weak charge of the neutron. More...

#include <LE_ParityViolation.h>

+ Inheritance diagram for QWn:

Detailed Description

An observable class for the weak charge of the neutron.

Author
HEPfit Collaboration

This class is used to compute the weak charge of the neutron \(Q_W(n)\)

Definition at line 101 of file LE_ParityViolation.h.

Public Member Functions

double computeThValue ()
 The weak charge of the neutron \(Q_W(n)\). More...
 
 QWn (const StandardModel &SM_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...
 

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

◆ QWn()

QWn::QWn ( const StandardModel SM_i)
inline

Constructor.

Parameters
[in]SM_ia reference to an object of type StandardModel

Definition at line 108 of file LE_ParityViolation.h.

109 : ThObservable(SM_i)
110 {
111 };
ThObservable(const StandardModel &SM_i)
Constructor.
Definition: ThObservable.h:32

Member Function Documentation

◆ computeThValue()

double QWn::computeThValue ( )
virtual

The weak charge of the neutron \(Q_W(n)\).

Returns
\(Q_W(n)\)

Implements ThObservable.

Definition at line 24 of file LE_ParityViolation.cpp.

25{
26 return SM.Qwn();
27}
virtual const double Qwn() const
The computation of the neutron weak charge: Qwn.
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: