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

BaseObject is the ”zeroth-level-object” of the architecture. More...

Inheritance diagram for PARTONS::BaseObject:
PARTONS::ErrorBar< double > PARTONS::List< PARTONS::BaseObjectData * > PARTONS::List< PARTONS::ModuleObject * > PARTONS::List< ResultType > PARTONS::List< Plot2D > PARTONS::List< PARTONS::KinematicType > PARTONS::List< PARTONS::GPDType > PARTONS::PhysicalType< double > PARTONS::Result< GPDSubtractionConstantKinematic > PARTONS::Result< GPDKinematic > PARTONS::Result< CollinearDistributionKinematic > PARTONS::AutomationService PARTONS::BaseObjectData PARTONS::CollinearDistributionKinematicDao PARTONS::CollinearDistributionKinematicDaoService PARTONS::CollinearDistributionResultDao PARTONS::Computation PARTONS::ComputationDao PARTONS::ComputationDaoService PARTONS::ConvolCoeffFunctionKinematicDao PARTONS::ConvolCoeffFunctionKinematicDaoService PARTONS::ConvolCoeffFunctionResultDao PARTONS::CryptographicHashI PARTONS::DDVCSObservableResultDao PARTONS::DVCSObservableResultDao PARTONS::DVMPObservableResultDao PARTONS::DatabaseFileObject PARTONS::DatabaseManager PARTONS::EnvironmentConfigurationDao PARTONS::EnvironmentConfigurationDaoService PARTONS::ErrorBar< T > PARTONS::FileObject PARTONS::GPDKinematicDao PARTONS::GPDKinematicDaoService PARTONS::GPDResultDao PARTONS::GluonDistribution PARTONS::Kinematic PARTONS::KinematicUtils PARTONS::List< T > PARTONS::ModuleObject PARTONS::ModuleObjectFactory PARTONS::ModuleObjectReference PARTONS::ObservableKinematicDao PARTONS::ObservableKinematicDaoService PARTONS::ObservableResultDao PARTONS::PartonContent PARTONS::PartonDistribution PARTONS::PartonDistributionDao PARTONS::PartonDistributionDaoService PARTONS::PerturbativeQCDOrderType PARTONS::PhysicalType< T > PARTONS::QuarkDistribution PARTONS::QuarkDistributionDao PARTONS::ResourceManager PARTONS::Result< KinematicType > PARTONS::ResultDaoService PARTONS::ResultInfo PARTONS::ResultInfoDao PARTONS::ResultInfoDaoService PARTONS::Scales PARTONS::ScenarioDao PARTONS::ScenarioDaoService PARTONS::ScenarioManager PARTONS::ServiceObject PARTONS::TCSObservableResultDao PARTONS::Task PARTONS::ThreadManager PARTONS::VCSSubProcessType PARTONS::XMLParserI PARTONS::XMLValidatorI

Public Member Functions

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

Protected Member Functions

 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

unsigned int getUniqueObjectId ()
 On call, returns an incremented by one uniqueID member value. More...
 

Private Attributes

unsigned int m_objectId
 Unique id identifying each object. More...
 
std::string m_className
 String that represents class's name used by the LoggerManager's class to know the source of the output trace. More...
 
int m_indexId
 Integer used when object is created from database. It is related to the id column value in the right database table. More...
 

Static Private Attributes

static unsigned int m_uniqueObjectIdCounter = 0
 

Detailed Description

BaseObject is the ”zeroth-level-object” of the architecture.

Each module in PARTONS is referred to with a unique class name and a unique int used as ID.

Any C++ object in PARTONS can inherit of it. It fulfills several needs:

  1. It contains a clone function to be used to the factory to provide the user an object identified by a simple key (a string).
  2. It carries information on the identity of a specific object among others to transmit an explicit message to the logger (i.e. understandable by a human being, not an address in memory).
  3. It handles Packets to allow systematic computations over lists of inputs e.g. with threads.
  4. It allows the registry to store pointers to all modules in a generic way.

Constructor & Destructor Documentation

◆ BaseObject() [1/2]

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

Constructor.

Takes a string parameter that represents the class's name of the child instance class.

Parameters
classNameclass's name of child class.

◆ ~BaseObject()

PARTONS::BaseObject::~BaseObject ( )
virtual

Default destructor.

◆ BaseObject() [2/2]

PARTONS::BaseObject::BaseObject ( const BaseObject other)
protected

Copy constructor.

Parameters
other

Member Function Documentation

◆ clone()

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

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

Returns

Reimplemented in PARTONS::XiConverterModule< DVMPObservableKinematic >, PARTONS::XiConverterModule< DVCSObservableKinematic >, PARTONS::XiConverterModule< GAM2ObservableKinematic >, PARTONS::XiConverterModule< TCSObservableKinematic >, PARTONS::XiConverterModule< DDVCSObservableKinematic >, PARTONS::ScalesModule< DVMPObservableKinematic >, PARTONS::ScalesModule< DVCSObservableKinematic >, PARTONS::ScalesModule< GAM2ObservableKinematic >, PARTONS::ScalesModule< TCSObservableKinematic >, PARTONS::ScalesModule< DDVCSObservableKinematic >, PARTONS::ProcessModule< DDVCSObservableKinematic, DDVCSObservableResult >, PARTONS::ProcessModule< DVCSObservableKinematic, DVCSObservableResult >, PARTONS::ProcessModule< TCSObservableKinematic, TCSObservableResult >, PARTONS::ProcessModule< GAM2ObservableKinematic, GAM2ObservableResult >, PARTONS::ProcessModule< DVMPObservableKinematic, DVMPObservableResult >, PARTONS::Observable< DDVCSObservableKinematic, DDVCSObservableResult >, PARTONS::Observable< DVCSObservableKinematic, DVCSObservableResult >, PARTONS::Observable< TCSObservableKinematic, TCSObservableResult >, PARTONS::Observable< DVMPObservableKinematic, DVMPObservableResult >, PARTONS::ConvolCoeffFunctionModule< TCSConvolCoeffFunctionKinematic, TCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< DDVCSConvolCoeffFunctionKinematic, DDVCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< DVCSConvolCoeffFunctionKinematic, DVCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< GAM2ConvolCoeffFunctionKinematic, GAM2ConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< DVMPConvolCoeffFunctionKinematic, DVMPConvolCoeffFunctionResult >, PARTONS::XiConverterModule< KinematicType >, PARTONS::TCSXiConverterModule, PARTONS::GAM2XiConverterModule, PARTONS::DVMPXiConverterModule, PARTONS::DVCSXiConverterModule, PARTONS::DDVCSXiConverterModule, PARTONS::TCSScalesModule, PARTONS::ScalesModule< KinematicType >, PARTONS::GAM2ScalesModule, PARTONS::DVMPScalesModule, PARTONS::DVCSScalesModule, PARTONS::DDVCSScalesModule, PARTONS::RunningAlphaStrongModule, PARTONS::TCSProcessModule, PARTONS::ProcessModule< KinematicType, ResultType >, PARTONS::GAM2ProcessModule, PARTONS::DVMPProcessModule, PARTONS::DVCSProcessModule, PARTONS::DDVCSProcessModule, PARTONS::TCSObservable, PARTONS::Observable< KinematicType, ResultType >, PARTONS::DVMPObservable, PARTONS::DVCSObservable, PARTONS::DDVCSObservable, PARTONS::GPDModule, PARTONS::GPDEvolutionModule, PARTONS::CollinearDistributionEvolutionModule, PARTONS::TCSConvolCoeffFunctionModule, PARTONS::GAM2ConvolCoeffFunctionModule, PARTONS::DVMPConvolCoeffFunctionModule, PARTONS::DVCSConvolCoeffFunctionModule, PARTONS::DDVCSConvolCoeffFunctionModule, PARTONS::ConvolCoeffFunctionModule< KinematicType, ResultType >, PARTONS::CollinearDistributionModule, PARTONS::ActiveFlavorsThresholdsModule, PARTONS::ModuleObject, PARTONS::PartonContent, PARTONS::TCSXiConverterTauToXi, PARTONS::TCSXiConverterExact, PARTONS::GAM2XiConverterExact, PARTONS::DVMPXiConverterXBToXi, PARTONS::DVCSXiConverterXBToXi, PARTONS::DDVCSXiConverterTNeglected, PARTONS::TCSScalesQ2PrimMultiplier, PARTONS::GAM2ScalesMgg2Multiplier, PARTONS::DVMPScalesQ2Multiplier, PARTONS::DVCSScalesQ2Multiplier, PARTONS::DDVCSScalesVirtualitiesSum, PARTONS::RunningAlphaStrongVinnikov, PARTONS::RunningAlphaStrongStandard, PARTONS::RunningAlphaStrongGK, PARTONS::RunningAlphaStrongApfel, PARTONS::TCSProcessBDPGW19, PARTONS::TCSProcessBDP01, PARTONS::GAM2ProcessGPSSW21, PARTONS::DVMPProcessGK06, PARTONS::DVCSProcessVGG99, PARTONS::DVCSProcessGV08, PARTONS::DVCSProcessBMJ12, PARTONS::DDVCSProcessDMSW22, PARTONS::TCSCrossSectionUUWeightedThetaIntegrated, PARTONS::TCSCrossSectionUUWeighted, PARTONS::TCSCrossSectionUUThetaPhiIntegrated, PARTONS::TCSCrossSectionUUThetaIntegrated, PARTONS::TCSCrossSectionUU, PARTONS::TCSCrossSectionTotal, PARTONS::TCSCrossSectionDifferenceCUThetaIntegrated, PARTONS::TCSCrossSectionDifferenceCU, PARTONS::TCSR, PARTONS::TCSAutSinPhiMPhisThetaIntegrated, PARTONS::TCSAutSinPhiMPhis, PARTONS::TCSAutCosPhiMPhisThetaIntegrated, PARTONS::TCSAutCosPhiMPhis, PARTONS::TCSAfb, PARTONS::TCSAcuThetaIntegrated, PARTONS::TCSAcu, PARTONS::DVMPCrossSectionUUUMinusPhiIntegrated, PARTONS::DVMPCrossSectionUUUMinus, PARTONS::DVMPCrossSectionTotal, PARTONS::DVMPAuluMinusSin3Phi, PARTONS::DVMPAuluMinusSin2Phi, PARTONS::DVMPAuluMinusSin1Phi, PARTONS::DVMPAuluMinus, PARTONS::DVMPAluuMinusSin1Phi, PARTONS::DVMPAluuMinus, PARTONS::DVMPAlluMinusCos2Phi, PARTONS::DVMPAlluMinusCos1Phi, PARTONS::DVMPAlluMinusCos0Phi, PARTONS::DVMPAlluMinus, PARTONS::DVCSCrossSectionUUVirtualPhotoProductionPhiIntegrated, PARTONS::DVCSCrossSectionUUVirtualPhotoProduction, PARTONS::DVCSCrossSectionUUMinusPhiIntegrated, PARTONS::DVCSCrossSectionUUMinus, PARTONS::DVCSCrossSectionUUDVCSSubProcPhiIntegrated, PARTONS::DVCSCrossSectionUUDVCSSubProc, PARTONS::DVCSCrossSectionUUBHSubProc, PARTONS::DVCSCrossSectionTotal, PARTONS::DVCSCrossSectionDifferenceLUMinus, PARTONS::DVCSAutMinusSinPhiMPhisCos0Phi, PARTONS::DVCSAutMinusSinPhiMPhis, PARTONS::DVCSAutIntSinPhiMPhisSin1Phi, PARTONS::DVCSAutIntSinPhiMPhisCos1Phi, PARTONS::DVCSAutIntSinPhiMPhisCos0Phi, PARTONS::DVCSAutIntSinPhiMPhis, PARTONS::DVCSAutDVCSSinPhiMPhisCos0Phi, PARTONS::DVCSAutDVCSSinPhiMPhis, PARTONS::DVCSAulPlusSin3Phi, PARTONS::DVCSAulPlusSin2Phi, PARTONS::DVCSAulPlusSin1Phi, PARTONS::DVCSAulPlus, PARTONS::DVCSAulMinusSin3Phi, PARTONS::DVCSAulMinusSin2Phi, PARTONS::DVCSAulMinusSin1Phi, PARTONS::DVCSAulMinus, PARTONS::DVCSAluPlus, PARTONS::DVCSAluMinusSin1Phi, PARTONS::DVCSAluMinus, PARTONS::DVCSAluIntSin2Phi, PARTONS::DVCSAluIntSin1Phi, PARTONS::DVCSAluInt, PARTONS::DVCSAluDVCSSin1Phi, PARTONS::DVCSAluDVCS, PARTONS::DVCSAltIntSinPhiMPhisSin2Phi, PARTONS::DVCSAltIntSinPhiMPhisSin1Phi, PARTONS::DVCSAltIntSinPhiMPhis, PARTONS::DVCSAltIntCosPhiMPhisCos2Phi, PARTONS::DVCSAltIntCosPhiMPhisCos1Phi, PARTONS::DVCSAltIntCosPhiMPhisCos0Phi, PARTONS::DVCSAltIntCosPhiMPhis, PARTONS::DVCSAltDVCSSinPhiMPhisSin1Phi, PARTONS::DVCSAltDVCSSinPhiMPhis, PARTONS::DVCSAltDVCSCosPhiMPhisCos1Phi, PARTONS::DVCSAltDVCSCosPhiMPhisCos0Phi, PARTONS::DVCSAltDVCSCosPhiMPhis, PARTONS::DVCSAllPlusCos2Phi, PARTONS::DVCSAllPlusCos1Phi, PARTONS::DVCSAllPlusCos0Phi, PARTONS::DVCSAllPlus, PARTONS::DVCSAllMinusCos2Phi, PARTONS::DVCSAllMinusCos1Phi, PARTONS::DVCSAllMinusCos0Phi, PARTONS::DVCSAllMinus, PARTONS::DVCSAcCos3Phi, PARTONS::DVCSAcCos2Phi, PARTONS::DVCSAcCos1Phi, PARTONS::DVCSAcCos0Phi, PARTONS::DVCSAc, PARTONS::DDVCSCrossSectionUUMinusTCSLimit, PARTONS::DDVCSCrossSectionUUMinusDVCSLimit, PARTONS::DDVCSCrossSectionUUMinus, PARTONS::DDVCSCrossSectionTotal, PARTONS::DDVCSAluPhiL, PARTONS::DDVCSAluPhi, PARTONS::GPDSubtractionConstantModule, PARTONS::GPDSubtractionConstantKM10, PARTONS::GPDSubtractionConstantDLMSTW21, PARTONS::GPDVinnikov06, PARTONS::GPDVGG99, PARTONS::GPDSelectOnePartonType, PARTONS::GPDMPSSW13, PARTONS::GPDMMS13, PARTONS::GPDHM18, PARTONS::GPDGK19COMPASS, PARTONS::GPDGK19, PARTONS::GPDGK16Numerical, PARTONS::GPDGK16, PARTONS::GPDGK11, PARTONS::GPDBDMMS21, PARTONS::GPDEvolutionVinnikov, PARTONS::GPDEvolutionApfel, PARTONS::CollinearDistributionEvolutionApfel, PARTONS::TCSCFFStandard, PARTONS::TCSCFFFromDVCSOnlyNLOPart, PARTONS::TCSCFFFromDVCS, PARTONS::GAM2CFFStandard, PARTONS::DVMPCFFGK06, PARTONS::DVCSCFFStandard, PARTONS::DVCSCFFNN, PARTONS::DVCSCFFHeavyQuark, PARTONS::DVCSCFFDispersionRelation, PARTONS::DVCSCFFConstant, PARTONS::DDVCSCFFStandard, PARTONS::CollinearDistributionLHAPDF, PARTONS::ActiveFlavorsThresholdsVariable, PARTONS::ActiveFlavorsThresholdsQuarkMasses, and PARTONS::ActiveFlavorsThresholdsConstant.

