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

A class for the Higgs masses. More...

#include <Mhiggs.h>

+ Inheritance diagram for Mhiggs:

Detailed Description

A class for the Higgs masses.

Author
HEPfit Collaboration

Definition at line 23 of file Mhiggs.h.

Public Member Functions

double computeThValue ()
 
 Mhiggs (const StandardModel &SM_i, const int ind)
 
- 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

const int index
 
const SUSY * mySUSY
 

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

◆ Mhiggs()

Mhiggs::Mhiggs ( const StandardModel SM_i,
const int  ind 
)
inline

Definition at line 26 of file Mhiggs.h.

27  : ThObservable(SM_i), index(ind), mySUSY(static_cast<const SUSY*> (&SM_i))
28  {
29  if (mySUSY->isModelSUSY() == false)
30  throw std::runtime_error("\nERROR: The Higgs mass spectrum can only be computed in a SUSY model. Please check your observables list.\n");
31  };

Member Function Documentation

◆ computeThValue()

double Mhiggs::computeThValue ( )
inlinevirtual

Implements ThObservable.

Definition at line 33 of file Mhiggs.h.

34  {
35  switch(index) {
36  case 0:
37  return mySUSY->getMHl();
38  case 1:
39  return mySUSY->getMHh();
40  case 2:
41  return mySUSY->getMHa();
42  case 3:
43  return mySUSY->getMHp();
44  default:
45  throw std::runtime_error("Mhiggs::computeThValue(): undefined index");
46  }
47  };

Member Data Documentation

◆ index

const int Mhiggs::index
private

Definition at line 47 of file Mhiggs.h.

◆ mySUSY

const SUSY* Mhiggs::mySUSY
private

Definition at line 51 of file Mhiggs.h.


The documentation for this class was generated from the following file:
ThObservable::ThObservable
ThObservable(const StandardModel &SM_i)
Constructor.
Definition: ThObservable.h:32
Mhiggs::mySUSY
const SUSY * mySUSY
Definition: Mhiggs.h:51
Mhiggs::index
const int index
Definition: Mhiggs.h:47