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
22
#include "
CepGen/Core/SteeredObject.h
"
23
#include "
CepGen/Utils/GridHandler.h
"
24
25
#define DEFAULT_KMR_GRID_PATH "gluon_mmht2014nlo_Watt.dat"
26
28
namespace
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
37
static
cepgen::ParametersDescription
description
();
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
GridHandler.h
SteeredObject.h
cepgen::GridHandler
A generic class for grid interpolation.
Definition
GridHandler.h:44
cepgen::GridHandler< 3, 1 >::GridHandler
GridHandler(const GridType &grid_type)
Build a grid interpolator from a grid type.
Definition
GridHandler.cpp:31
cepgen::ParametersDescription
A description object for parameters collection.
Definition
ParametersDescription.h:26
cepgen::ParametersList
Definition
ParametersList.h:52
cepgen::SteeredObject
Base user-steerable object.
Definition
SteeredObject.h:41
kmr::GluonGrid
A KMR unintegrated gluon densities grid interpolator.
Definition
GluonGrid.h:30
kmr::GluonGrid::GluonGrid
GluonGrid(const GluonGrid &)=delete
kmr::GluonGrid::operator()
double operator()(double x, double kt2, double mu2) const
Compute the gluon flux.
Definition
GluonGrid.cpp:60
kmr::GluonGrid::get
static GluonGrid & get(const cepgen::ParametersList ¶ms={})
Retrieve the grid interpolator (singleton)
Definition
GluonGrid.cpp:27
kmr::GluonGrid::operator=
void operator=(const GridHandler &)=delete
kmr::GluonGrid::path
const std::string & path() const
Retrieve the path to the interpolation grid values.
Definition
GluonGrid.h:40
kmr::GluonGrid::description
static cepgen::ParametersDescription description()
Definition
GluonGrid.cpp:64
kmr
Kimber-Martin-Ryskin unintegrated gluon densities.
Definition
GluonGrid.cpp:26
CepGen
Physics
GluonGrid.h
Generated on Mon Jul 29 2024 for CepGen by
1.9.7