PARTONS  
PARtonic Tomography Of Nucleon Software
Public Member Functions | Static Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
PARTONS::RunningAlphaStrongApfel Class Reference
Inheritance diagram for PARTONS::RunningAlphaStrongApfel:
PARTONS::RunningAlphaStrongModule PARTONS::ModuleObject PARTONS::BaseObject

Public Member Functions

 RunningAlphaStrongApfel (const std::string &className)
 Constructor. More...
 
virtual ~RunningAlphaStrongApfel ()
 Destructor. More...
 
virtual RunningAlphaStrongApfelclone () const
 Virtual clone function to allow the factory to clone all derived members object stored in the BaseObjectRegistry. More...
 
virtual void configure (const ElemUtils::Parameters &parameters)
 Provides a generic method to configure all types of modules by passing a Parameters object. More...
 
virtual double compute ()
 Evaluate \(\alpha_{s}\). More...
 
void setPertOrder (const PerturbativeQCDOrderType::Type &pertOrder)
 
void setAlphasRef (const double &alphasRef)
 
void setMuRef (const double &muRef)
 
void setThresholds (const std::vector< double > &thresholds)
 
void setTabNodes (const int &tabNodes)
 
void setTabLowerBound (const double &tabLowerBound)
 
void setTabUpperBound (const double &tabUpperBound)
 
void setTabInterDegree (const int &tabInterDegree)
 
PerturbativeQCDOrderType::Type getPertOrder () const
 
double getAlphasRef () const
 
double getMuRef () const
 
std::vector< double > getThresholds () const
 
int getTabNodes () const
 
double getTabLowerBound () const
 
double getTabUpperBound () const
 
int getTabInterDegree () const
 
- Public Member Functions inherited from PARTONS::RunningAlphaStrongModule
 RunningAlphaStrongModule (const std::string &className)
 Constructor. More...
 
virtual ~RunningAlphaStrongModule ()
 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...
 
double compute (double Mu2)
 Evaluate \(\alpha_{s}\) for a given value of renormalization scale squared. More...
 
unsigned int getNf () const
 
void setNf (unsigned int nf)
 
- 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 PARAM_NAME_ALPHAS_REF = "alphasRef"
 Settable parameters. More...
 
static const std::string PARAM_NAME_MU_REF = "muRef"
 
static const std::string PARAM_NAME_THRESHOLDS = "thresholds"
 
static const std::string PARAM_NAME_TAB_NODES = "tabNodes"
 
static const std::string PARAM_NAME_TAB_LOWER_BOUND = "tabLowerBound"
 
static const std::string PARAM_NAME_TAB_UPPER_BOUND = "tabUpperBound"
 
static const std::string PARAM_NAME_TAB_INTER_DEGREE = "tabInterDegree"
 
static const unsigned int classId
 Unique ID to automatically register the class in the registry. More...
 
- Static Public Attributes inherited from PARTONS::RunningAlphaStrongModule
static const std::string RUNNING_ALPHA_STRONG_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

 RunningAlphaStrongApfel (const RunningAlphaStrongApfel &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...
 
- Protected Member Functions inherited from PARTONS::RunningAlphaStrongModule
 RunningAlphaStrongModule (const RunningAlphaStrongModule &other)
 Copy constructor. More...
 
void preCompute (const double Mu2)
 Do a pre-evaluation steps before the evaluation of \(\alpha_{s}\). More...
 
bool isPreviousKinematicsDifferent (const double MuF2) const
 Check if previous kinematics is different than the actual one. 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 &parameterName) const
 Use in automation process to throw exception when a parameter is missing from the XML scenario file. More...
 

Private Member Functions

void setAlphasFunc (const std::function< double(double const &)> &alphasFunc)
 
std::function< double(double const &)> getAlphasFunc () const
 

Private Attributes

PerturbativeQCDOrderType::Type m_pertOrder
 
double m_alphasRef
 
double m_muRef
 
std::vector< double > m_thresholds
 
int m_tabNodes
 
double m_tabLowerBound
 
double m_tabUpperBound
 
int m_tabInterDegree
 
std::function< double(double const &)> m_alphasFunc
 

