master
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
Mneutralino.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2013 HEPfit Collaboration
3
*
4
*
5
* For the licensing terms see doc/COPYING.
6
*/
7
8
#ifndef MNEUTRALINO_H
9
#define MNEUTRALINO_H
10
11
#include <
ThObservable.h
>
12
13
14
#include "
SUSY.h
"
15
24
class
Mneutralino
:
public
ThObservable
{
25
public
:
26
27
Mneutralino
(
const
StandardModel
& SM_i,
const
int
ind)
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
};
33
34
double
computeThValue
()
35
{
36
return
(
mySUSY
->
getMneu
()(
index
));
37
};
38
39
private
:
40
const
int
index
;
41
const
SUSY
*
mySUSY
;
42
43
};
44
45
#endif
/* MNEUTRALINO_H */
46
ThObservable.h
Mneutralino::computeThValue
double computeThValue()
Definition:
Mneutralino.h:34
StandardModel
A model class for the Standard Model.
Definition:
StandardModel.h:477
Mneutralino::index
const int index
Definition:
Mneutralino.h:37
SUSY
A base class for SUSY models.
Definition:
SUSY.h:26
Mneutralino::mySUSY
const SUSY * mySUSY
Definition:
Mneutralino.h:41
ThObservable
A class for a model prediction of an observable.
Definition:
ThObservable.h:25
Model::isModelSUSY
bool isModelSUSY() const
Definition:
Model.h:182
SUSY.h
SUSY::getMneu
gslpp::vector< double > getMneu() const
Gets the neutralino masses.
Definition:
SUSY.h:294
Mneutralino::Mneutralino
Mneutralino(const StandardModel &SM_i, const int ind)
Definition:
Mneutralino.h:27
Mneutralino
A class for the neutralino masses.
Definition:
Mneutralino.h:24
SUSY
src
Mneutralino.h
Generated on Thu Oct 31 2019 for $\texttt{HEPfit}$ using
1.8.16