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

#include <RunningConstantError.hpp>

Detailed Description

Definition at line 24 of file RunningConstantError.hpp.

Public Member Functions

std::string getAsString () const
 
double getMinusUncertainty () const
 
double getPlusUncertainty () const
 
double getScale () const
 
int getScheme () const
 
 RunningConstantError ()
 
 RunningConstantError (RunningConstantError const &copySource)
 
void setFromString (std::string const &valuesString)
 
void setValues (double const minusUncertainty, double const plusUncertainty, int const schemeType, double const evaluationScale)
 
 ~RunningConstantError ()
 

Protected Attributes

double evaluationScale
 
double minusUncertainty
 
double plusUncertainty
 
int schemeType
 

Constructor & Destructor Documentation

◆ RunningConstantError() [1/2]

LHPC::RunningConstantError::RunningConstantError ( )

◆ RunningConstantError() [2/2]

LHPC::RunningConstantError::RunningConstantError ( RunningConstantError const &  copySource)

Definition at line 27 of file RunningConstantError.cpp.

28 :
29 minusUncertainty( copySource.minusUncertainty ),
30 plusUncertainty( copySource.plusUncertainty ),
31 schemeType( copySource.schemeType ),
32 evaluationScale( copySource.evaluationScale )
33 {
34 // just an initialization list.
35 }

◆ ~RunningConstantError()

LHPC::RunningConstantError::~RunningConstantError ( )

Definition at line 37 of file RunningConstantError.cpp.

38 {
39 // does nothing.
40 }

Member Function Documentation

◆ getAsString()

std::string LHPC::RunningConstantError::getAsString ( ) const
inline

Definition at line 121 of file RunningConstantError.hpp.

122 {
123 std::string
125 9,
126 3 ) );
127 returnString.append( " " );
129 9,
130 3 ) );
131 returnString.append( " " );
132 returnString.append( BOL::StringParser::intToString( schemeType,
133 2,
134 "",
135 "-",
136 ' ' ) );
137 returnString.append( " " );
139 9,
140 3 ) );
141 return returnString;
142 }
static std::string intToString(int inputInt, int const minimumNumberOfDigits, std::string const prefixForPositiveNumbers="+", std::string const prefixForNegativeNumbers="-", char const paddingChar='0')
static std::string doubleToString(double inputDouble, int const numberOfMantissaDigits, int const numberOfExponentDigits, std::string const prefixForPositiveNumbers="+", std::string const prefixForNegativeNumbers="-", std::string const positiveExponentPrefix="+", std::string const negativeExponentPrefix="-", std::string const exponentCharacter="E")

◆ getMinusUncertainty()

double LHPC::RunningConstantError::getMinusUncertainty ( ) const
inline

Definition at line 62 of file RunningConstantError.hpp.

63 {
64 return minusUncertainty;
65 }

◆ getPlusUncertainty()

double LHPC::RunningConstantError::getPlusUncertainty ( ) const
inline

Definition at line 68 of file RunningConstantError.hpp.

69 {
70 return plusUncertainty;
71 }

◆ getScale()

double LHPC::RunningConstantError::getScale ( ) const
inline

Definition at line 80 of file RunningConstantError.hpp.

81 {
82 return evaluationScale;
83 }

◆ getScheme()

int LHPC::RunningConstantError::getScheme ( ) const
inline

Definition at line 74 of file RunningConstantError.hpp.

75 {
76 return schemeType;
77 }

◆ setFromString()

void LHPC::RunningConstantError::setFromString ( std::string const &  valuesString)
inline

Definition at line 98 of file RunningConstantError.hpp.

99 {
100 std::string firstRemainder;
101 std::string secondRemainder;
104 valuesString,
105 &firstRemainder,
109 firstRemainder,
110 &secondRemainder,
114 secondRemainder,
115 &firstRemainder,
118 }
static std::string firstWordOf(std::string const &stringToParse, std::string *const remainderString=NULL, std::string const &separatorChars=whitespaceChars)
static std::string const whitespaceAndNewlineChars
static double stringToDouble(std::string const &stringToInterpret)
static int stringToInt(std::string const &stringToInterpret)

◆ setValues()

void LHPC::RunningConstantError::setValues ( double const  minusUncertainty,
double const  plusUncertainty,
int const  schemeType,
double const  evaluationScale 
)
inline

Definition at line 86 of file RunningConstantError.hpp.

Member Data Documentation

◆ evaluationScale

double LHPC::RunningConstantError::evaluationScale
protected

Definition at line 54 of file RunningConstantError.hpp.

◆ minusUncertainty

double LHPC::RunningConstantError::minusUncertainty
protected

Definition at line 51 of file RunningConstantError.hpp.

◆ plusUncertainty

double LHPC::RunningConstantError::plusUncertainty
protected

Definition at line 52 of file RunningConstantError.hpp.

◆ schemeType

int LHPC::RunningConstantError::schemeType
protected

Definition at line 53 of file RunningConstantError.hpp.


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