Additional Inherited Members

- Protected Attributes inherited from PARTONS::RunningAlphaStrongModule
double m_Mu2
 Current renormalization scale squared (in \(GeV^2\)) More...
 
double m_Mu
 Current renormalization scale (in \(GeV\)) More...
 
unsigned int m_nf
 Number of active quark flavors. More...
 
double m_alphaS
 Value of \(\alpha_{s}\) for the current renormalization scale. More...
 
- Protected Attributes inherited from PARTONS::ModuleObject
ModuleObjectFactorym_pModuleObjectFactory
 Pointer tp module object factory. More...
 

Constructor & Destructor Documentation

◆ RunningAlphaStrongApfel() [1/2]

PARTONS::RunningAlphaStrongApfel::RunningAlphaStrongApfel ( const std::string &  className)

Constructor.

Parameters
classNameName of class.

◆ ~RunningAlphaStrongApfel()

PARTONS::RunningAlphaStrongApfel::~RunningAlphaStrongApfel ( )
virtual

Destructor.

◆ RunningAlphaStrongApfel() [2/2]

PARTONS::RunningAlphaStrongApfel::RunningAlphaStrongApfel ( const RunningAlphaStrongApfel other)
protected

Copy constructor.

Parameters
otherObject to be copied.

Member Function Documentation

◆ clone()

RunningAlphaStrongApfel * PARTONS::RunningAlphaStrongApfel::clone ( ) const
virtual

Virtual clone function to allow the factory to clone all derived members object stored in the BaseObjectRegistry.

Returns

Implements PARTONS::RunningAlphaStrongModule.

◆ compute()

double PARTONS::RunningAlphaStrongApfel::compute ( )
virtual

Evaluate \(\alpha_{s}\).

The value of renormalization scale should be set at this point by RunningAlphaStrongModule::preCompute() function.

Returns

Implements PARTONS::RunningAlphaStrongModule.

◆ configure()

void PARTONS::RunningAlphaStrongApfel::configure ( const ElemUtils::Parameters &  parameters)
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
parametersElemUtils::Parameters object.

Reimplemented from PARTONS::RunningAlphaStrongModule.

◆ getAlphasFunc()

std::function< double(double const &)> PARTONS::RunningAlphaStrongApfel::getAlphasFunc ( ) const
private

◆ getAlphasRef()

double PARTONS::RunningAlphaStrongApfel::getAlphasRef ( ) const

◆ getMuRef()

double PARTONS::RunningAlphaStrongApfel::getMuRef ( ) const

◆ getPertOrder()

PerturbativeQCDOrderType::Type PARTONS::RunningAlphaStrongApfel::getPertOrder ( ) const

◆ getTabInterDegree()

int PARTONS::RunningAlphaStrongApfel::getTabInterDegree ( ) const

◆ getTabLowerBound()

double PARTONS::RunningAlphaStrongApfel::getTabLowerBound ( ) const

◆ getTabNodes()

int PARTONS::RunningAlphaStrongApfel::getTabNodes ( ) const

◆ getTabUpperBound()

double PARTONS::RunningAlphaStrongApfel::getTabUpperBound ( ) const

◆ getThresholds()

std::vector< double > PARTONS::RunningAlphaStrongApfel::getThresholds ( ) const

◆ initModule()

void PARTONS::RunningAlphaStrongApfel::initModule ( )
protectedvirtual

Pure virtual function that provides skeleton for module initialization.

Children must define and override it.

Reimplemented from PARTONS::RunningAlphaStrongModule.

◆ isModuleWellConfigured()

void PARTONS::RunningAlphaStrongApfel::isModuleWellConfigured ( )
protectedvirtual

Pure virtual function that provides skeleton to check if the module is well initialized and configured.

Children must define and override it.

Reimplemented from PARTONS::RunningAlphaStrongModule.

◆ setAlphasFunc()

void PARTONS::RunningAlphaStrongApfel::setAlphasFunc ( const std::function< double(double const &)> &  alphasFunc)
private

◆ setAlphasRef()

void PARTONS::RunningAlphaStrongApfel::setAlphasRef ( const double &  alphasRef)

