a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
Mchargino.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 MCHARGINO_H
9#define MCHARGINO_H
10
11#include <ThObservable.h>
12#include "SUSY.h"
13
22class Mchargino : public ThObservable {
23public:
24
25 Mchargino(const StandardModel& SM_i, const int ind)
26 : ThObservable(SM_i), index(ind), mySUSY(static_cast<const SUSY*> (&SM_i))
27 {
28 if (mySUSY->isModelSUSY() == false)
29 throw std::runtime_error("\nERROR: The chargino mass spectrum can only be computed in a SUSY model. Please check your observables list.\n");
30 };
31
33 {
34 return (mySUSY->getMch()(index));
35 };
36
37private:
38 const int index;
39 const SUSY * mySUSY;
40};
41
42#endif /* MCHARGINO_H */
43
A class for the chargino masses.
Definition: Mchargino.h:22
const SUSY * mySUSY
Definition: Mchargino.h:39
const int index
Definition: Mchargino.h:35
Mchargino(const StandardModel &SM_i, const int ind)
Definition: Mchargino.h:25
double computeThValue()
Definition: Mchargino.h:32
bool isModelSUSY() const
Definition: Model.h:182
A base class for SUSY models.
Definition: SUSY.h:33
gslpp::vector< double > getMch() const
Gets the chargino masses.
Definition: SUSY.h:285
A model class for the Standard Model.
A class for a model prediction of an observable.
Definition: ThObservable.h:25