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
22
23namespace cepgen {
24 KTFlux::KTFlux(const ParametersList& params) : PartonFlux(params) {}
25
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
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
KTFlux(const ParametersList &)
Definition KTFlux.cpp:24
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
static ParametersDescription description()
Definition KTFlux.cpp:26
A description object for parameters collection.
virtual double mass2() const =0
Initiator particle squared mass (in )
static ParametersDescription description()
double mX2(double x, double kt2, double q2, double mi2)
Compute the diffractive mass from longitudinal loss/transverse virtuality/virtuality.
Definition Utils.cpp:54
double q2(double x, double kt2, double mi2, double mx2)
Compute the virtuality from longitudinal loss/transverse virtuality/diffractive mass.
Definition Utils.cpp:60
Common namespace for this Monte Carlo generator.