|
PARTONS
|
PARtonic Tomography Of Nucleon Software
|
![]() |
Definition of enumeration values for collinear distribution types. More...
Public Types | |
| enum | Type { UNDEFINED = 0 , ALL = 1 , UnpolPDF = 2 , PolPDF = 3 , TransPDF = 4 , UnpolFF = 5 , PolFF = 6 , TransFF = 7 , END } |
| Definition of enumerate values corresponding to collinear-distribution types. More... | |
Public Member Functions | |
| CollinearDistributionType () | |
| Default constructor. More... | |
| CollinearDistributionType (Type type) | |
| Assignment constructor. More... | |
| CollinearDistributionType (const CollinearDistributionType &other) | |
| Copy constructor. 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... | |
| void | serialize (ElemUtils::Packet &packet) const |
| Serialize into given Packet. More... | |
| void | unserialize (ElemUtils::Packet &packet) |
| Retrieve data from given Packet. More... | |
| bool | operator< (const CollinearDistributionType &other) const |
| Relation operator that checks if the value of left operand is less than the value of right operand (based on values assigned in the definition of CollinearDistributionType::Type). More... | |
| CollinearDistributionType::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... | |
Static Public Member Functions | |
| static CollinearDistributionType::Type | fromString (const std::string &colldistTypeStr) |
| Try to match collinear distribution type from given string. More... | |
| static List< CollinearDistributionType > | getListOfCollinearDistributionTypeFromString (const std::string &colldistTypeListAsString) |
| Try to match list of collinear distribution types from given string. More... | |
Static Public Attributes | |
| static const std::string | COLLINEAR_DISTRIBUTION_TYPE_DB_COLUMN_NAME = "collinear_distribution_type" |
| Name of table in the database corresponding to this class. More... | |
Private Attributes | |
| CollinearDistributionType::Type | m_type |
| Type associated to a declared object of this class. More... | |
Definition of enumeration values for collinear distribution types.
This class defines a set of enumeration values that are used to distinguish between collinear distributions. In addition, a declared object of this class is always associated to one collinear-distribution type (see CollinearDistributionType::m_type), so member functions can act on it.
Definition of enumerate values corresponding to collinear-distribution types.
| PARTONS::CollinearDistributionType::CollinearDistributionType | ( | ) |
Default constructor.
| PARTONS::CollinearDistributionType::CollinearDistributionType | ( | Type | type | ) |
Assignment constructor.
| type | Type to be assigned. |
| PARTONS::CollinearDistributionType::CollinearDistributionType | ( | const CollinearDistributionType & | other | ) |
Copy constructor.
| other | Object to be copied. |
| other |
|
static |
Try to match collinear distribution type from given string.
| colldistTypeStr | String to be matched. |
|
static |
Try to match list of collinear distribution types from given string.
Types should be separated by the pipe symbol, e.g. "H|E|..."
| colldistTypeListAsString | String to be matched. |
| CollinearDistributionType::Type PARTONS::CollinearDistributionType::getType | ( | ) | const |
Get type being assigned to a declared object of this class.
| PARTONS::CollinearDistributionType::operator CollinearDistributionType::Type | ( | ) | const |
Automatic cast to enum.
| bool PARTONS::CollinearDistributionType::operator< | ( | const CollinearDistributionType & | other | ) | const |
Relation operator that checks if the value of left operand is less than the value of right operand (based on values assigned in the definition of CollinearDistributionType::Type).
Used by std::sort function.
| other | Right hand value. |
| void PARTONS::CollinearDistributionType::serialize | ( | ElemUtils::Packet & | packet | ) | const |
Serialize into given Packet.
| packet | Target Packet. |
| void PARTONS::CollinearDistributionType::setType | ( | Type | type | ) |
Assign type to a declared object of this class.
| std::string PARTONS::CollinearDistributionType::toString | ( | ) | const |
Get string representation of type being assigned to a declared object of this class.
| void PARTONS::CollinearDistributionType::unserialize | ( | ElemUtils::Packet & | packet | ) |
Retrieve data from given Packet.
| packet | Input Packet. |
|
static |
Name of table in the database corresponding to this class.
|
private |
Type associated to a declared object of this class.