master
a Code for the Combination of Indirect and Direct Constraints on High Energy Physics Models
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>
18
#include "
BOLlib/include/BOLlib.hpp
"
19
#include "
RunningConstant.hpp
"
20
#include "
RunningConstantError.hpp
"
21
22
namespace
LHPC
23
{
24
// this is a class to hold the information about the mass of a particle in
25
// the FLHA format.
26
class
ExtendedMass
27
{
28
public
:
29
ExtendedMass
();
30
ExtendedMass
(
ExtendedMass
const
& copySource );
31
~ExtendedMass
();
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
50
setUncertainties
(
double
const
minusUncertainty
,
51
double
const
plusUncertainty
);
52
53
54
protected
:
55
double
massValue
;
56
double
minusUncertainty
;
57
double
plusUncertainty
;
58
int
schemeType
;
59
double
evaluationScale
;
60
};
61
62
63
64
65
66
inline
double
67
ExtendedMass::getMass
()
const
68
{
69
return
massValue
;
70
}
71
72
inline
double
73
ExtendedMass::getMinusUncertainty
()
const
74
{
75
return
minusUncertainty
;
76
}
77
78
inline
double
79
ExtendedMass::getPlusUncertainty
()
const
80
{
81
return
plusUncertainty
;
82
}
83
84
inline
int
85
ExtendedMass::getScheme
()
const
86
{
87
return
schemeType
;
88
}
89
90
inline
double
91
ExtendedMass::getScale
()
const
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_ */
BOLlib.hpp
RunningConstant.hpp
RunningConstantError.hpp
LHPC::ExtendedMass
Definition:
ExtendedMass.hpp:27
LHPC::ExtendedMass::setUncertainties
void setUncertainties(double const minusUncertainty, double const plusUncertainty)
Definition:
ExtendedMass.hpp:111
LHPC::ExtendedMass::~ExtendedMass
~ExtendedMass()
Definition:
ExtendedMass.cpp:38
LHPC::ExtendedMass::setValues
void setValues(double const massValue, double const minusUncertainty, double const plusUncertainty, int const schemeType, double const evaluationScale)
Definition:
ExtendedMass.hpp:97
LHPC::ExtendedMass::getScale
double getScale() const
Definition:
ExtendedMass.hpp:91
LHPC::ExtendedMass::plusUncertainty
double plusUncertainty
Definition:
ExtendedMass.hpp:57
LHPC::ExtendedMass::minusUncertainty
double minusUncertainty
Definition:
ExtendedMass.hpp:56
LHPC::ExtendedMass::schemeType
int schemeType
Definition:
ExtendedMass.hpp:58
LHPC::ExtendedMass::getScheme
int getScheme() const
Definition:
ExtendedMass.hpp:85
LHPC::ExtendedMass::ExtendedMass
ExtendedMass()
Definition:
ExtendedMass.cpp:18
LHPC::ExtendedMass::getPlusUncertainty
double getPlusUncertainty() const
Definition:
ExtendedMass.hpp:79
LHPC::ExtendedMass::getMass
double getMass() const
Definition:
ExtendedMass.hpp:67
LHPC::ExtendedMass::massValue
double massValue
Definition:
ExtendedMass.hpp:55
LHPC::ExtendedMass::evaluationScale
double evaluationScale
Definition:
ExtendedMass.hpp:59
LHPC::ExtendedMass::getMinusUncertainty
double getMinusUncertainty() const
Definition:
ExtendedMass.hpp:73
LHPC
Definition:
FourMomentum.hpp:24
LHPC
include
MEC
ExtendedMass.hpp
Generated on Mon Aug 4 2025 for $\texttt{HEPfit}$ using
1.9.2