Nanga Parbat 1.1.0
A TMD fitting framework
tmdgrid.h
Go to the documentation of this file.
1//
2// Author: Valerio Bertone: valerio.bertone@cern.ch
3//
4
5#pragma once
6
7#include <yaml-cpp/yaml.h>
8#include <apfel/apfelxx.h>
9
10namespace NangaParbat
11{
15 class TMDGrid
16 {
17 public:
23 TMDGrid(YAML::Node const& info, YAML::Node const& grid);
24
32 std::map<int, double> Evaluate(double const& x, double const& qT, double const& Q) const;
33
37 YAML::Node GetInfoNode() const { return _info; };
38
39 private:
40 YAML::Node const _info;
41 std::unique_ptr<apfel::QGrid<double>> const _xg;
42 std::unique_ptr<apfel::QGrid<double>> const _qToQg;
43 std::unique_ptr<apfel::QGrid<double>> const _Qg;
44 std::map<int, std::vector<std::vector<std::vector<double>>>> const _tmds;
45 };
46}
Class for the interpolation of a single TMD grid.
Definition: tmdgrid.h:16
TMDGrid(YAML::Node const &info, YAML::Node const &grid)
The "TMDGrid" constructor.
std::unique_ptr< apfel::QGrid< double > > const _Qg
Definition: tmdgrid.h:43
YAML::Node const _info
Definition: tmdgrid.h:37
YAML::Node GetInfoNode() const
Function that returns the YAML Node with the set info.
Definition: tmdgrid.h:37
std::map< int, std::vector< std::vector< std::vector< double > > > > const _tmds
Definition: tmdgrid.h:44
std::unique_ptr< apfel::QGrid< double > > const _qToQg
Definition: tmdgrid.h:42
std::unique_ptr< apfel::QGrid< double > > const _xg
Definition: tmdgrid.h:41
std::map< int, double > Evaluate(double const &x, double const &qT, double const &Q) const
Function that returns the value of one of the functions.
Definition: bstar.h:12