a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models Logo
ExtendedMass.hpp
Go to the documentation of this file.
1/*
2 * ExtendedMass.hpp
3 *
4 * Created on: Jan 8, 2012
5 * Author: Ben O'Leary (benjamin.oleary@gmail.com)
6 * Copyright 2012 Ben O'Leary
7 *
8 * This file is part of LesHouchesParserClasses, released under the
9 * GNU General Public License. Please see the accompanying
10 * README.LHPC_CPP.txt file for a full list of files, brief documentation
11 * on how to use these classes, and further details on the license.
12 */
13
14#ifndef EXTENDEDMASS_HPP_
15#define EXTENDEDMASS_HPP_
16
17#include <string>
19#include "RunningConstant.hpp"
21
22namespace LHPC
23{
24 // this is a class to hold the information about the mass of a particle in
25 // the FLHA format.
27 {
28 public:
30 ExtendedMass( ExtendedMass const& copySource );
32
33 double
34 getMass() const;
35 double
36 getMinusUncertainty() const;
37 double
38 getPlusUncertainty() const;
39 int
40 getScheme() const;
41 double
42 getScale() const;
43 void
44 setValues( double const massValue,
45 double const minusUncertainty,
46 double const plusUncertainty,
47 int const schemeType,
48 double const evaluationScale );
49 void
51 double const plusUncertainty );
52
53
54 protected:
55 double massValue;
60 };
61
62
63
64
65
66 inline double
68 {
69 return massValue;
70 }
71
72 inline double
74 {
75 return minusUncertainty;
76 }
77
78 inline double
80 {
81 return plusUncertainty;
82 }
83
84 inline int
86 {
87 return schemeType;
88 }
89
90 inline double
92 {
93 return evaluationScale;
94 }
95
96 inline void
97 ExtendedMass::setValues( double const massValue,
98 double const minusUncertainty,
99 double const plusUncertainty,
100 int const schemeType,
101 double const evaluationScale )
102 {
103 this->massValue = massValue;
104 this->minusUncertainty = minusUncertainty;
105 this->plusUncertainty = plusUncertainty;
106 this->schemeType = schemeType;
107 this->evaluationScale = evaluationScale;
108 }
109
110 inline void
111 ExtendedMass::setUncertainties( double const minusUncertainty,
112 double const plusUncertainty )
113 {
114 this->minusUncertainty = minusUncertainty;
115 this->plusUncertainty = plusUncertainty;
116 }
117
118}
119
120#endif /* EXTENDEDMASS_HPP_ */
void setUncertainties(double const minusUncertainty, double const plusUncertainty)
void setValues(double const massValue, double const minusUncertainty, double const plusUncertainty, int const schemeType, double const evaluationScale)
double getScale() const
int getScheme() const
double getPlusUncertainty() const
double getMass() const
double getMinusUncertainty() const