cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
Utils.h
Go to the documentation of this file.
1/*
2 * CepGen: a central exclusive processes event generator
3 * Copyright (C) 2020-2024 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_Utils_h
20#define CepGen_Physics_Utils_h
21
22namespace cepgen {
23 namespace utils {
24 double mX2(double xbj, double q2, double mp2);
25 double xBj(double q2, double mp2, double mx2);
26 double q2(double xbj, double mp2, double mx2);
27 double energyFromW(double w, double mp2, double m2);
28 namespace kt {
30 double mX2(double x, double kt2, double q2, double mi2);
32 double q2(double x, double kt2, double mi2, double mf2 = -1.);
33 } // namespace kt
34 } // namespace utils
35} // namespace cepgen
36
37#endif
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
double xBj(double q2, double mp2, double mx2)
Compute Bjorken x from virtuality/diffractive mass.
Definition Utils.cpp:41
double q2(double xbj, double mp2, double mx2)
Compute the virtuality from Bjorken x/diffractive mass.
Definition Utils.cpp:35
double energyFromW(double w, double mp2, double m2)
Compute energy from mass and emitted mass.
Definition Utils.cpp:47
double mX2(double xbj, double q2, double mp2)
Compute the diffractive mass from virtuality/Bjorken x.
Definition Utils.cpp:29
Common namespace for this Monte Carlo generator.