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

A class for the neutralino masses. More...

#include <Mneutralino.h>

+ Inheritance diagram for Mneutralino:

Detailed Description

A class for the neutralino masses.

Author
HEPfit Collaboration

Definition at line 24 of file Mneutralino.h.

Public Member Functions

double computeThValue ()
 
 Mneutralino (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 SUSYmySUSY
 

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

◆ Mneutralino()

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

Definition at line 27 of file Mneutralino.h.

28 : ThObservable(SM_i), index(ind), mySUSY(static_cast<const SUSY*> (&SM_i))
29 {
30 if (mySUSY->isModelSUSY() == false)
31 throw std::runtime_error("\nERROR: The neutralino mass spectrum can only be computed in a SUSY model. Please check your observables list.\n");
32 };
const SUSY * mySUSY
Definition: Mneutralino.h:41
const int index
Definition: Mneutralino.h:37
bool isModelSUSY() const
Definition: Model.h:182
A base class for SUSY models.
Definition: SUSY.h:33
ThObservable(const StandardModel &SM_i)
Constructor.
Definition: ThObservable.h:32

Member Function Documentation

◆ computeThValue()

double Mneutralino::computeThValue ( )
inlinevirtual

Implements ThObservable.

Definition at line 34 of file Mneutralino.h.

35 {
36 return (mySUSY->getMneu()(index));
37 };
gslpp::vector< double > getMneu() const
Gets the neutralino masses.
Definition: SUSY.h:316

Member Data Documentation

◆ index

const int Mneutralino::index
private

Definition at line 40 of file Mneutralino.h.

◆ mySUSY

const SUSY* Mneutralino::mySUSY
private

Definition at line 41 of file Mneutralino.h.


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