Abstract class for modules evaluating QCD running coupling constant.
More...
Abstract class for modules evaluating QCD running coupling constant.
This class acts as an abstract (mother) class for modules used in the evaluation of the QCD running coupling constant. The usage of its derivatives is illustrated by the following example:
double muR2 = 10.;
double alpha_s = pRunningAlphaStrongModule->
compute(muR2);
RunningAlphaStrongModule * newRunningAlphaStrongModule(unsigned int classId)
Specialization of ModuleObjectFactory::newModuleObject into a RunningAlphaStrongModule.
Definition: ModuleObjectFactory.cpp:317
ElemUtils::LoggerManager * getLoggerManager() const
Definition: Partons.cpp:191
static Partons * getInstance()
Share a unique pointer of this class.
Definition: Partons.cpp:27
ModuleObjectFactory * getModuleObjectFactory() const
Definition: Partons.cpp:187
RunningAlphaStrongModule(const std::string &className)
Constructor.
Definition: RunningAlphaStrongModule.cpp:12
double compute(double Mu2)
Evaluate for a given value of renormalization scale squared.
Definition: RunningAlphaStrongModule.cpp:70
which gives via Logger:
06-06-2017 02:25:55 [INFO] (example::main) alpha_s at muR2 = 10GeV2 is 0.250786275698706
◆ RunningAlphaStrongModule() [1/2]
PARTONS::RunningAlphaStrongModule::RunningAlphaStrongModule |
( |
const std::string & |
className | ) |
|
◆ ~RunningAlphaStrongModule()
PARTONS::RunningAlphaStrongModule::~RunningAlphaStrongModule |
( |
| ) |
|
|
virtual |
◆ RunningAlphaStrongModule() [2/2]
Copy constructor.
- Parameters
-
other | Object to be copied. |
◆ clone()
◆ compute() [1/2]
virtual double PARTONS::RunningAlphaStrongModule::compute |
( |
| ) |
|
|
protectedpure virtual |
◆ compute() [2/2]
double PARTONS::RunningAlphaStrongModule::compute |
( |
double |
Mu2 | ) |
|
Evaluate \(\alpha_{s}\) for a given value of renormalization scale squared.
- Parameters
-
Mu2 | Value of renormalization scale squared. |
- Returns
- Evaluated value of \(\alpha_{s}\).
◆ configure()
void PARTONS::RunningAlphaStrongModule::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
-
parameters | ElemUtils::Parameters object. |
Reimplemented from PARTONS::ModuleObject.
Reimplemented in PARTONS::RunningAlphaStrongApfel.
◆ getNf()
unsigned int PARTONS::RunningAlphaStrongModule::getNf |
( |
| ) |
const |
◆ initModule()
void PARTONS::RunningAlphaStrongModule::initModule |
( |
| ) |
|
|
protectedvirtual |
◆ isModuleWellConfigured()
void PARTONS::RunningAlphaStrongModule::isModuleWellConfigured |
( |
| ) |
|
|
protectedvirtual |
◆ isPreviousKinematicsDifferent()
bool PARTONS::RunningAlphaStrongModule::isPreviousKinematicsDifferent |
( |
const double |
MuF2 | ) |
const |
|
protected |
Check if previous kinematics is different than the actual one.
This allows to avoid a reevaluation of \(\alpha_{s}\) when the renormalization scale is not changed.
- Parameters
-
MuF2 | Value of renormalization scale squared. |
- Returns
- True if previous kiematics is different, otherwise false.
◆ preCompute()
void PARTONS::RunningAlphaStrongModule::preCompute |
( |
const double |
Mu2 | ) |
|
|
protected |
Do a pre-evaluation steps before the evaluation of \(\alpha_{s}\).
- Parameters
-
Mu2 | Value of renormalization scale squared. |
◆ prepareSubModules()
void PARTONS::RunningAlphaStrongModule::prepareSubModules |
( |
const std::map< std::string, BaseObjectData > & |
subModulesData | ) |
|
|
virtual |
Method used in automation to prepare all the modules used by this current module and configure them recursively.
The recursion is linked to the imbrication in XML files.
Can be implemented in the child class if it needs modules not needed by the parent class. But there must be first a call to the parent method.
- Parameters
-
subModulesData | Data used to retrieve the needed modules and their configuration. |
Reimplemented from PARTONS::ModuleObject.
◆ resolveObjectDependencies()
void PARTONS::RunningAlphaStrongModule::resolveObjectDependencies |
( |
| ) |
|
|
virtual |
Because of the initialization step order of the program, objects are registered in a total random order and some objects depend on others.
To avoid the problem of pointer resolution order, this method is called by the BaseObjectRegistery after all objects are well registered in it. See BaseObjectRegistry class documentation for more details.
Reimplemented from PARTONS::ModuleObject.
◆ setNf()
void PARTONS::RunningAlphaStrongModule::setNf |
( |
unsigned int |
nf | ) |
|
◆ toString()
std::string PARTONS::RunningAlphaStrongModule::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::ModuleObject.
◆ m_alphaS
double PARTONS::RunningAlphaStrongModule::m_alphaS |
|
protected |
Value of \(\alpha_{s}\) for the current renormalization scale.
◆ m_Mu
double PARTONS::RunningAlphaStrongModule::m_Mu |
|
protected |
Current renormalization scale (in \(GeV\))
◆ m_Mu2
double PARTONS::RunningAlphaStrongModule::m_Mu2 |
|
protected |
Current renormalization scale squared (in \(GeV^2\))
◆ m_nf
unsigned int PARTONS::RunningAlphaStrongModule::m_nf |
|
protected |
Number of active quark flavors.
◆ RUNNING_ALPHA_STRONG_MODULE_CLASS_NAME
const std::string PARTONS::RunningAlphaStrongModule::RUNNING_ALPHA_STRONG_MODULE_CLASS_NAME |
|
static |
Initial value:=
"RunningAlphaStrongModule"
Type of module name used by the automatization.
The documentation for this class was generated from the following files: