PARTONS  
PARtonic Tomography Of Nucleon Software
Public Member Functions | Protected Member Functions | List of all members
PARTONS::Observable< KinematicType, ResultType > Class Template Referenceabstract

Abstract class that provides a skeleton to implement an Observable module. More...

Inheritance diagram for PARTONS::Observable< KinematicType, ResultType >:
PARTONS::ModuleObject PARTONS::BaseObject

Public Member Functions

virtual ~Observable ()
 Destructor. More...
 
virtual Observableclone () const =0
 Virtual clone function to allow the factory to clone all derived members object stored in the BaseObjectRegistry. 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 run ()
 
virtual void configure (const ElemUtils::Parameters &parameters)
 Provides a generic method to configure all types of modules by passing a Parameters object. 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 ResultType compute (const KinematicType &kinematic, const List< GPDType > &gpdType=List< GPDType >())=0
 Computes the observable at given kinematics. More...
 
virtual List< GPDTypegetListOfAvailableGPDTypeForComputation () const =0
 Must be implemented in child class. More...
 
- Public Member Functions inherited from PARTONS::ModuleObject
 ModuleObject (const std::string &className, ChannelType::Type channelType)
 Constructor. More...
 
virtual ~ModuleObject ()
 Default destructor. More...
 
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)
 

