PARTONS
|
PARtonic Tomography Of Nucleon Software
|
Class representing single GPD kinematics. More...
Public Member Functions | |
GPDKinematic () | |
Default constructor. More... | |
GPDKinematic (double x, double xi, double t, double MuF2, double MuR2) | |
Assignment constructor. More... | |
GPDKinematic (const PhysicalType< double > &x, const PhysicalType< double > &xi, const PhysicalType< double > &t, const PhysicalType< double > &MuF2, const PhysicalType< double > &MuR2) | |
Assignment constructor. More... | |
GPDKinematic (const ElemUtils::GenericType &x, const ElemUtils::GenericType &xi, const ElemUtils::GenericType &t, const ElemUtils::GenericType &MuF2, const ElemUtils::GenericType &MuR2) | |
Assignment constructor. More... | |
GPDKinematic (const GPDKinematic &other) | |
Copy constructor. More... | |
virtual | ~GPDKinematic () |
Destructor. More... | |
virtual void | configure (const ElemUtils::Parameters ¶meters) |
Configure via parameters. More... | |
virtual std::string | toString () const |
Return a pre-formatted characters string for output visualization of class member's values. More... | |
void | serialize (ElemUtils::Packet &packet) const |
Serialize into given Packet. More... | |
void | unserialize (ElemUtils::Packet &packet) |
Retrieve data from given Packet. More... | |
void | serializeIntoStdVector (std::vector< double > &vec) const |
Serialize to std::vector<double>. More... | |
void | unserializeFromStdVector (std::vector< double >::const_iterator &it, const std::vector< double >::const_iterator &end) |
Unserialize from std::vector<double>. More... | |
bool | operator== (const GPDKinematic &other) const |
Is equal operator. More... | |
bool | operator!= (const GPDKinematic &other) const |
Is different operator. More... | |
const PhysicalType< double > & | getX () const |
Get longitudinal momentum fraction of active parton. More... | |
void | setX (const PhysicalType< double > &x) |
Set longitudinal momentum fraction of active parton. More... | |
void | setX (double x, PhysicalUnit::Type unit=PhysicalUnit::NONE) |
Set longitudinal momentum fraction of active parton. More... | |
const PhysicalType< double > & | getXi () const |
Get skewness variable. More... | |
void | setXi (const PhysicalType< double > &xi) |
Set skewness variable. More... | |
void | setXi (double xi, PhysicalUnit::Type unit=PhysicalUnit::NONE) |
Set skewness variable. More... | |
const PhysicalType< double > & | getT () const |
Get four-momentum transfer squared of hadron target. More... | |
void | setT (const PhysicalType< double > &t) |
Set four-momentum transfer squared of hadron target. More... | |
void | setT (double t, PhysicalUnit::Type unit=PhysicalUnit::GEV2) |
Set four-momentum transfer squared of hadron target. More... | |
const PhysicalType< double > & | getMuF2 () const |
Get factorization scale squared. More... | |
void | setMuF2 (const PhysicalType< double > &muF2) |
Set factorization scale squared. More... | |
void | setMuF2 (double muF2, PhysicalUnit::Type unit=PhysicalUnit::GEV2) |
Set factorization scale squared. More... | |
const PhysicalType< double > & | getMuR2 () const |
Get renormalization scale squared. More... | |
void | setMuR2 (const PhysicalType< double > &muR2) |
Set renormalization scale squared. More... | |
void | setMuR2 (double muR2, PhysicalUnit::Type unit=PhysicalUnit::GEV2) |
Set renormalization scale squared. More... | |
Public Member Functions inherited from PARTONS::Kinematic | |
virtual | ~Kinematic () |
Destructor. More... | |
void | serialize (ElemUtils::Packet &packet) const |
Serialize into given Packet. More... | |
void | unserialize (ElemUtils::Packet &packet) |
Retrieve data from given Packet. More... | |
void | serializeIntoStdVector (std::vector< double > &vec) const |
Serialize to std::vector<double>. More... | |
void | unserializeFromStdVector (std::vector< double >::const_iterator &it, const std::vector< double >::const_iterator &end) |
Unserialize from std::vector<double>. More... | |
ChannelType::Type | getChannelType () const |
Get channel type. More... | |
const std::string & | getHashSum () const |
Get hash sum of class content. More... | |
void | setHashSum (const std::string &hashSum) const |
Set hash sum of class content. 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 | GPD_KINEMATIC_CLASS_NAME = "GPDKinematic" |
Type of the kinematic in XML automation. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_X = "x" |
Parameter name to set variable \(x\) via configuration methods. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_XI = "xi" |
Parameter name to set variable \(\xi\) via configuration methods. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_T = "t" |
Parameter name to set variable \(t\) via configuration methods. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_MUF2 = "MuF2" |
Parameter name to set variable \(\mu_{F}^{2}\) via configuration methods. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_MUR2 = "MuR2" |
Parameter name to set variable \(\mu_{R}^{2}\) via configuration methods. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_X_UNIT = "x_unit" |
Parameter name to set unit of variable \(x\) via configuration methods. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_XI_UNIT = "xi_unit" |
Parameter name to set unit of variable \(\xi\) via configuration methods. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_T_UNIT = "t_unit" |
Parameter name to set unit of variable \(t\) via configuration methods. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_MUF2_UNIT = "MuF2_unit" |
Parameter name to set unit of variable \(\mu_{F}^{2}\) via configuration methods. More... | |
static const std::string | KINEMATIC_PARAMETER_NAME_MUR2_UNIT = "MuR2_unit" |
Parameter name to set unit of variable \(\mu_{R}^{2}\) via configuration methods. More... | |
Protected Member Functions | |
virtual void | updateHashSum () const |
Update hash sum (see Kinematic::m_hashSum variable). More... | |
Protected Member Functions inherited from PARTONS::Kinematic | |
Kinematic (const std::string &className, ChannelType::Type channelType) | |
Default constructor. More... | |
Kinematic (const Kinematic &other) | |
Copy constructor. More... | |
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... | |
Private Attributes | |
PhysicalType< double > | m_x |
Longitudinal momentum fraction of active parton. More... | |
PhysicalType< double > | m_xi |
Skewness variable. More... | |
PhysicalType< double > | m_t |
Four-momentum transfer squared of hadron target (in \(GeV^{2}\)). More... | |
PhysicalType< double > | m_MuF2 |
Factorization scale squared (in \(GeV^{2}\)). More... | |
PhysicalType< double > | m_MuR2 |
Renormalization scale squared (in \(GeV^{2}\)). More... | |
Class representing single GPD kinematics.
This class represents a single GPD kinematics (x, xi, t, \(\mu_{F}^{2}\), \(\mu_{F}^{2}\)).
PARTONS::GPDKinematic::GPDKinematic | ( | ) |
Default constructor.
PARTONS::GPDKinematic::GPDKinematic | ( | double | x, |
double | xi, | ||
double | t, | ||
double | MuF2, | ||
double | MuR2 | ||
) |
Assignment constructor.
x | Longitudinal momentum fraction of active parton. |
xi | Skewness variable. |
t | Four-momentum transfer squared of hadron target (in \(GeV^{2}\)). |
MuF2 | Factorization scale squared (in \(GeV^{2}\)). |
MuR2 | Renormalization scale squared (in \(GeV^{2}\)). |
PARTONS::GPDKinematic::GPDKinematic | ( | const PhysicalType< double > & | x, |
const PhysicalType< double > & | xi, | ||
const PhysicalType< double > & | t, | ||
const PhysicalType< double > & | MuF2, | ||
const PhysicalType< double > & | MuR2 | ||
) |
Assignment constructor.
x | Longitudinal momentum fraction of active parton. |
xi | Skewness variable. |
t | Four-momentum transfer squared of hadron target (in \(GeV^{2}\)). |
MuF2 | Factorization scale squared (in \(GeV^{2}\)). |
MuR2 | Renormalization scale squared (in \(GeV^{2}\)). |
PARTONS::GPDKinematic::GPDKinematic | ( | const ElemUtils::GenericType & | x, |
const ElemUtils::GenericType & | xi, | ||
const ElemUtils::GenericType & | t, | ||
const ElemUtils::GenericType & | MuF2, | ||
const ElemUtils::GenericType & | MuR2 | ||
) |
Assignment constructor.
x | Longitudinal momentum fraction of active parton. |
xi | Skewness variable. |
t | Four-momentum transfer squared of hadron target (in \(GeV^{2}\)). |
MuF2 | Factorization scale squared (in \(GeV^{2}\)). |
MuR2 | Renormalization scale squared (in \(GeV^{2}\)). |
PARTONS::GPDKinematic::GPDKinematic | ( | const GPDKinematic & | other | ) |
Copy constructor.
other | Object to be copied. |
|
virtual |
Destructor.
|
virtual |
Configure via parameters.
parameters | Set of parameters to be set. |
Reimplemented from PARTONS::Kinematic.
const PhysicalType< double > & PARTONS::GPDKinematic::getMuF2 | ( | ) | const |
Get factorization scale squared.
const PhysicalType< double > & PARTONS::GPDKinematic::getMuR2 | ( | ) | const |
Get renormalization scale squared.
const PhysicalType< double > & PARTONS::GPDKinematic::getT | ( | ) | const |
Get four-momentum transfer squared of hadron target.
const PhysicalType< double > & PARTONS::GPDKinematic::getX | ( | ) | const |
Get longitudinal momentum fraction of active parton.
const PhysicalType< double > & PARTONS::GPDKinematic::getXi | ( | ) | const |
Get skewness variable.
bool PARTONS::GPDKinematic::operator!= | ( | const GPDKinematic & | other | ) | const |
Is different operator.
Checks of values of kinematic variables are different.
bool PARTONS::GPDKinematic::operator== | ( | const GPDKinematic & | other | ) | const |
Is equal operator.
Checks if values of kinematic variables are the same.
void PARTONS::GPDKinematic::serialize | ( | ElemUtils::Packet & | packet | ) | const |
Serialize into given Packet.
packet | Target Packet. |
void PARTONS::GPDKinematic::serializeIntoStdVector | ( | std::vector< double > & | vec | ) | const |
Serialize to std::vector<double>.
void PARTONS::GPDKinematic::setMuF2 | ( | const PhysicalType< double > & | muF2 | ) |
Set factorization scale squared.
void PARTONS::GPDKinematic::setMuF2 | ( | double | muF2, |
PhysicalUnit::Type | unit = PhysicalUnit::GEV2 |
||
) |
Set factorization scale squared.
void PARTONS::GPDKinematic::setMuR2 | ( | const PhysicalType< double > & | muR2 | ) |
Set renormalization scale squared.
void PARTONS::GPDKinematic::setMuR2 | ( | double | muR2, |
PhysicalUnit::Type | unit = PhysicalUnit::GEV2 |
||
) |
Set renormalization scale squared.
void PARTONS::GPDKinematic::setT | ( | const PhysicalType< double > & | t | ) |
Set four-momentum transfer squared of hadron target.
void PARTONS::GPDKinematic::setT | ( | double | t, |
PhysicalUnit::Type | unit = PhysicalUnit::GEV2 |
||
) |
Set four-momentum transfer squared of hadron target.
void PARTONS::GPDKinematic::setX | ( | const PhysicalType< double > & | x | ) |
Set longitudinal momentum fraction of active parton.
void PARTONS::GPDKinematic::setX | ( | double | x, |
PhysicalUnit::Type | unit = PhysicalUnit::NONE |
||
) |
Set longitudinal momentum fraction of active parton.
void PARTONS::GPDKinematic::setXi | ( | const PhysicalType< double > & | xi | ) |
Set skewness variable.
void PARTONS::GPDKinematic::setXi | ( | double | xi, |
PhysicalUnit::Type | unit = PhysicalUnit::NONE |
||
) |
Set skewness variable.
|
virtual |
Return a pre-formatted characters string for output visualization of class member's values.
Reimplemented from PARTONS::Kinematic.
void PARTONS::GPDKinematic::unserialize | ( | ElemUtils::Packet & | packet | ) |
Retrieve data from given Packet.
packet | Input Packet. |
void PARTONS::GPDKinematic::unserializeFromStdVector | ( | std::vector< double >::const_iterator & | it, |
const std::vector< double >::const_iterator & | end | ||
) |
Unserialize from std::vector<double>.
|
protectedvirtual |
Update hash sum (see Kinematic::m_hashSum variable).
Implements PARTONS::Kinematic.
|
static |
Type of the kinematic in XML automation.
|
static |
Parameter name to set variable \(\mu_{F}^{2}\) via configuration methods.
|
static |
Parameter name to set unit of variable \(\mu_{F}^{2}\) via configuration methods.
|
static |
Parameter name to set variable \(\mu_{R}^{2}\) via configuration methods.
|
static |
Parameter name to set unit of variable \(\mu_{R}^{2}\) via configuration methods.
|
static |
Parameter name to set variable \(t\) via configuration methods.
|
static |
Parameter name to set unit of variable \(t\) via configuration methods.
|
static |
Parameter name to set variable \(x\) via configuration methods.
|
static |
Parameter name to set unit of variable \(x\) via configuration methods.
|
static |
Parameter name to set variable \(\xi\) via configuration methods.
|
static |
Parameter name to set unit of variable \(\xi\) via configuration methods.
|
private |
Factorization scale squared (in \(GeV^{2}\)).
|
private |
Renormalization scale squared (in \(GeV^{2}\)).
|
private |
Four-momentum transfer squared of hadron target (in \(GeV^{2}\)).
|
private |
Longitudinal momentum fraction of active parton.
|
private |
Skewness variable.