BParameter Class Reference

A class for the bag paramters. More...

#include <BParameter.h>

Collaboration diagram for BParameter:
[legend]

Detailed Description

A class for the bag paramters.

Author
HEPfit Collaboration

This is the class for defining bag parameters, which depend on a specified scale and scheme.

Definition at line 28 of file BParameter.h.

Public Member Functions

 BParameter (int n)
 Constructor. More...
 
const gslpp::vector< double > & getBpars () const
 A get method for the vector of the bag parameters. More...
 
const double & getMu () const
 A get method for the scale of the bag parameters. More...
 
schemes getScheme () const
 A get method for the scheme of the bag parameters. More...
 
void setBpars (gslpp::vector< double > bpars)
 A set method for a vector of the bag parameters. More...
 
void setBpars (int i, double value)
 A set method for a component of the vector of bag parameters. More...
 
void setMu (double mu)
 A set method for the scale of the bag parameters. More...
 
void setScheme (schemes scheme)
 A set method for the scheme of the bag parameters. More...
 

Private Attributes

gslpp::vector< double > bpars
 A vector of bag parameters. More...
 
double mu
 The scale at which the bag parameters are defined. More...
 
schemes scheme
 The scheme in which the bag parameters are defined. More...
 

Constructor & Destructor Documentation

BParameter::BParameter ( int  n)
inline

Constructor.

Parameters
[in]ndimension of the vector of bag parameters

Definition at line 35 of file BParameter.h.

36  : bpars(n,0.)
37  {};
gslpp::vector< double > bpars
A vector of bag parameters.
Definition: BParameter.h:103

Member Function Documentation

const gslpp::vector<double>& BParameter::getBpars ( ) const
inline

A get method for the vector of the bag parameters.

Returns
the vector of the bag parameters

Definition at line 43 of file BParameter.h.

44  {
45  return bpars;
46  }
gslpp::vector< double > bpars
A vector of bag parameters.
Definition: BParameter.h:103
const double& BParameter::getMu ( ) const
inline

A get method for the scale of the bag parameters.

Returns
the scale at which the bag parameters are defined

Definition at line 71 of file BParameter.h.

72  {
73  return mu;
74  }
double mu
The scale at which the bag parameters are defined.
Definition: BParameter.h:104
schemes BParameter::getScheme ( ) const
inline

A get method for the scheme of the bag parameters.

Returns
the scheme in which the bag parameters are defined

Definition at line 88 of file BParameter.h.

89  {
90  return scheme;
91  }
schemes scheme
The scheme in which the bag parameters are defined.
Definition: BParameter.h:105
void BParameter::setBpars ( gslpp::vector< double >  bpars)
inline

A set method for a vector of the bag parameters.

Parameters
[in]bparsa vector of the bag parameters

Definition at line 52 of file BParameter.h.

53  {
54  this->bpars = bpars;
55  }
gslpp::vector< double > bpars
A vector of bag parameters.
Definition: BParameter.h:103
void BParameter::setBpars ( int  i,
double  value 
)
inline

A set method for a component of the vector of bag parameters.

Parameters
[in]ithe index for the component of the vector of bag parameters
[in]valuethe value of the bag parameters

Definition at line 62 of file BParameter.h.

63  {
64  this->bpars(i) = value;
65  }
gslpp::vector< double > bpars
A vector of bag parameters.
Definition: BParameter.h:103
void BParameter::setMu ( double  mu)
inline

A set method for the scale of the bag parameters.

Parameters
[in]muthe scale at which the bag parameters are defined

Definition at line 80 of file BParameter.h.

81  {
82  this->mu = mu;
83  }
double mu
The scale at which the bag parameters are defined.
Definition: BParameter.h:104
void BParameter::setScheme ( schemes  scheme)
inline

A set method for the scheme of the bag parameters.

Parameters
[in]schemethe scheme in which the bag parameters are defined

Definition at line 97 of file BParameter.h.

98  {
99  this->scheme = scheme;
100  }
schemes scheme
The scheme in which the bag parameters are defined.
Definition: BParameter.h:105

Member Data Documentation

gslpp::vector<double> BParameter::bpars
private

A vector of bag parameters.

Definition at line 103 of file BParameter.h.

double BParameter::mu
private

The scale at which the bag parameters are defined.

Definition at line 104 of file BParameter.h.

schemes BParameter::scheme
private

The scheme in which the bag parameters are defined.

Definition at line 105 of file BParameter.h.


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