PARTONS
|
PARtonic Tomography Of Nucleon Software
|
Implementation of DLMSTW subtraction constant. More...
Public Member Functions | |
GPDSubtractionConstantDLMSTW21 (const std::string &className) | |
Constructor. More... | |
virtual | ~GPDSubtractionConstantDLMSTW21 () |
Destructor. More... | |
virtual void | configure (const ElemUtils::Parameters ¶meters) |
Provides a generic method to configure all types of modules by passing a Parameters object. More... | |
virtual GPDSubtractionConstantDLMSTW21 * | clone () const |
Virtual clone function to allow the factory to clone all derived members object stored in the BaseObjectRegistry. More... | |
void | loadParameters (size_t replica, bool printInfo=true) |
Load parameters for a given replica index. More... | |
void | getMeanAndUncertainty (const std::vector< double > &v, double &mean, double &unc) const |
Evaluate mean and uncertainty for a given vector of numbers. More... | |
Public Member Functions inherited from PARTONS::GPDSubtractionConstantModule | |
GPDSubtractionConstantModule (const std::string &className) | |
Constructor. More... | |
virtual | ~GPDSubtractionConstantModule () |
Destructor. More... | |
virtual std::string | toString () const |
Return a pre-formatted characters string for output visualization of class member's values. 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... | |
virtual void | prepareSubModules (const std::map< std::string, BaseObjectData > &subModulesData) |
Method used in automation to prepare all the modules used by this current module and configure them recursively. More... | |
virtual GPDSubtractionConstantResult | compute (const GPDSubtractionConstantKinematic &kinematic, GPDType::Type gpdType) |
Evaluate specific GPD subtraction constant for a given kinematics. More... | |
Public Member Functions inherited from PARTONS::ModuleObject | |
ModuleObject (const std::string &className, ChannelType::Type channelType) | |
Constructor. More... | |
virtual | ~ModuleObject () |
Default destructor. More... | |
virtual void | run () |
unsigned int | getReferenceModuleId () const |
Get reference module id. More... | |
void | setReferenceModuleId (unsigned int referenceModuleId) |
Set reference module id. More... | |
ChannelType::Type | getChannelType () const |
Get channel type. More... | |
Public Member Functions inherited from PARTONS::BaseObject | |
BaseObject (const std::string &className) | |
Constructor. More... | |
virtual | ~BaseObject () |
Default destructor. 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 | PARAMETER_NAME_REPLICA |
Name of parameter to set replica index via xml file. More... | |
static const unsigned int | classId |
Unique ID to automatically register the class in the registry. More... | |
Static Public Attributes inherited from PARTONS::GPDSubtractionConstantModule | |
static const std::string | GPD_SUBTRACTION_CONSTANT_MODULE_CLASS_NAME |
Type of module name used by the automatization. More... | |
Static Public Attributes inherited from PARTONS::ModuleObject | |
static const std::string | CLASS_NAME = "className" |
Protected Member Functions | |
GPDSubtractionConstantDLMSTW21 (const GPDSubtractionConstantDLMSTW21 &other) | |
Copy constructor. More... | |
virtual PhysicalType< double > | computeSubtractionConstant () |
Evaluate specific GPD subtraction constant (user defined part). More... | |
Protected Member Functions inherited from PARTONS::GPDSubtractionConstantModule | |
GPDSubtractionConstantModule (const GPDSubtractionConstantModule &other) | |
Copy constructor. More... | |
virtual void | initModule () |
Pure virtual function that provides skeleton for module initialization. More... | |
virtual void | isModuleWellConfigured () |
Pure virtual function that provides skeleton to check if the module is well initialized and configured. More... | |
virtual void | setKinematics (const GPDSubtractionConstantKinematic &kinematic) |
Set internal kinematics. More... | |
void | setCurrentGPDType (GPDType::Type gpdType) |
Set current GPD type to be computed. More... | |
Protected Member Functions inherited from PARTONS::ModuleObject | |
ModuleObject (const ModuleObject &other) | |
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 Member Functions | |
double | getMean (const std::vector< double > &v) const |
Evaluate mean from a given vector. More... | |
double | getSigma (const std::vector< double > &v) const |
Evaluate sigma from a given vector. More... | |
size_t | removeOutliers (std::vector< double > &v) const |
Remove outliers from a given vector using 3sigma rule. More... | |
Private Attributes | |
size_t | m_replica |
Replica index. More... | |
double | m_d1g |
d1 for gluons at initial scale. More... | |
double | m_d1q |
d1 for light quarks at initial scale. More... | |
double | m_muF20 |
Initial factorization scale. More... | |
double | m_M |
Parameter of multipole Ansatz. More... | |
double | m_alpha |
Parameter of multipole Ansatz. More... | |
Additional Inherited Members | |
Protected Attributes inherited from PARTONS::GPDSubtractionConstantModule | |
double | m_t |
Mandelstam variable, momentum transfer on the hadron target. More... | |
double | m_MuF2 |
Factorization scale squared. More... | |
double | m_MuR2 |
Renormalization scale squared. More... | |
GPDType::Type | m_currentGPDComputeType |
Current GPD type. More... | |
Protected Attributes inherited from PARTONS::ModuleObject | |
ModuleObjectFactory * | m_pModuleObjectFactory |
Pointer tp module object factory. More... | |
Implementation of DLMSTW subtraction constant.
This module implements the subtraction constant based on tripole Ansatz with parameters extracted as described in 2021 paper by Dutrieux, Lorce, Moutarde, Sznajder, Trawinski and Wagner.
PARTONS::GPDSubtractionConstantDLMSTW21::GPDSubtractionConstantDLMSTW21 | ( | const std::string & | className | ) |
Constructor.
className | Name of this class. |
|
virtual |
Destructor.
|
protected |
Copy constructor.
other | Object to be copied. |
|
virtual |
Virtual clone function to allow the factory to clone all derived members object stored in the BaseObjectRegistry.
Reimplemented from PARTONS::GPDSubtractionConstantModule.
|
protectedvirtual |
Evaluate specific GPD subtraction constant (user defined part).
Reimplemented from PARTONS::GPDSubtractionConstantModule.
|
virtual |
Provides a generic method to configure all types of modules by passing a Parameters object.
Parameters class represents a list of couples key/value (see Parameters class documentation for more info).
parameters | ElemUtils::Parameters object. |
Reimplemented from PARTONS::GPDSubtractionConstantModule.
|
private |
Evaluate mean from a given vector.
void PARTONS::GPDSubtractionConstantDLMSTW21::getMeanAndUncertainty | ( | const std::vector< double > & | v, |
double & | mean, | ||
double & | unc | ||
) | const |
Evaluate mean and uncertainty for a given vector of numbers.
The procedure include removing of outliers.
|
private |
Evaluate sigma from a given vector.
void PARTONS::GPDSubtractionConstantDLMSTW21::loadParameters | ( | size_t | replica, |
bool | printInfo = true |
||
) |
Load parameters for a given replica index.
|
private |
Remove outliers from a given vector using 3sigma rule.
|
static |
Unique ID to automatically register the class in the registry.
|
private |
Parameter of multipole Ansatz.
|
private |
d1 for gluons at initial scale.
|
private |
d1 for light quarks at initial scale.
|
private |
Parameter of multipole Ansatz.
|
private |
Initial factorization scale.
|
private |
Replica index.
|
static |
Name of parameter to set replica index via xml file.