PDFxTMDLib
1.0.0
|
Factory class for creating collinear PDF objects. More...
#include <Factory.h>
Public Member Functions | |
GenericCPDFFactory ()=default | |
ICPDF | mkCPDF (const std::string &pdfSetName, int setMember) |
Creates a new ICPDF object. More... | |
Factory class for creating collinear PDF objects.
This class provides a factory method to create ICPDF objects from a specified PDF set name and set member. It handles the instantiation of the appropriate collinear PDF implementation based on the provided parameters. Note: Users should be aware that the list of different TMD or PDF set is read from the yaml file located in C:\ProgramData\PDFxTMDLib\config.yaml (on windows) or ~/.PDFxTMDLib/config.yaml (on linux). here is an example of the config.yaml file: paths: "C:\\Users\\Ramin\\Documents\\code|C:/Users/Ramin/Pictures" This means that the user can have multiple PDF sets in different directories. The paths are separated by |. Also by default the current directory and also C:\ProgramData\PDFxTMDLib\ (on windows) or ~/usr/local/share/PDFxTMDLib/ (on linux) are also included. Note: This class by default uses CDefaultLHAPDFFileReader to read the PDF set. If you want to use a different reader, you modify the yaml info file of the PDF set and adding or modify "Reader" field. For interpolation, you can modify the "Interpolator" field. The default interpolator is CLHAPDFBilinearInterpolator. For extrapolation, you can modify the "Extrapolator" field. The default extrapolator is CContinuationExtrapolator
|
default |
ICPDF PDFxTMD::GenericCPDFFactory::mkCPDF | ( | const std::string & | pdfSetName, |
int | setMember | ||
) |