◆ debug()

void PARTONS::BaseObject::debug ( const std::string &  functionName,
const std::string &  message 
) const
protected

Print debug message into logger.

Parameters
functionNameame of the function throwing an information. Use __func__ to set it automatically.
messageMessage to the logger.

◆ errorMissingParameter()

void PARTONS::BaseObject::errorMissingParameter ( const std::string &  parameterName) const
protected

Use in automation process to throw exception when a parameter is missing from the XML scenario file.

Parameters
parameterName

◆ getClassName()

const std::string & PARTONS::BaseObject::getClassName ( ) const
Returns
Name of last child class.

◆ getIndexId()

int PARTONS::BaseObject::getIndexId ( ) const
Returns
Integer used when object is created from database. It is related to the id column value in the right database table.

◆ getObjectId()

unsigned int PARTONS::BaseObject::getObjectId ( ) const
Returns
Unique id identifying each object.

◆ getUniqueObjectId()

unsigned int PARTONS::BaseObject::getUniqueObjectId ( )
private

On call, returns an incremented by one uniqueID member value.

Returns
incremented unsigned int ID.

◆ info()

void PARTONS::BaseObject::info ( const std::string &  functionName,
const std::string &  message 
) const
protected

Print info message into logger.

Parameters
functionNameName of the function throwing an information. Use __func__ to set it automatically.
messageMessage to the logger.

