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

Class representing single GPD subtraction constant kinematics. More...

Inheritance diagram for PARTONS::GPDSubtractionConstantKinematic:
PARTONS::Kinematic PARTONS::BaseObject

Public Member Functions

 GPDSubtractionConstantKinematic ()
 Default constructor. More...
 
 GPDSubtractionConstantKinematic (double t, double MuF2, double MuR2)
 Assignment constructor. More...
 
 GPDSubtractionConstantKinematic (const PhysicalType< double > &t, const PhysicalType< double > &MuF2, const PhysicalType< double > &MuR2)
 Assignment constructor. More...
 
 GPDSubtractionConstantKinematic (const ElemUtils::GenericType &t, const ElemUtils::GenericType &MuF2, const ElemUtils::GenericType &MuR2)
 Assignment constructor. More...
 
 GPDSubtractionConstantKinematic (const GPDSubtractionConstantKinematic &other)
 Copy constructor. More...
 
virtual ~GPDSubtractionConstantKinematic ()
 Destructor. More...
 
virtual void configure (const ElemUtils::Parameters &parameters)
 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...
 
bool operator== (const GPDSubtractionConstantKinematic &other) const
 Is equal operator. More...
 
bool operator!= (const GPDSubtractionConstantKinematic &other) const
 Is different operator. 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 BaseObjectclone () 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_SUBTRACTION_CONSTANT_KINEMATIC_CLASS_NAME
 Type of the kinematic in XML automation. More...
 
static const std::string KINEMATIC_PARAMETER_NAME_T
 Parameter name to set variable \(t\) via configuration methods. More...
 
static const std::string KINEMATIC_PARAMETER_NAME_MUF2
 Parameter name to set variable \(\mu_{F}^{2}\) via configuration methods. More...
 
static const std::string KINEMATIC_PARAMETER_NAME_MUR2
 Parameter name to set variable \(\mu_{R}^{2}\) via configuration methods. More...
 
static const std::string KINEMATIC_PARAMETER_NAME_T_UNIT
 Parameter name to set unit of variable \(t\) via configuration methods. More...
 
static const std::string KINEMATIC_PARAMETER_NAME_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
 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 &parameterName) const
 Use in automation process to throw exception when a parameter is missing from the XML scenario file. More...
 

Private Attributes

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...
 

Detailed Description

Class representing single GPD subtraction constant kinematics.

This class represents a single GPD kinematics (t, \(\mu_{F}^{2}\), \(\mu_{F}^{2}\)).

Constructor & Destructor Documentation

◆ GPDSubtractionConstantKinematic() [1/5]

PARTONS::GPDSubtractionConstantKinematic::GPDSubtractionConstantKinematic ( )

Default constructor.

◆ GPDSubtractionConstantKinematic() [2/5]

PARTONS::GPDSubtractionConstantKinematic::GPDSubtractionConstantKinematic ( double  t,
double  MuF2,
double  MuR2 
)

Assignment constructor.

Parameters
tFour-momentum transfer squared of hadron target (in \(GeV^{2}\)).
MuF2Factorization scale squared (in \(GeV^{2}\)).
MuR2Renormalization scale squared (in \(GeV^{2}\)).

◆ GPDSubtractionConstantKinematic() [3/5]

PARTONS::GPDSubtractionConstantKinematic::GPDSubtractionConstantKinematic ( const PhysicalType< double > &  t,
const PhysicalType< double > &  MuF2,
const PhysicalType< double > &  MuR2 
)

Assignment constructor.

Parameters
tFour-momentum transfer squared of hadron target (in \(GeV^{2}\)).
MuF2Factorization scale squared (in \(GeV^{2}\)).
MuR2Renormalization scale squared (in \(GeV^{2}\)).

◆ GPDSubtractionConstantKinematic() [4/5]

PARTONS::GPDSubtractionConstantKinematic::GPDSubtractionConstantKinematic ( const ElemUtils::GenericType &  t,
const ElemUtils::GenericType &  MuF2,
const ElemUtils::GenericType &  MuR2 
)

Assignment constructor.

Parameters
tFour-momentum transfer squared of hadron target (in \(GeV^{2}\)).
MuF2Factorization scale squared (in \(GeV^{2}\)).
MuR2Renormalization scale squared (in \(GeV^{2}\)).

◆ GPDSubtractionConstantKinematic() [5/5]

PARTONS::GPDSubtractionConstantKinematic::GPDSubtractionConstantKinematic ( const GPDSubtractionConstantKinematic other)

Copy constructor.

Parameters
otherObject to be copied.

◆ ~GPDSubtractionConstantKinematic()

PARTONS::GPDSubtractionConstantKinematic::~GPDSubtractionConstantKinematic ( )
virtual

Destructor.

Member Function Documentation

◆ configure()

void PARTONS::GPDSubtractionConstantKinematic::configure ( const ElemUtils::Parameters &  parameters)
virtual

Configure via parameters.

Parameters
parametersSet of parameters to be set.

Reimplemented from PARTONS::Kinematic.

◆ getMuF2()

const PhysicalType< double > & PARTONS::GPDSubtractionConstantKinematic::getMuF2 ( ) const

Get factorization scale squared.

◆ getMuR2()

const PhysicalType< double > & PARTONS::GPDSubtractionConstantKinematic::getMuR2 ( ) const

Get renormalization scale squared.

◆ getT()

