PARTONS  
PARtonic Tomography Of Nucleon Software
Public Member Functions | Private Attributes | List of all members
PARTONS::ActiveFlavorsThresholds Class Reference

Interval of factorization scale with fixed number of flavors. More...

Public Member Functions

 ActiveFlavorsThresholds ()
 Default constructor. More...
 
 ActiveFlavorsThresholds (unsigned short nf, double lowerBound, double upperBound, unsigned int index)
 Assignment constructor. More...
 
virtual ~ActiveFlavorsThresholds ()
 Destructor. More...
 
bool operator< (const ActiveFlavorsThresholds &other) const
 Relation operator that checks if the value of left operand is less than the value of right operand (in this case returned is this->m_nf < other.m_nf). More...
 
virtual std::string toString () const
 Return a pre-formatted characters string for output visualization of class member's values. More...
 
unsigned short getNf () const
 Get number of quark flavor being active in the interval. More...
 
void setNf (unsigned short nf)
 Set number of quark flavor being active in the interval. More...
 
double getLowerBound () const
 Get lower bound of the interval. More...
 
void setLowerBound (double lowerBound)
 Set lower bound of the interval. More...
 
double getUpperBound () const
 Get upper bound of the interval. More...
 
void setUpperBound (double upperBound)
 Set upper bound of the interval. More...
 
unsigned int getIndex () const
 Get index of interval. More...
 
void setIndex (unsigned int index)
 Set index of interval. More...
 

Private Attributes

unsigned short m_nf
 Number of quark flavor being active in the interval. More...
 
double m_lowerBound
 Lower bound of the interval. More...
 
double m_upperBound
 Upper bound of the interval. More...
 
unsigned int m_index
 Index of interval. More...
 

Detailed Description

Interval of factorization scale with fixed number of flavors.

This class is used to indicate an interval of factorization scale where a fixed number of quark flavors is active.

Constructor & Destructor Documentation

◆ ActiveFlavorsThresholds() [1/2]

PARTONS::ActiveFlavorsThresholds::ActiveFlavorsThresholds ( )

Default constructor.

◆ ActiveFlavorsThresholds() [2/2]

PARTONS::ActiveFlavorsThresholds::ActiveFlavorsThresholds ( unsigned short  nf,
double  lowerBound,
double  upperBound,
unsigned int  index 
)

Assignment constructor.

Parameters
nfNumber of quark flavor being active in the interval.
lowerBoundLower bound of the interval.
upperBoundUpper bound of the interval.
indexIndex of interval.

◆ ~ActiveFlavorsThresholds()

PARTONS::ActiveFlavorsThresholds::~ActiveFlavorsThresholds ( )
virtual

Destructor.

Member Function Documentation

◆ getIndex()

unsigned int PARTONS::ActiveFlavorsThresholds::getIndex ( ) const

Get index of interval.

◆ getLowerBound()

double PARTONS::ActiveFlavorsThresholds::getLowerBound ( ) const

Get lower bound of the interval.

◆ getNf()

unsigned short PARTONS::ActiveFlavorsThresholds::getNf ( ) const

Get number of quark flavor being active in the interval.

◆ getUpperBound()

double PARTONS::ActiveFlavorsThresholds::getUpperBound ( ) const

Get upper bound of the interval.

◆ operator<()

bool PARTONS::ActiveFlavorsThresholds::operator< ( const ActiveFlavorsThresholds other) const

Relation operator that checks if the value of left operand is less than the value of right operand (in this case returned is this->m_nf < other.m_nf).

Used by std::sort function.

Parameters
otherRight hand value.
Returns
True if the value of left operand is less than the value of right operand, otherwise false.

◆ setIndex()

void PARTONS::ActiveFlavorsThresholds::setIndex ( unsigned int  index)

Set index of interval.

◆ setLowerBound()

void PARTONS::ActiveFlavorsThresholds::setLowerBound ( double  lowerBound)

Set lower bound of the interval.

◆ setNf()

void PARTONS::ActiveFlavorsThresholds::setNf ( unsigned short  nf)

Set number of quark flavor being active in the interval.

◆ setUpperBound()

void PARTONS::ActiveFlavorsThresholds::setUpperBound ( double  upperBound)

Set upper bound of the interval.

◆ toString()

std::string PARTONS::ActiveFlavorsThresholds::toString ( ) const
virtual

Return a pre-formatted characters string for output visualization of class member's values.

Returns
a pre-formatted characters string

Member Data Documentation

◆ m_index

unsigned int PARTONS::ActiveFlavorsThresholds::m_index
private

Index of interval.

◆ m_lowerBound

double PARTONS::ActiveFlavorsThresholds::m_lowerBound
private

Lower bound of the interval.

◆ m_nf

unsigned short PARTONS::ActiveFlavorsThresholds::m_nf
private

Number of quark flavor being active in the interval.

◆ m_upperBound

double PARTONS::ActiveFlavorsThresholds::m_upperBound
private

Upper bound of the interval.


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