|
PARTONS
|
PARtonic Tomography Of Nucleon Software
|
![]() |
Container to store values of single quark distribution. More...
Public Member Functions | |
| QuarkDistribution (const QuarkDistribution &other) | |
| Copy constructor. More... | |
| QuarkDistribution (QuarkFlavor::Type quarkFlavor=QuarkFlavor::UNDEFINED, double quarkDistribution=0., double quarkDistributionPlus=0., double quarkDistributionMinus=0.) | |
| Assignment constructor. More... | |
| virtual | ~QuarkDistribution () |
| Destructor. More... | |
| virtual std::string | toString () const |
| Return a pre-formatted characters string for output visualization of class member's values. More... | |
| void | compare (ComparisonReport &rootComparisonReport, const QuarkDistribution &referenceObject, std::string parentObjectInfo="") const |
| Compare to other QuarkDistribution object and store comparison result in given comparison report. More... | |
| QuarkFlavor | getQuarkFlavor () const |
| Get quark flavor assigned to this object. More... | |
| void | setQuarkFlavor (QuarkFlavor quarkFlavorType) |
| Set quark flavor assigned to this object. More... | |
| double | getQuarkDistribution () const |
| Get value of quark distribution. More... | |
| void | setQuarkDistribution (double quarkDistribution) |
| Set value of quark distribution. More... | |
| double | getQuarkDistributionPlus () const |
| Get value of singlet combination. More... | |
| void | setQuarkDistributionPlus (double quarkDistributionPlus) |
| Set value of singlet combination. More... | |
| double | getQuarkDistributionMinus () const |
| Get value of non-singlet combination. More... | |
| void | setQuarkDistributionMinus (double quarkDistributionMinus) |
| Set value of non-singlet combination. More... | |
Public Member Functions inherited from PARTONS::BaseObject | |
| BaseObject (const std::string &className) | |
| Constructor. More... | |
| virtual | ~BaseObject () |
| Default destructor. More... | |
| virtual BaseObject * | clone () const |
| Virtual clone function to allow the factory to clone all derived members object stored in the BaseObjectRegistry. More... | |
| virtual void | resolveObjectDependencies () |
| Because of the initialization step order of the program, objects are registered in a total random order and some objects depend on others. More... | |
| void | serialize (ElemUtils::Packet &packet) const |
| Used to split a complex C++ object into a concatenation of simple types. More... | |
| void | unserialize (ElemUtils::Packet &packet) |
| Used to rebuild a complex C++ object from a concatenation of simple type. More... | |
| bool | operator< (const BaseObject &other) const |
| Overload of < operator to sort BaseObject object by its indexId value. More... | |
| const std::string & | getClassName () const |
| unsigned int | getObjectId () const |
| int | getIndexId () const |
| void | setIndexId (int indexId) |
Static Public Attributes | |
| static const std::string | QUARK_DISTRIBUTION_DB_COLUMN_NAME_QUARK_DISTRIBUTION |
| static const std::string | QUARK_DISTRIBUTION_DB_COLUMN_NAME_QUARK_DISTRIBUTION_PLUS |
| static const std::string | QUARK_DISTRIBUTION_DB_COLUMN_NAME_QUARK_DISTRIBUTION_MINUS |
Private Attributes | |
| QuarkFlavor | m_quarkFlavor |
| Quark flavor assigned to this object. More... | |
| double | m_quarkDistribution |
| Value of quark distribution. More... | |
| double | m_quarkDistributionPlus |
| Value of singlet (plus) combination. More... | |
| double | m_quarkDistributionMinus |
| Value of non-singlet (minus) combination. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from PARTONS::BaseObject | |
| BaseObject (const BaseObject &other) | |
| Copy constructor. More... | |
| void | info (const std::string &functionName, const std::string &message) const |
| Print info message into logger. More... | |
| void | debug (const std::string &functionName, const std::string &message) const |
| Print debug message into logger. More... | |
| void | warn (const std::string &functionName, const std::string &message) const |
| Print warning message into logger. More... | |
| void | errorMissingParameter (const std::string ¶meterName) const |
| Use in automation process to throw exception when a parameter is missing from the XML scenario file. More... | |
Container to store values of single quark distribution.
This class represents a quark distribution at a single kinematic point. For example, it can be GPD of a given type and specific quark flavor at some GPD kinematics.
Except the information on the assigned quark flavor, three values can be stored in this container: 1) value of the quark distributions, 2) value of the singlet combination and 3) value of the non-singlet combination. For the definition of singlet and non-singlet combinations see the documentation of QuarkDistribution::m_quarkDistributionPlus and QuarkDistribution::m_quarkDistributionMinus members. Note, that these combinations appear naturally in many GPD-related computations.
To see how this class can be used, analyze the following example:
which gives via Logger:
Check also the documentation of GPDResult and PartonDistribution classes, where QuarkDistribution objects are used extensively.
| PARTONS::QuarkDistribution::QuarkDistribution | ( | const QuarkDistribution & | other | ) |
Copy constructor.
| other | Object to be copied. |
| PARTONS::QuarkDistribution::QuarkDistribution | ( | QuarkFlavor::Type | quarkFlavor = QuarkFlavor::UNDEFINED, |
| double | quarkDistribution = 0., |
||
| double | quarkDistributionPlus = 0., |
||
| double | quarkDistributionMinus = 0. |
||
| ) |
Assignment constructor.
| quarkFlavor | Quark flavor to be assigned. |
| quarkDistribution | Value of quark distribution. |
| quarkDistributionPlus | Value of singlet combination, see QuarkDistribution::m_quarkDistributionPlus. |
| quarkDistributionMinus | Value of non-singlet combination, see QuarkDistribution::m_quarkDistributionMinus. |
|
virtual |
Destructor.
| void PARTONS::QuarkDistribution::compare | ( | ComparisonReport & | rootComparisonReport, |
| const QuarkDistribution & | referenceObject, | ||
| std::string | parentObjectInfo = "" |
||
| ) | const |
Compare to other QuarkDistribution object and store comparison result in given comparison report.
| rootComparisonReport | Reference to comparison report to be used to store comparison result. |
| referenceObject | Reference to object to be compared. |
| parentObjectInfo | Addition information coming from the parent object (if needed). |
| double PARTONS::QuarkDistribution::getQuarkDistribution | ( | ) | const |
Get value of quark distribution.
| double PARTONS::QuarkDistribution::getQuarkDistributionMinus | ( | ) | const |
Get value of non-singlet combination.
| double PARTONS::QuarkDistribution::getQuarkDistributionPlus | ( | ) | const |
Get value of singlet combination.
| QuarkFlavor PARTONS::QuarkDistribution::getQuarkFlavor | ( | ) | const |
Get quark flavor assigned to this object.
| void PARTONS::QuarkDistribution::setQuarkDistribution | ( | double | quarkDistribution | ) |
Set value of quark distribution.
| void PARTONS::QuarkDistribution::setQuarkDistributionMinus | ( | double | quarkDistributionMinus | ) |
Set value of non-singlet combination.
| void PARTONS::QuarkDistribution::setQuarkDistributionPlus | ( | double | quarkDistributionPlus | ) |
Set value of singlet combination.
| void PARTONS::QuarkDistribution::setQuarkFlavor | ( | QuarkFlavor | quarkFlavorType | ) |
Set quark flavor assigned to this object.
|
virtual |
Return a pre-formatted characters string for output visualization of class member's values.
Reimplemented from PARTONS::BaseObject.
|
private |
Value of quark distribution.
|
private |
Value of non-singlet (minus) combination.
In GPD formalism it is C-odd combination of single type GPDs, e.g.:
\(H^{q(-)}(x, \xi, t) = H^{q}(x, \xi, t) + H^{q}(-x, \xi, t)\)
\(\tilde{H}^{q(-)}(x, \xi, t) = \tilde{H}^{q}(x, \xi, t) - \tilde{H}^{q}(-x, \xi, t)\)
and analogously for GPDs \(E\) and \(\tilde{E}\). See M. Diehl's https://arxiv.org/abs/hep-ph/0307382 Sec. 3.3.2 for more details.
|
private |
Value of singlet (plus) combination.
In GPD formalism it is C-even combination of single type GPDs, e.g.:
\(H^{q(+)}(x, \xi, t) = H^{q}(x, \xi, t) - H^{q}(-x, \xi, t)\)
\(\tilde{H}^{q(+)}(x, \xi, t) = \tilde{H}^{q}(x, \xi, t) + \tilde{H}^{q}(-x, \xi, t)\)
and analogously for GPDs \(E\) and \(\tilde{E}\). See M. Diehl's https://arxiv.org/abs/hep-ph/0307382 Sec. 3.3.2 for more details.
|
private |
Quark flavor assigned to this object.
|
static |
|
static |
|
static |