const PhysicalType< double > & PARTONS::GPDSubtractionConstantKinematic::getT ( ) const

Get four-momentum transfer squared of hadron target.

◆ operator!=()

bool PARTONS::GPDSubtractionConstantKinematic::operator!= ( const GPDSubtractionConstantKinematic other) const

Is different operator.

Checks of values of kinematic variables are different.

◆ operator==()

bool PARTONS::GPDSubtractionConstantKinematic::operator== ( const GPDSubtractionConstantKinematic other) const

Is equal operator.

Checks if values of kinematic variables are the same.

◆ serialize()

void PARTONS::GPDSubtractionConstantKinematic::serialize ( ElemUtils::Packet &  packet) const

Serialize into given Packet.

Parameters
packetTarget Packet.

◆ setMuF2() [1/2]

void PARTONS::GPDSubtractionConstantKinematic::setMuF2 ( const PhysicalType< double > &  muF2)

Set factorization scale squared.

◆ setMuF2() [2/2]

void PARTONS::GPDSubtractionConstantKinematic::setMuF2 ( double  muF2,
PhysicalUnit::Type  unit = PhysicalUnit::GEV2 
)

Set factorization scale squared.

◆ setMuR2() [1/2]

void PARTONS::GPDSubtractionConstantKinematic::setMuR2 ( const PhysicalType< double > &  muR2)

Set renormalization scale squared.

◆ setMuR2() [2/2]

void PARTONS::GPDSubtractionConstantKinematic::setMuR2 ( double  muR2,
PhysicalUnit::Type  unit = PhysicalUnit::GEV2 
)

Set renormalization scale squared.

◆ setT() [1/2]

void PARTONS::GPDSubtractionConstantKinematic::setT ( const PhysicalType< double > &  t)

Set four-momentum transfer squared of hadron target.

◆ setT() [2/2]

void PARTONS::GPDSubtractionConstantKinematic::setT ( double  t,
PhysicalUnit::Type  unit = PhysicalUnit::GEV2 
)

Set four-momentum transfer squared of hadron target.

◆ toString()

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

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

Returns
a pre-formatted characters string.

Reimplemented from PARTONS::Kinematic.

◆ unserialize()

void PARTONS::GPDSubtractionConstantKinematic::unserialize ( ElemUtils::Packet &  packet)

Retrieve data from given Packet.

Parameters
packetInput Packet.

◆ updateHashSum()

void PARTONS::GPDSubtractionConstantKinematic::updateHashSum ( ) const
protectedvirtual

Update hash sum (see Kinematic::m_hashSum variable).

Implements PARTONS::Kinematic.

Member Data Documentation

◆ GPD_SUBTRACTION_CONSTANT_KINEMATIC_CLASS_NAME

const std::string PARTONS::GPDSubtractionConstantKinematic::GPD_SUBTRACTION_CONSTANT_KINEMATIC_CLASS_NAME
static
Initial value:
=
"GPDSubtractionConstantKinematic"

Type of the kinematic in XML automation.

◆ KINEMATIC_PARAMETER_NAME_MUF2

const std::string PARTONS::GPDSubtractionConstantKinematic::KINEMATIC_PARAMETER_NAME_MUF2
static
Initial value:
=
"MuF2"

Parameter name to set variable \(\mu_{F}^{2}\) via configuration methods.

◆ KINEMATIC_PARAMETER_NAME_MUF2_UNIT

const std::string PARTONS::GPDSubtractionConstantKinematic::KINEMATIC_PARAMETER_NAME_MUF2_UNIT
static
Initial value:
=
"MuF2_unit"

Parameter name to set unit of variable \(\mu_{F}^{2}\) via configuration methods.

◆ KINEMATIC_PARAMETER_NAME_MUR2

const std::string PARTONS::GPDSubtractionConstantKinematic::KINEMATIC_PARAMETER_NAME_MUR2
static
Initial value:
=
"MuR2"

Parameter name to set variable \(\mu_{R}^{2}\) via configuration methods.

◆ KINEMATIC_PARAMETER_NAME_MUR2_UNIT

const std::string PARTONS::GPDSubtractionConstantKinematic::KINEMATIC_PARAMETER_NAME_MUR2_UNIT
static
Initial value:
=
"MuR2_unit"

Parameter name to set unit of variable \(\mu_{R}^{2}\) via configuration methods.

◆ KINEMATIC_PARAMETER_NAME_T

const std::string PARTONS::GPDSubtractionConstantKinematic::KINEMATIC_PARAMETER_NAME_T
static
Initial value:
=
"t"

Parameter name to set variable \(t\) via configuration methods.

◆ KINEMATIC_PARAMETER_NAME_T_UNIT

const std::string PARTONS::GPDSubtractionConstantKinematic::KINEMATIC_PARAMETER_NAME_T_UNIT
static
Initial value:
=
"t_unit"

Parameter name to set unit of variable \(t\) via configuration methods.

◆ m_MuF2

PhysicalType<double> PARTONS::GPDSubtractionConstantKinematic::m_MuF2
private

Factorization scale squared (in \(GeV^{2}\)).

◆ m_MuR2

PhysicalType<double> PARTONS::GPDSubtractionConstantKinematic::m_MuR2
private

Renormalization scale squared (in \(GeV^{2}\)).

◆ m_t

PhysicalType<double> PARTONS::GPDSubtractionConstantKinematic::m_t
private

Four-momentum transfer squared of hadron target (in \(GeV^{2}\)).


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