
A high-performance C++ library for unified access to collinear and transverse momentum dependent parton distribution functions
Why Choose PDFxTMDLib?
Unified Access
Consistent and flexible interface for both collinear PDFs and TMDs with a single API
High Performance
Optimized computational efficiency through modern C++ design patterns like CRTP and type erasure
Extensible Framework
Well-defined interfaces for custom readers, interpolators, and extrapolators
Full Compatibility
Support for standard LHAPDF and TMDLib file formats with accommodation for custom formats
Uncertainty Analysis
Built-in support for uncertainty and correlation calculations for both cPDFs and TMDs
Python Integration
Python bindings for seamless integration into Python scripts and applications
Quick Example
#include <PDFxTMD/PDFxTMD.h>
#include <iostream>
int main() {
// Initialize the library
PDFxTMD::Initialize();
// Create a PDF set
auto pdfSet = PDFxTMD::GenericCPDFFactory::GetPDFSet("CT18NLO");
// Get PDF values for specific parameters
double x = 0.1; // Momentum fraction
double mu = 100.0; // Energy scale in GeV
// Print PDF values for up quark
std::cout << "Up quark PDF at x=" << x << ", mu=" << mu
<< " GeV: " << pdfSet->GetValue(x, mu, 2) << std::endl;
return 0;
}
Applications
High Energy Physics
Essential for precise calculations in particle collisions at facilities like the Large Hadron Collider
Monte Carlo Generators
Integrate with event generators for accurate simulation of particle interactions
Theoretical Research
Support for advanced studies in QCD and hadron structure
Getting Started
Latest Updates
New TMD Sets Available
Added support for PB-NLO-HERAI+II-2023 sets with different qs values
Learn MorePython Bindings Enhanced
Improved Python interface with additional functionality and better performance
View TutorialReady to Get Started?
PDFxTMDLib provides a powerful framework for working with parton distribution functions in high-energy physics
Install Now Join the Community