◆ setMuRef()

void PARTONS::RunningAlphaStrongApfel::setMuRef ( const double &  muRef)

◆ setPertOrder()

void PARTONS::RunningAlphaStrongApfel::setPertOrder ( const PerturbativeQCDOrderType::Type pertOrder)

◆ setTabInterDegree()

void PARTONS::RunningAlphaStrongApfel::setTabInterDegree ( const int &  tabInterDegree)

◆ setTabLowerBound()

void PARTONS::RunningAlphaStrongApfel::setTabLowerBound ( const double &  tabLowerBound)

◆ setTabNodes()

void PARTONS::RunningAlphaStrongApfel::setTabNodes ( const int &  tabNodes)

◆ setTabUpperBound()

void PARTONS::RunningAlphaStrongApfel::setTabUpperBound ( const double &  tabUpperBound)

◆ setThresholds()

void PARTONS::RunningAlphaStrongApfel::setThresholds ( const std::vector< double > &  thresholds)

Member Data Documentation

◆ classId

const unsigned int PARTONS::RunningAlphaStrongApfel::classId
static
Initial value:
=
new RunningAlphaStrongApfel("RunningAlphaStrongApfel"))
unsigned int registerBaseObject(BaseObject *pBaseObject)
Store a unique instance of a module identified by a unique string character key.
Definition: BaseObjectRegistry.cpp:45
static BaseObjectRegistry * getInstance()
Static function to be able to retrieve a unique instance pointer of this class anywhere in the code.
Definition: BaseObjectRegistry.cpp:15
RunningAlphaStrongApfel(const std::string &className)
Constructor.
Definition: RunningAlphaStrongApfel.cpp:26

Unique ID to automatically register the class in the registry.

◆ m_alphasFunc

std::function<double(double const&)> PARTONS::RunningAlphaStrongApfel::m_alphasFunc
private

◆ m_alphasRef

double PARTONS::RunningAlphaStrongApfel::m_alphasRef
private

◆ m_muRef

double PARTONS::RunningAlphaStrongApfel::m_muRef
private

◆ m_pertOrder

PerturbativeQCDOrderType::Type PARTONS::RunningAlphaStrongApfel::m_pertOrder
private

◆ m_tabInterDegree

int PARTONS::RunningAlphaStrongApfel::m_tabInterDegree
private

◆ m_tabLowerBound

double PARTONS::RunningAlphaStrongApfel::m_tabLowerBound
private

◆ m_tabNodes

int PARTONS::RunningAlphaStrongApfel::m_tabNodes
private

◆ m_tabUpperBound

double PARTONS::RunningAlphaStrongApfel::m_tabUpperBound
private

◆ m_thresholds

std::vector<double> PARTONS::RunningAlphaStrongApfel::m_thresholds
private

◆ PARAM_NAME_ALPHAS_REF

const std::string PARTONS::RunningAlphaStrongApfel::PARAM_NAME_ALPHAS_REF = "alphasRef"
static

Settable parameters.

◆ PARAM_NAME_MU_REF

const std::string PARTONS::RunningAlphaStrongApfel::PARAM_NAME_MU_REF = "muRef"
static

◆ PARAM_NAME_TAB_INTER_DEGREE

const std::string PARTONS::RunningAlphaStrongApfel::PARAM_NAME_TAB_INTER_DEGREE = "tabInterDegree"
static

◆ PARAM_NAME_TAB_LOWER_BOUND

const std::string PARTONS::RunningAlphaStrongApfel::PARAM_NAME_TAB_LOWER_BOUND = "tabLowerBound"
static

◆ PARAM_NAME_TAB_NODES

const std::string PARTONS::RunningAlphaStrongApfel::PARAM_NAME_TAB_NODES = "tabNodes"
static

◆ PARAM_NAME_TAB_UPPER_BOUND

const std::string PARTONS::RunningAlphaStrongApfel::PARAM_NAME_TAB_UPPER_BOUND = "tabUpperBound"
static

◆ PARAM_NAME_THRESHOLDS

const std::string PARTONS::RunningAlphaStrongApfel::PARAM_NAME_THRESHOLDS = "thresholds"
static

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