Nanga Parbat 1.1.0
A TMD fitting framework
factories.h
Go to the documentation of this file.
1//
2// Author: Valerio Bertone: valerio.bertone@cern.ch
3//
4
5#pragma once
6
9
10namespace NangaParbat
11{
17 TMDGrid* mkTMD(std::string const& name, int const& mem = 0);
18
25 TMDGrid* mkTMD(std::string const& name, std::string const& folder, int const& mem = 0);
26
31 std::vector<TMDGrid*> mkTMDs(std::string const& name);
32
38 StructGrid* mkSF(std::string const& name, int const& mem = 0);
39
46 StructGrid* mkSF(std::string const& name, std::string const& folder, int const& mem = 0);
47
52 std::vector<StructGrid*> mkSFs(std::string const& name);
53
63 std::function<double(double const&, double const&, double const&, double const&)> Convolution(TMDGrid const* TMD1,
64 TMDGrid const* TMD2,
65 std::function<std::vector<double>(double const&)> const& Charges,
66 double const& kTCutOff = 1,
67 double const& IntEps = 1e-5);
68
78 std::function<double(double const&, double const&, double const&, double const&)> Convolution(TMDGrid const* TMD,
79 std::function<std::vector<double>(double const&)> const& Charges,
80 double const& kTCutOff = 1,
81 double const& IntEps = 1e-5);
82}
Class for the interpolation of a single TMD grid.
Definition: structgrid.h:17
Class for the interpolation of a single TMD grid.
Definition: tmdgrid.h:16
Definition: bstar.h:12
StructGrid * mkSF(std::string const &name, int const &mem=0)
Factory that returns a "StructGrid" object.
TMDGrid * mkTMD(std::string const &name, int const &mem=0)
Factory that returns a "TMDGrid" object.
std::vector< StructGrid * > mkSFs(std::string const &name)
Factory that returns a vector of "StructGrid" objects.
std::vector< TMDGrid * > mkTMDs(std::string const &name)
Factory that returns a vector of "TMDGrid" objects.
std::function< double(double const &, double const &, double const &, double const &)> Convolution(TMDGrid const *TMD1, TMDGrid const *TMD2, std::function< std::vector< double >(double const &)> const &Charges, double const &kTCutOff=1, double const &IntEps=1e-5)
Function that performs the convolution of two TMD distributions in kT space.