PDFxTMDLib 2.0.0
Loading...
Searching...
No Matches
IcPDFInterpolator.h
Go to the documentation of this file.
1#pragma once
2#include "../IInterpolator.h"
3#include "PDFxTMDLib/Common/PartonUtils.h"
4
5namespace PDFxTMD
6{
7template <typename Derived, typename Reader>
8class IcPDFInterpolator : public IInterpolator<Derived, Reader, X_T, MU_T>
9{
10 double interpolate(PartonFlavor parton1, PartonFlavor parton2, X_T x1, MU_T mu1_2, X_T x2,
11 MU_T mu2_2) const
12 {
13 return this->derived().interpolate(parton1, parton2, x1, mu1_2, x2, mu2_2);
14 }
15};
16} // namespace PDFxTMD
Definition IInterpolator.h:10
double interpolate(Flavors &&...flavors, InterpolateArgs &&...args) const
Forward an interpolation request to the concrete interpolator.
Definition IInterpolator.h:19
Definition IcPDFInterpolator.h:9
Definition Factory.h:9