cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
CollinearFlux.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/CollinearFluxes/CollinearFlux.h
"
20
#include "
CepGen/Physics/Utils.h
"
21
22
namespace
cepgen
{
23
CollinearFlux::CollinearFlux
(
const
ParametersList
& params) :
PartonFlux
(params) {}
24
25
ParametersDescription
CollinearFlux::description
() {
26
auto
desc =
PartonFlux::description
();
27
desc.setDescription(
"Collinear parton flux"
);
28
return
desc;
29
}
30
31
double
CollinearFlux::fluxQ2
(
double
x,
double
q2)
const
{
32
return
fluxMX2
(x,
utils::mX2
(x, q2,
mass2
())
/*FIXME on-shell assumption: xbj == x*/
);
33
}
34
35
double
CollinearFlux::fluxMX2
(
double
x,
double
mx2)
const
{
36
if
(mx2 <= 0.)
37
mx2 =
mass2
();
38
return
fluxQ2
(x,
utils::q2
(x,
mass2
(), mx2)
/*FIXME on-shell assumption: xbj == x*/
);
39
}
40
}
// namespace cepgen
CollinearFlux.h
Utils.h
cepgen::CollinearFlux::description
static ParametersDescription description()
Definition
CollinearFlux.cpp:25
cepgen::CollinearFlux::fluxQ2
virtual double fluxQ2(double x, double q2) const
Compute the collinear flux for this x value and virtuality.
Definition
CollinearFlux.cpp:31
cepgen::CollinearFlux::fluxMX2
virtual double fluxMX2(double x, double mf2=0.) const
Compute the collinear flux for this x value and remnant mass.
Definition
CollinearFlux.cpp:35
cepgen::CollinearFlux::CollinearFlux
CollinearFlux(const ParametersList &)
Definition
CollinearFlux.cpp:23
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::q2
double q2(double xbj, double mp2, double mx2)
Compute the virtuality from Bjorken x/diffractive mass.
Definition
Utils.cpp:35
cepgen::utils::mX2
double mX2(double xbj, double q2, double mp2)
Compute the diffractive mass from virtuality/Bjorken x.
Definition
Utils.cpp:29
cepgen
Common namespace for this Monte Carlo generator.
Definition
CommandLineHandler.cpp:36
CepGen
CollinearFluxes
CollinearFlux.cpp
Generated on Mon Jul 29 2024 for CepGen by
1.9.7