BParameter.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012 HEPfit Collaboration
3  * All rights reserved.
4  *
5  * For the licensing terms see doc/COPYING.
6  */
7 
8 #ifndef BPARAMETER_H
9 #define BPARAMETER_H
10 
11 #include <gslpp_vector_double.h>
12 #include "OrderScheme.h"
13 
28 class BParameter {
29 public:
30 
35  BParameter(int n)
36  : bpars(n,0.)
37  {};
38 
44  {
45  return bpars;
46  }
47 
53  {
54  this->bpars = bpars;
55  }
56 
62  void setBpars(int i, double value)
63  {
64  this->bpars(i) = value;
65  }
66 
71  const double& getMu() const
72  {
73  return mu;
74  }
75 
80  void setMu(double mu)
81  {
82  this->mu = mu;
83  }
89  {
90  return scheme;
91  }
92 
98  {
99  this->scheme = scheme;
100  }
101 
102 private:
104  double mu;
106 
107 };
108 
113 #endif /* BPARAMETER_H */
void setScheme(schemes scheme)
A set method for the scheme of the bag parameters.
Definition: BParameter.h:97
A class for the bag paramters.
Definition: BParameter.h:28
schemes getScheme() const
A get method for the scheme of the bag parameters.
Definition: BParameter.h:88
void setBpars(int i, double value)
A set method for a component of the vector of bag parameters.
Definition: BParameter.h:62
schemes
An enum type for regularization schemes.
Definition: OrderScheme.h:19
void setMu(double mu)
A set method for the scale of the bag parameters.
Definition: BParameter.h:80
void setBpars(gslpp::vector< double > bpars)
A set method for a vector of the bag parameters.
Definition: BParameter.h:52
BParameter(int n)
Constructor.
Definition: BParameter.h:35
gslpp::vector< double > bpars
A vector of bag parameters.
Definition: BParameter.h:103
const double & getMu() const
A get method for the scale of the bag parameters.
Definition: BParameter.h:71
const gslpp::vector< double > & getBpars() const
A get method for the vector of the bag parameters.
Definition: BParameter.h:43
A class for constructing and defining operations on real vectors.
double mu
The scale at which the bag parameters are defined.
Definition: BParameter.h:104
schemes scheme
The scheme in which the bag parameters are defined.
Definition: BParameter.h:105