cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
KTFlux.cpp
Go to the documentation of this file.
1
/*
2
* CepGen: a central exclusive processes event generator
3
* Copyright (C) 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
#include "
CepGen/KTFluxes/KTFlux.h
"
20
#include "
CepGen/Physics/PartonFlux.h
"
21
#include "
CepGen/Physics/Utils.h
"
22
23
namespace
cepgen
{
24
KTFlux::KTFlux
(
const
ParametersList
& params) :
PartonFlux
(params) {}
25
26
ParametersDescription
KTFlux::description
() {
27
auto
desc =
PartonFlux::description
();
28
desc.setDescription(
"kT-factorised flux"
);
29
return
desc;
30
}
31
32
double
KTFlux::fluxQ2
(
double
x,
double
kt2,
double
q2)
const
{
33
return
fluxMX2
(x, kt2,
utils::kt::mX2
(x, kt2, q2,
mass2
()));
34
}
35
36
double
KTFlux::fluxMX2
(
double
x,
double
kt2,
double
mf2)
const
{
37
return
fluxQ2
(x, kt2,
utils::kt::q2
(x, kt2,
mass2
(), mf2));
38
}
39
}
// namespace cepgen
KTFlux.h
PartonFlux.h
Utils.h
cepgen::KTFlux::fluxMX2
virtual double fluxMX2(double x, double kt2, double mf2) const
Compute the kt-dependent flux for this x value and remnant mass.
Definition
KTFlux.cpp:36
cepgen::KTFlux::KTFlux
KTFlux(const ParametersList &)
Definition
KTFlux.cpp:24
cepgen::KTFlux::fluxQ2
virtual double fluxQ2(double x, double kt2, double q2) const
Compute the kt-dependent flux for this x value and virtuality.
Definition
KTFlux.cpp:32
cepgen::KTFlux::description
static ParametersDescription description()
Definition
KTFlux.cpp:26
cepgen::ParametersDescription
A description object for parameters collection.
Definition
ParametersDescription.h:26
cepgen::ParametersList
Definition
ParametersList.h:52
cepgen::PartonFlux
Definition
PartonFlux.h:26
cepgen::PartonFlux::mass2
virtual double mass2() const =0
Initiator particle squared mass (in )
cepgen::PartonFlux::description
static ParametersDescription description()
Definition
PartonFlux.cpp:30
cepgen::utils::kt::mX2
double mX2(double x, double kt2, double q2, double mi2)
Compute the diffractive mass from longitudinal loss/transverse virtuality/virtuality.
Definition
Utils.cpp:54
cepgen::utils::kt::q2
double q2(double x, double kt2, double mi2, double mx2)
Compute the virtuality from longitudinal loss/transverse virtuality/diffractive mass.
Definition
Utils.cpp:60
cepgen
Common namespace for this Monte Carlo generator.
Definition
CommandLineHandler.cpp:36
CepGen
KTFluxes
KTFlux.cpp
Generated on Mon Jul 29 2024 for CepGen by
1.9.7