◆ operator<()

bool PARTONS::BaseObject::operator< ( const BaseObject other) const

Overload of < operator to sort BaseObject object by its indexId value.

Parameters
other
Returns

◆ resolveObjectDependencies()

void PARTONS::BaseObject::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 in PARTONS::TCSObservableService, PARTONS::TCSConvolCoeffFunctionService, PARTONS::ObservableService< KinematicType, ResultType >, PARTONS::ObservableService< DDVCSObservableKinematic, DDVCSObservableResult >, PARTONS::ObservableService< DVCSObservableKinematic, DVCSObservableResult >, PARTONS::ObservableService< TCSObservableKinematic, TCSObservableResult >, PARTONS::ObservableService< DVMPObservableKinematic, DVMPObservableResult >, PARTONS::GPDService, PARTONS::DVMPObservableService, PARTONS::DVMPConvolCoeffFunctionService, PARTONS::DVCSObservableService, PARTONS::DVCSConvolCoeffFunctionService, PARTONS::DDVCSObservableService, PARTONS::DDVCSConvolCoeffFunctionService, PARTONS::ConvolCoeffFunctionService< KinematicType, ResultType >, PARTONS::ConvolCoeffFunctionService< TCSConvolCoeffFunctionKinematic, TCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionService< DDVCSConvolCoeffFunctionKinematic, DDVCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionService< DVCSConvolCoeffFunctionKinematic, DVCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionService< DVMPConvolCoeffFunctionKinematic, DVMPConvolCoeffFunctionResult >, PARTONS::CollinearDistributionService, PARTONS::AutomationService, PARTONS::ServiceObjectTyped< KinematicType, ResultType >, PARTONS::ServiceObjectTyped< CollinearDistributionKinematic, CollinearDistributionResult >, PARTONS::ServiceObjectTyped< GPDKinematic, GPDResult >, PARTONS::ServiceObject, PARTONS::RunningAlphaStrongModule, PARTONS::TCSProcessModule, PARTONS::ProcessModule< KinematicType, ResultType >, PARTONS::ProcessModule< DDVCSObservableKinematic, DDVCSObservableResult >, PARTONS::ProcessModule< DVCSObservableKinematic, DVCSObservableResult >, PARTONS::ProcessModule< TCSObservableKinematic, TCSObservableResult >, PARTONS::ProcessModule< GAM2ObservableKinematic, GAM2ObservableResult >, PARTONS::ProcessModule< DVMPObservableKinematic, DVMPObservableResult >, PARTONS::GAM2ProcessModule, PARTONS::DVMPProcessModule, PARTONS::DVCSProcessModule, PARTONS::DDVCSProcessModule, PARTONS::TCSObservable, PARTONS::Observable< KinematicType, ResultType >, PARTONS::Observable< DDVCSObservableKinematic, DDVCSObservableResult >, PARTONS::Observable< DVCSObservableKinematic, DVCSObservableResult >, PARTONS::Observable< TCSObservableKinematic, TCSObservableResult >, PARTONS::Observable< DVMPObservableKinematic, DVMPObservableResult >, PARTONS::DVMPObservable, PARTONS::DVCSObservable, PARTONS::DDVCSObservable, PARTONS::GPDSubtractionConstantModule, PARTONS::GPDVinnikov06, PARTONS::GPDVGG99, PARTONS::GPDMPSSW13, PARTONS::GPDModule, PARTONS::GPDMMS13, PARTONS::GPDHM18, PARTONS::GPDGK19COMPASS, PARTONS::GPDBDMMS21, PARTONS::GPDEvolutionVinnikov, PARTONS::GPDEvolutionModule, PARTONS::GPDEvolutionApfel, PARTONS::CollinearDistributionEvolutionModule, PARTONS::CollinearDistributionEvolutionApfel, PARTONS::TCSConvolCoeffFunctionModule, PARTONS::TCSCFFStandard, PARTONS::TCSCFFFromDVCS, PARTONS::GAM2ConvolCoeffFunctionModule, PARTONS::GAM2CFFStandard, PARTONS::DVMPConvolCoeffFunctionModule, PARTONS::DVMPCFFGK06, PARTONS::DVCSConvolCoeffFunctionModule, PARTONS::DVCSCFFStandard, PARTONS::DVCSCFFNN, PARTONS::DVCSCFFHeavyQuark, PARTONS::DVCSCFFDispersionRelation, PARTONS::DDVCSConvolCoeffFunctionModule, PARTONS::DDVCSCFFStandard, PARTONS::ConvolCoeffFunctionModule< KinematicType, ResultType >, PARTONS::ConvolCoeffFunctionModule< TCSConvolCoeffFunctionKinematic, TCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< DDVCSConvolCoeffFunctionKinematic, DDVCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< DVCSConvolCoeffFunctionKinematic, DVCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< GAM2ConvolCoeffFunctionKinematic, GAM2ConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< DVMPConvolCoeffFunctionKinematic, DVMPConvolCoeffFunctionResult >, PARTONS::CollinearDistributionModule, PARTONS::ActiveFlavorsThresholdsVariable, PARTONS::ActiveFlavorsThresholdsModule, PARTONS::ActiveFlavorsThresholdsConstant, and PARTONS::ModuleObject.