Protected Member Functions

 Observable (const std::string &className, ChannelType::Type channelType)
 Constructor. More...
 
 Observable (const Observable &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 PhysicalType< double > computeObservable (const KinematicType &kinematic, const List< GPDType > &gpdType)=0
 Evaluate observable. More...
 
std::vector< double > serializeKinematicsAndGPDTypesIntoStdVector (const KinematicType &kin, const List< GPDType > &list) const
 Serialize kinematics and list of GPD types to std::vector<double>. More...
 
void unserializeKinematicsAndGPDTypesFromStdVector (const std::vector< double > &vec, KinematicType &kin, List< GPDType > &list) const
 Unserialize kinematics and list of GPD types from std::vector<double>. 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...
 

Additional Inherited Members

- Static Public Attributes inherited from PARTONS::ModuleObject
static const std::string CLASS_NAME = "className"
 
- Protected Attributes inherited from PARTONS::ModuleObject
ModuleObjectFactorym_pModuleObjectFactory
 Pointer tp module object factory. More...
 

Detailed Description

template<typename KinematicType, typename ResultType>
class PARTONS::Observable< KinematicType, ResultType >

Abstract class that provides a skeleton to implement an Observable module.

Constructor & Destructor Documentation

◆ ~Observable()

template<typename KinematicType , typename ResultType >
virtual PARTONS::Observable< KinematicType, ResultType >::~Observable ( )
inlinevirtual

Destructor.

◆ Observable() [1/2]

template<typename KinematicType , typename ResultType >
PARTONS::Observable< KinematicType, ResultType >::Observable ( const std::string &  className,
ChannelType::Type  channelType 
)
inlineprotected

Constructor.

See BaseObject::BaseObject and ModuleObject::ModuleObject for more details.

Parameters
classNamename of child class.
channelTypeChannel type.

◆ Observable() [2/2]

template<typename KinematicType , typename ResultType >
PARTONS::Observable< KinematicType, ResultType >::Observable ( const Observable< KinematicType, ResultType > &  other)
inlineprotected

Copy constructor.

Parameters
otherObject to be copied.

Member Function Documentation

◆ clone()

template<typename KinematicType , typename ResultType >
virtual Observable* PARTONS::Observable< KinematicType, ResultType >::clone ( ) const
pure virtual

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

Returns

Implements PARTONS::ModuleObject.

Implemented in PARTONS::TCSObservable, PARTONS::DVMPObservable, PARTONS::DVCSObservable, PARTONS::DDVCSObservable, 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, and PARTONS::DDVCSAluPhi.

◆ compute()

template<typename KinematicType , typename ResultType >
virtual ResultType PARTONS::Observable< KinematicType, ResultType >::compute ( const KinematicType kinematic,
const List< GPDType > &  gpdType = ListGPDType >() 
)
pure virtual

Computes the observable at given kinematics.

Parameters
kinematicKinematics.
gpdTypeType of GPDs to compute.
Returns
Result.

Implemented in PARTONS::TCSObservable, PARTONS::DVMPObservable, PARTONS::DVCSObservable, and PARTONS::DDVCSObservable.

◆ computeObservable()

template<typename KinematicType , typename ResultType >
virtual PhysicalType<double> PARTONS::Observable< KinematicType, ResultType >::computeObservable ( const KinematicType kinematic,
const List< GPDType > &  gpdType 
)
protectedpure virtual

Evaluate observable.

To be implemented in a child class.

Implemented in PARTONS::TCSObservable, 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::DVMPObservable, 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::DVCSObservable, 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::DDVCSObservable, PARTONS::DDVCSCrossSectionUUMinusTCSLimit, PARTONS::DDVCSCrossSectionUUMinusDVCSLimit, PARTONS::DDVCSCrossSectionUUMinus, PARTONS::DDVCSCrossSectionTotal, PARTONS::DDVCSAluPhiL, and PARTONS::DDVCSAluPhi.

◆ configure()

template<typename KinematicType , typename ResultType >
virtual void PARTONS::Observable< KinematicType, ResultType >::configure ( const ElemUtils::Parameters &  parameters)
inlinevirtual

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::ModuleObject.

Reimplemented in PARTONS::TCSObservable, PARTONS::TCSCrossSectionUUWeightedThetaIntegrated, PARTONS::TCSCrossSectionUUThetaIntegrated, PARTONS::TCSCrossSectionTotal, PARTONS::TCSCrossSectionDifferenceCUThetaIntegrated, PARTONS::TCSAutSinPhiMPhisThetaIntegrated, PARTONS::TCSAutCosPhiMPhisThetaIntegrated, PARTONS::TCSAcuThetaIntegrated, PARTONS::DVMPObservable, PARTONS::DVMPCrossSectionUUUMinusPhiIntegrated, PARTONS::DVMPCrossSectionTotal, PARTONS::DVMPAuluMinusSin3Phi, PARTONS::DVMPAuluMinusSin2Phi, PARTONS::DVMPAuluMinusSin1Phi, PARTONS::DVMPAluuMinusSin1Phi, PARTONS::DVMPAlluMinusCos2Phi, PARTONS::DVMPAlluMinusCos1Phi, PARTONS::DVMPAlluMinusCos0Phi, PARTONS::DVCSObservable, PARTONS::DVCSCrossSectionUUVirtualPhotoProductionPhiIntegrated, PARTONS::DVCSCrossSectionUUMinusPhiIntegrated, PARTONS::DVCSCrossSectionUUDVCSSubProcPhiIntegrated, PARTONS::DVCSCrossSectionTotal, PARTONS::DVCSAutMinusSinPhiMPhisCos0Phi, PARTONS::DVCSAutIntSinPhiMPhisSin1Phi, PARTONS::DVCSAutIntSinPhiMPhisCos1Phi, PARTONS::DVCSAutIntSinPhiMPhisCos0Phi, PARTONS::DVCSAutDVCSSinPhiMPhisCos0Phi, PARTONS::DVCSAulPlusSin3Phi, PARTONS::DVCSAulPlusSin2Phi, PARTONS::DVCSAulPlusSin1Phi, PARTONS::DVCSAulMinusSin3Phi, PARTONS::DVCSAulMinusSin2Phi, PARTONS::DVCSAulMinusSin1Phi, PARTONS::DVCSAluMinusSin1Phi, PARTONS::DVCSAluIntSin2Phi, PARTONS::DVCSAluIntSin1Phi, PARTONS::DVCSAluDVCSSin1Phi, PARTONS::DVCSAltIntSinPhiMPhisSin2Phi, PARTONS::DVCSAltIntSinPhiMPhisSin1Phi, PARTONS::DVCSAltIntCosPhiMPhisCos2Phi, PARTONS::DVCSAltIntCosPhiMPhisCos1Phi, PARTONS::DVCSAltIntCosPhiMPhisCos0Phi, PARTONS::DVCSAltDVCSSinPhiMPhisSin1Phi, PARTONS::DVCSAltDVCSCosPhiMPhisCos1Phi, PARTONS::DVCSAltDVCSCosPhiMPhisCos0Phi, PARTONS::DVCSAllPlusCos2Phi, PARTONS::DVCSAllPlusCos1Phi, PARTONS::DVCSAllPlusCos0Phi, PARTONS::DVCSAllMinusCos2Phi, PARTONS::DVCSAllMinusCos1Phi, PARTONS::DVCSAllMinusCos0Phi, PARTONS::DVCSAcCos3Phi, PARTONS::DVCSAcCos2Phi, PARTONS::DVCSAcCos1Phi, PARTONS::DVCSAcCos0Phi, PARTONS::DDVCSObservable, and PARTONS::DDVCSCrossSectionTotal.

◆ getListOfAvailableGPDTypeForComputation()

template<typename KinematicType , typename ResultType >
virtual List<GPDType> PARTONS::Observable< KinematicType, ResultType >::getListOfAvailableGPDTypeForComputation ( ) const
pure virtual

Must be implemented in child class.

Returns
List of GPD/CCF types the child class can compute.

Implemented in PARTONS::TCSObservable, PARTONS::DVMPObservable, PARTONS::DVCSObservable, and PARTONS::DDVCSObservable.

◆ initModule()

template<typename KinematicType , typename ResultType >
virtual void PARTONS::Observable< KinematicType, ResultType >::initModule ( )
inlineprotectedvirtual

Pure virtual function that provides skeleton for module initialization.

Children must define and override it.

Implements PARTONS::ModuleObject.

Reimplemented in PARTONS::TCSObservable, PARTONS::DVMPObservable, PARTONS::DVCSObservable, and PARTONS::DDVCSObservable.

◆ isModuleWellConfigured()

template<typename KinematicType , typename ResultType >
virtual void PARTONS::Observable< KinematicType, ResultType >::isModuleWellConfigured ( )
inlineprotectedvirtual

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

Children must define and override it.

Implements PARTONS::ModuleObject.

Reimplemented in PARTONS::TCSObservable, PARTONS::DVMPObservable, PARTONS::DVCSObservable, and PARTONS::DDVCSObservable.

◆ prepareSubModules()

template<typename KinematicType , typename ResultType >
virtual void PARTONS::Observable< KinematicType, ResultType >::prepareSubModules ( const std::map< std::string, BaseObjectData > &  subModulesData)
inlinevirtual

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
subModulesDataData used to retrieve the needed modules and their configuration.

Reimplemented from PARTONS::ModuleObject.

Reimplemented in PARTONS::TCSObservable, PARTONS::DVMPObservable, PARTONS::DVCSObservable, and PARTONS::DDVCSObservable.

◆ resolveObjectDependencies()

template<typename KinematicType , typename ResultType >
virtual void PARTONS::Observable< KinematicType, ResultType >::resolveObjectDependencies ( )
inlinevirtual

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.

Reimplemented in PARTONS::TCSObservable, PARTONS::DVMPObservable, PARTONS::DVCSObservable, and PARTONS::DDVCSObservable.

◆ run()

template<typename KinematicType , typename ResultType >
virtual void PARTONS::Observable< KinematicType, ResultType >::run ( )
inlinevirtual

◆ serializeKinematicsAndGPDTypesIntoStdVector()

template<typename KinematicType , typename ResultType >
std::vector<double> PARTONS::Observable< KinematicType, ResultType >::serializeKinematicsAndGPDTypesIntoStdVector ( const KinematicType kin,
const List< GPDType > &  list 
) const
inlineprotected

Serialize kinematics and list of GPD types to std::vector<double>.

◆ toString()

template<typename KinematicType , typename ResultType >
virtual std::string PARTONS::Observable< KinematicType, ResultType >::toString ( ) const
inlinevirtual

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

Returns
a pre-formatted characters string.

Reimplemented from PARTONS::ModuleObject.

Reimplemented in PARTONS::TCSObservable, PARTONS::DVMPObservable, PARTONS::DVCSObservable, and PARTONS::DDVCSObservable.

◆ unserializeKinematicsAndGPDTypesFromStdVector()

template<typename KinematicType , typename ResultType >
void PARTONS::Observable< KinematicType, ResultType >::unserializeKinematicsAndGPDTypesFromStdVector ( const std::vector< double > &  vec,
KinematicType kin,
List< GPDType > &  list 
) const
inlineprotected

Unserialize kinematics and list of GPD types from std::vector<double>.


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