cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
GluonGrid.h
Go to the documentation of this file.
1/*
2 * CepGen: a central exclusive processes event generator
3 * Copyright (C) 2018-2023 Laurent Forthomme
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef CepGen_Physics_GluonGrid_h
20#define CepGen_Physics_GluonGrid_h
21
24
25#define DEFAULT_KMR_GRID_PATH "gluon_mmht2014nlo_Watt.dat"
26
28namespace kmr {
30 class GluonGrid : private cepgen::GridHandler<3, 1>, public cepgen::SteeredObject<GluonGrid> {
31 public:
33 static GluonGrid& get(const cepgen::ParametersList& params = {});
34 GluonGrid(const GluonGrid&) = delete;
35 void operator=(const GridHandler&) = delete;
36
38
40 const std::string& path() const { return grid_path_; }
42 double operator()(double x, double kt2, double mu2) const;
43
44 private:
45 explicit GluonGrid(const cepgen::ParametersList&);
47 const std::string grid_path_;
48 };
49} // namespace kmr
50
51#endif
A generic class for grid interpolation.
Definition GridHandler.h:44
GridHandler(const GridType &grid_type)
Build a grid interpolator from a grid type.
A description object for parameters collection.
Base user-steerable object.
A KMR unintegrated gluon densities grid interpolator.
Definition GluonGrid.h:30
GluonGrid(const GluonGrid &)=delete
double operator()(double x, double kt2, double mu2) const
Compute the gluon flux.
Definition GluonGrid.cpp:60
static GluonGrid & get(const cepgen::ParametersList &params={})
Retrieve the grid interpolator (singleton)
Definition GluonGrid.cpp:27
void operator=(const GridHandler &)=delete
const std::string & path() const
Retrieve the path to the interpolation grid values.
Definition GluonGrid.h:40
static cepgen::ParametersDescription description()
Definition GluonGrid.cpp:64
Kimber-Martin-Ryskin unintegrated gluon densities.
Definition GluonGrid.cpp:26