◆ serialize()

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

Used to split a complex C++ object into a concatenation of simple types.

Parameters
packet

◆ setIndexId()

void PARTONS::BaseObject::setIndexId ( int  indexId)
Parameters
indexIdInteger used when object is created from database. It is related to the id column value in the right database table.

◆ toString()

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

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

Returns
a pre-formatted characters string.

Reimplemented in PARTONS::PhysicalType< T >, PARTONS::PhysicalType< double >, PARTONS::ErrorBar< T >, PARTONS::ErrorBar< double >, PARTONS::RunningAlphaStrongModule, PARTONS::TCSProcessModule, PARTONS::ProcessModule< KinematicType, ResultType >, PARTONS::ProcessModule< DDVCSObservableKinematic, DDVCSObservableResult >, PARTONS::ProcessModule< DVCSObservableKinematic, DVCSObservableResult >, PARTONS::ProcessModule< TCSObservableKinematic, TCSObservableResult >, PARTONS::ProcessModule< GAM2ObservableKinematic, GAM2ObservableResult >, PARTONS::ProcessModule< DVMPObservableKinematic, DVMPObservableResult >, PARTONS::GAM2ProcessModule, PARTONS::DVMPProcessModule, PARTONS::DVCSProcessModule, PARTONS::DDVCSProcessModule, PARTONS::TCSObservable, PARTONS::Observable< KinematicType, ResultType >, PARTONS::Observable< DDVCSObservableKinematic, DDVCSObservableResult >, PARTONS::Observable< DVCSObservableKinematic, DVCSObservableResult >, PARTONS::Observable< TCSObservableKinematic, TCSObservableResult >, PARTONS::Observable< DVMPObservableKinematic, DVMPObservableResult >, PARTONS::DVMPObservable, PARTONS::DVCSObservable, PARTONS::DDVCSObservable, PARTONS::GPDSubtractionConstantModule, PARTONS::GPDVinnikov06, PARTONS::GPDVGG99, PARTONS::GPDModule, PARTONS::GPDMMS13, PARTONS::GPDGK16Numerical, PARTONS::GPDGK16, PARTONS::GPDGK11, PARTONS::GPDEvolutionModule, PARTONS::GPDEvolutionApfel, PARTONS::CollinearDistributionEvolutionModule, PARTONS::CollinearDistributionEvolutionApfel, PARTONS::TCSConvolCoeffFunctionModule, PARTONS::GAM2ConvolCoeffFunctionModule, PARTONS::DVMPConvolCoeffFunctionModule, PARTONS::DVCSConvolCoeffFunctionModule, PARTONS::DDVCSConvolCoeffFunctionModule, PARTONS::ConvolCoeffFunctionModule< KinematicType, ResultType >, PARTONS::ConvolCoeffFunctionModule< TCSConvolCoeffFunctionKinematic, TCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< DDVCSConvolCoeffFunctionKinematic, DDVCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< DVCSConvolCoeffFunctionKinematic, DVCSConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< GAM2ConvolCoeffFunctionKinematic, GAM2ConvolCoeffFunctionResult >, PARTONS::ConvolCoeffFunctionModule< DVMPConvolCoeffFunctionKinematic, DVMPConvolCoeffFunctionResult >, PARTONS::CollinearDistributionModule, PARTONS::CollinearDistributionLHAPDF, PARTONS::ActiveFlavorsThresholdsModule, PARTONS::ModuleObjectReference, PARTONS::ModuleObjectFactory, PARTONS::ModuleObject, PARTONS::DatabaseFileObject, PARTONS::ResultInfo, PARTONS::Scales, PARTONS::Result< KinematicType >, PARTONS::Result< GPDSubtractionConstantKinematic >, PARTONS::Result< GPDKinematic >, PARTONS::Result< CollinearDistributionKinematic >, PARTONS::VCSSubProcessType, PARTONS::PerturbativeQCDOrderType, PARTONS::QuarkDistribution, PARTONS::PartonDistribution, PARTONS::GluonDistribution, PARTONS::TCSObservableKinematic, PARTONS::ObservableResult< KinematicType >, PARTONS::ObservableResult< DVMPObservableKinematic >, PARTONS::ObservableResult< DVCSObservableKinematic >, PARTONS::ObservableResult< GAM2ObservableKinematic >, PARTONS::ObservableResult< TCSObservableKinematic >, PARTONS::ObservableResult< DDVCSObservableKinematic >, PARTONS::ObservableKinematic, PARTONS::GAM2ObservableKinematic, PARTONS::DVMPObservableKinematic, PARTONS::DVCSObservableKinematic, PARTONS::DDVCSObservableKinematic, PARTONS::Kinematic, PARTONS::GPDSubtractionConstantResult, PARTONS::GPDSubtractionConstantKinematic, PARTONS::GPDResult, PARTONS::GPDKinematic, PARTONS::TCSConvolCoeffFunctionKinematic, PARTONS::GAM2ConvolCoeffFunctionKinematic, PARTONS::DVMPConvolCoeffFunctionKinematic, PARTONS::DVCSConvolCoeffFunctionKinematic, PARTONS::DDVCSConvolCoeffFunctionKinematic, PARTONS::ConvolCoeffFunctionResult< KinematicType >, PARTONS::ConvolCoeffFunctionResult< TCSConvolCoeffFunctionKinematic >, PARTONS::ConvolCoeffFunctionResult< DVMPConvolCoeffFunctionKinematic >, PARTONS::ConvolCoeffFunctionResult< DDVCSConvolCoeffFunctionKinematic >, PARTONS::ConvolCoeffFunctionResult< DVCSConvolCoeffFunctionKinematic >, PARTONS::ConvolCoeffFunctionResult< GAM2ConvolCoeffFunctionKinematic >, PARTONS::ConvolCoeffFunctionKinematic, PARTONS::CollinearDistributionResult, PARTONS::CollinearDistributionKinematic, PARTONS::Task, PARTONS::Scenario, and PARTONS::BaseObjectData.

◆ unserialize()

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

Used to rebuild a complex C++ object from a concatenation of simple type.

Parameters
packet

◆ warn()

void PARTONS::BaseObject::warn ( const std::string &  functionName,
const std::string &  message 
) const
protected

Print warning message into logger.

Parameters
functionNameame of the function throwing an information. Use __func__ to set it automatically.
messageMessage to the logger.

Member Data Documentation

◆ m_className

std::string PARTONS::BaseObject::m_className
private

String that represents class's name used by the LoggerManager's class to know the source of the output trace.

◆ m_indexId

int PARTONS::BaseObject::m_indexId
private

Integer used when object is created from database. It is related to the id column value in the right database table.

◆ m_objectId

unsigned int PARTONS::BaseObject::m_objectId
private

Unique id identifying each object.

◆ m_uniqueObjectIdCounter

unsigned int PARTONS::BaseObject::m_uniqueObjectIdCounter = 0
staticprivate

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