PDFxTMDLib  1.0.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
PDFxTMD::PDFErrInfo Struct Reference

Structure encoding the structure of the PDF error-set (Taken from LHAPDF library code) More...

#include <PDFErrInfo.h>

Collaboration diagram for PDFxTMD::PDFErrInfo:
Collaboration graph
[legend]

Public Types

using EnvPart = std::pair< std::string, size_t >
 
using EnvParts = std::vector< EnvPart >
 
using QuadParts = std::vector< EnvParts >
 

Public Member Functions

 PDFErrInfo (QuadParts parts, double cl, const std::string &errtypestr="")
 Constructor. More...
 
 PDFErrInfo ()=default
 Default constructor (for STL, Cython, etc.) More...
 
std::string coreType () const
 Calculated name of a quadrature part. More...
 
std::string qpartName (size_t iq) const
 Calculated name of a quadrature part. More...
 
std::vector< std::string > qpartNames () const
 Calculated names of all quadrature parts. More...
 
size_t nmemCore () const
 Number of core-set members. More...
 
size_t nmemPar () const
 Number of par-set members. More...
 

Static Public Member Functions

static PDFErrInfo CalculateErrorInfo (const YamlErrorInfo &yamlErrInfo)
 Parse extended error type syntax. More...
 

Public Attributes

QuadParts qparts
 Error-set quadrature parts. More...
 
double conflevel
 Default confidence-level. More...
 
std::string errtype
 Error-type annotation. More...
 

Detailed Description

Structure encoding the structure of the PDF error-set (Taken from LHAPDF library code)

Member Typedef Documentation

◆ EnvPart

using PDFxTMD::PDFErrInfo::EnvPart = std::pair<std::string, size_t>

◆ EnvParts

using PDFxTMD::PDFErrInfo::EnvParts = std::vector<EnvPart>

◆ QuadParts

Constructor & Destructor Documentation

◆ PDFErrInfo() [1/2]

PDFxTMD::PDFErrInfo::PDFErrInfo ( QuadParts  parts,
double  cl,
const std::string &  errtypestr = "" 
)
inline

Constructor.

◆ PDFErrInfo() [2/2]

PDFxTMD::PDFErrInfo::PDFErrInfo ( )
default

Default constructor (for STL, Cython, etc.)

Member Function Documentation

◆ CalculateErrorInfo()

static PDFErrInfo PDFxTMD::PDFErrInfo::CalculateErrorInfo ( const YamlErrorInfo yamlErrInfo)
static

Parse extended error type syntax.

◆ coreType()

std::string PDFxTMD::PDFErrInfo::coreType ( ) const
inline

Calculated name of a quadrature part.

◆ nmemCore()

size_t PDFxTMD::PDFErrInfo::nmemCore ( ) const

Number of core-set members.

◆ nmemPar()

size_t PDFxTMD::PDFErrInfo::nmemPar ( ) const

Number of par-set members.

◆ qpartName()

std::string PDFxTMD::PDFErrInfo::qpartName ( size_t  iq) const

Calculated name of a quadrature part.

◆ qpartNames()

std::vector<std::string> PDFxTMD::PDFErrInfo::qpartNames ( ) const

Calculated names of all quadrature parts.

Member Data Documentation

◆ conflevel

double PDFxTMD::PDFErrInfo::conflevel

Default confidence-level.

◆ errtype

std::string PDFxTMD::PDFErrInfo::errtype

Error-type annotation.

◆ qparts

QuadParts PDFxTMD::PDFErrInfo::qparts

Error-set quadrature parts.


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