PDFxTMDLib 2.0.0
Loading...
Searching...
No Matches
ITMDExtrapolator.h
Go to the documentation of this file.
1#pragma once
2#include "../IExtrapolator.h"
3namespace PDFxTMD
4{
5template <typename Derived> class ITMDExtrapolator : public IExtrapolator<Derived, X_T, KT_T, MU_T>
6{
7 double extrapolate(X_T x, KT_T kt, MU_T mu,
8 std::array<double, DEFAULT_TOTAL_PDFS> &output) const
9 {
10 return this->derived().extrapolate(x, kt, mu, output);
11 }
12};
13
14template <typename Derived>
15class ITMDAdvancedTMDExtrapolator : public IAdvancedExtrapolator<Derived, X_T, KT_T, MU_T>
16{
17 double extrapolate(X_T x, KT_T kt, MU_T mu,
18 std::array<double, DEFAULT_TOTAL_PDFS> &output) const
19 {
20 return this->derived().extrapolate(x, kt, mu, output);
21 }
22};
23} // namespace PDFxTMD
Definition IExtrapolator.h:22
Definition IExtrapolator.h:10
double extrapolate(Flavors... partons, ExtrapolateArgs... args) const
Forward an out-of-range evaluation to the concrete extrapolator.
Definition IExtrapolator.h:14
Definition ITMDExtrapolator.h:16
Definition ITMDExtrapolator.h:6
Definition Factory.h:9