PDFxTMDLib  1.0.0
TErrExtrapolator.h
Go to the documentation of this file.
1 #pragma once
2 #include <stdexcept>
3 #include <string>
4 
7 namespace PDFxTMD
8 {
9 class TErrExtrapolator : public ITMDExtrapolator<TErrExtrapolator>
10 {
11  public:
12  double extrapolate(PartonFlavor flavor, double x, double kt2, double mu2) const
13  {
14  throw std::runtime_error("Requested data is outside the PDF grid boundaries");
15  }
16  void extrapolate(double x, double kt2, double mu2,
17  std::array<double, DEFAULT_TOTAL_PDFS> &output) const
18  {
19  throw std::runtime_error("Requested data is outside the PDF grid boundaries");
20  }
21 };
22 } // namespace PDFxTMD
Definition: IExtrapolator.h:43
Definition: TErrExtrapolator.h:10
double extrapolate(PartonFlavor flavor, double x, double kt2, double mu2) const
Definition: TErrExtrapolator.h:12
void extrapolate(double x, double kt2, double mu2, std::array< double, DEFAULT_TOTAL_PDFS > &output) const
Definition: TErrExtrapolator.h:16
Definition: AllFlavorsShape.h:14
PartonFlavor
Definition: PartonUtils.h:58
int mu2
Definition: pdfset_tutorial.py:14
int kt2
Definition: pdfset_tutorial.py:15