PARTONS
|
PARtonic Tomography Of Nucleon Software
|
Fixed number of active quark flavors. More...
Public Member Functions | |
ActiveFlavorsThresholdsConstant (const std::string &className) | |
Constructor. More... | |
virtual | ~ActiveFlavorsThresholdsConstant () |
Destructor. More... | |
virtual ActiveFlavorsThresholdsConstant * | clone () 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 ¶meters) |
Provides a generic method to configure all types of modules by passing a Parameters object. 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 | setNFlavors (size_t nFlavors) |
Set number of quark flavors. More... | |
size_t | getNFlavors () const |
Get number of quark flavors. More... | |
Public Member Functions inherited from PARTONS::ActiveFlavorsThresholdsModule | |
ActiveFlavorsThresholdsModule (const std::string &className) | |
Constructor. More... | |
virtual | ~ActiveFlavorsThresholdsModule () |
Destructor. More... | |
virtual std::string | toString () const |
Return a pre-formatted characters string for output visualization of class member's values. 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... | |
ActiveFlavorsThresholds | getNfInterval (double Mu2) const |
Get interval for a specific value of the factorization scale squared. More... | |
std::vector< ActiveFlavorsThresholds > | getNfIntervals (double Mu2Min, double Mu2Max) const |
Get intervals for a specific range of the factorization scale squared. More... | |
std::vector< ActiveFlavorsThresholds > | getNfIntervals () const |
Get intervals for the entire range of the factorization scale squared. 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 | PARAM_NAME_N_FLAVORS |
static const unsigned int | classId |
Unique ID to automatically register the class in the registry. More... | |
Static Public Attributes inherited from PARTONS::ActiveFlavorsThresholdsModule | |
static const std::string | ACTIVE_FLAVORS_THRESHOLDS_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 | |
ActiveFlavorsThresholdsConstant (const ActiveFlavorsThresholdsConstant &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::ActiveFlavorsThresholdsModule | |
ActiveFlavorsThresholdsModule (const ActiveFlavorsThresholdsModule &other) | |
Copy constructor. More... | |
void | addNfInterval (unsigned short nfValue, double lowerBound, double upperBound) |
Add a new interval. More... | |
void | reset () |
Reset vector containing defined integrals. 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 Attributes | |
size_t | m_nFlavors |
Number of quark flavors. More... | |
Additional Inherited Members | |
Protected Attributes inherited from PARTONS::ModuleObject | |
ModuleObjectFactory * | m_pModuleObjectFactory |
Pointer tp module object factory. More... | |
Fixed number of active quark flavors.
This module defines one number of active quark flavors for whole range of factorization scale. The default number is 3 and can be changed by or by.
PARTONS::ActiveFlavorsThresholdsConstant::ActiveFlavorsThresholdsConstant | ( | 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.
Implements PARTONS::ActiveFlavorsThresholdsModule.
|
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::ActiveFlavorsThresholdsModule.
size_t PARTONS::ActiveFlavorsThresholdsConstant::getNFlavors | ( | ) | const |
Get number of quark flavors.
|
protectedvirtual |
Pure virtual function that provides skeleton for module initialization.
Children must define and override it.
Reimplemented from PARTONS::ActiveFlavorsThresholdsModule.
|
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::ActiveFlavorsThresholdsModule.
|
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::ActiveFlavorsThresholdsModule.
void PARTONS::ActiveFlavorsThresholdsConstant::setNFlavors | ( | size_t | nFlavors | ) |
Set number of quark flavors.
|
static |
Unique ID to automatically register the class in the registry.
|
private |
Number of quark flavors.
|
static |