PARTONS
|
PARtonic Tomography Of Nucleon Software
|
Definition of enumeration values for quark non-singlet combinations. More...
Public Types | |
enum | Type { UNDEFINED = 0 , UP_NONSINGLET = 1 , DOWN_NONSINGLET = 2 , STRANGE_NONSINGLET = 3 , CHARM_NONSINGLET = 4 , BOTTOM_NONSINGLET = 5 , TOP_NONSINGLET = 6 , UP_MINUS_DOWN = 7 , UP_MINUS_STRANGE = 8 , UP_MINUS_CHARM = 9 , UP_MINUS_BOTTOM = 10 , UP_MINUS_TOP = 11 } |
Definition of enumerate values corresponding to quark flavors. More... | |
Public Member Functions | |
QuarkNonSingletCombination () | |
Default constructor. More... | |
QuarkNonSingletCombination (const QuarkNonSingletCombination &other) | |
Copy constructor. More... | |
QuarkNonSingletCombination (Type type) | |
Assignment constructor. More... | |
virtual | ~QuarkNonSingletCombination () |
Destructor. More... | |
operator Type () const | |
Automatic cast to enum. More... | |
std::string | toString () const |
Get string representation of type being assigned to a declared object of this class. More... | |
QuarkNonSingletCombination::Type | getType () const |
Get type being assigned to a declared object of this class. More... | |
void | setType (Type type) |
Assign type to a declared object of this class. More... | |
Private Attributes | |
QuarkNonSingletCombination::Type | m_type |
Type associated to a declared object of this class. More... | |
Definition of enumeration values for quark non-singlet combinations.
This class defines a set of enumeration values that are used to distinguish between quark non-singlet combinations. In addition, a declared object of this class is always associated to one quark flavor combination type (see QuarkNonSingletCombination::m_type), so member functions can act on it. E.g.
which gives via Logger:
Definition of enumerate values corresponding to quark flavors.
PARTONS::QuarkNonSingletCombination::QuarkNonSingletCombination | ( | ) |
Default constructor.
PARTONS::QuarkNonSingletCombination::QuarkNonSingletCombination | ( | const QuarkNonSingletCombination & | other | ) |
Copy constructor.
other | Object to be copied. |
PARTONS::QuarkNonSingletCombination::QuarkNonSingletCombination | ( | Type | type | ) |
Assignment constructor.
type | Type to be assigned. |
|
virtual |
Destructor.
QuarkNonSingletCombination::Type PARTONS::QuarkNonSingletCombination::getType | ( | ) | const |
Get type being assigned to a declared object of this class.
PARTONS::QuarkNonSingletCombination::operator QuarkNonSingletCombination::Type | ( | ) | const |
Automatic cast to enum.
void PARTONS::QuarkNonSingletCombination::setType | ( | Type | type | ) |
Assign type to a declared object of this class.
std::string PARTONS::QuarkNonSingletCombination::toString | ( | ) | const |
Get string representation of type being assigned to a declared object of this class.
|
private |
Type associated to a declared object of this class.