cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
PartonicParameterisation.h
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 <array>
20
21
#include "
CepGen/StructureFunctions/Parameterisation.h
"
22
23
namespace
cepgen
{
24
namespace
strfun {
26
class
PartonicParameterisation
:
public
Parameterisation
{
27
public
:
28
explicit
PartonicParameterisation
(
const
ParametersList
&);
29
virtual
~PartonicParameterisation
() =
default
;
30
32
enum class
Mode
{
full
= 0,
valence
= 1,
sea
= 2 };
33
friend
std::ostream&
operator<<
(std::ostream&,
const
Mode
& mode);
34
35
static
ParametersDescription
description
();
36
void
eval
() override final;
37
38
protected:
39
virtual
double
evalxQ2
(
int
flavour,
double
xbj,
double
q2) = 0;
41
const
unsigned
short
num_flavours_
;
43
const
Mode
mode_
;
44
45
static constexpr std::array<
short
, 6>
QUARK_PDGS
= {{1, 2, 3, 4, 5, 6}};
46
static
constexpr
std::array<short, 6>
Q_TIMES_3
= {{
47
-1
/*d*/
, 2
/*u*/
, -1
/*s*/
, 2
/*c*/
, -1
/*b*/
, 2
/*t*/
48
}};
49
};
50
}
// namespace strfun
51
}
// namespace cepgen
Parameterisation.h
cepgen::ParametersDescription
A description object for parameters collection.
Definition
ParametersDescription.h:26
cepgen::ParametersList
Definition
ParametersList.h:52
cepgen::strfun::Parameterisation
Base object for the parameterisation of nucleon structure functions.
Definition
Parameterisation.h:30
cepgen::strfun::PartonicParameterisation
Generic partonic level perturbative structure functions built from an external PDFs grid.
Definition
PartonicParameterisation.h:26
cepgen::strfun::PartonicParameterisation::eval
void eval() override final
Local structure functions evaluation method.
Definition
PartonicParameterisation.cpp:40
cepgen::strfun::PartonicParameterisation::Mode
Mode
Quarks types.
Definition
PartonicParameterisation.h:32
cepgen::strfun::PartonicParameterisation::Mode::valence
@ valence
cepgen::strfun::PartonicParameterisation::Mode::sea
@ sea
cepgen::strfun::PartonicParameterisation::Mode::full
@ full
cepgen::strfun::PartonicParameterisation::QUARK_PDGS
static constexpr std::array< short, 6 > QUARK_PDGS
Definition
PartonicParameterisation.h:45
cepgen::strfun::PartonicParameterisation::Q_TIMES_3
static constexpr std::array< short, 6 > Q_TIMES_3
Definition
PartonicParameterisation.h:46
cepgen::strfun::PartonicParameterisation::~PartonicParameterisation
virtual ~PartonicParameterisation()=default
cepgen::strfun::PartonicParameterisation::description
static ParametersDescription description()
Definition
PartonicParameterisation.cpp:32
cepgen::strfun::PartonicParameterisation::num_flavours_
const unsigned short num_flavours_
Number of quark flavours considered in the SF building.
Definition
PartonicParameterisation.h:41
cepgen::strfun::PartonicParameterisation::evalxQ2
virtual double evalxQ2(int flavour, double xbj, double q2)=0
cepgen::strfun::PartonicParameterisation::operator<<
friend std::ostream & operator<<(std::ostream &, const Mode &mode)
Definition
PartonicParameterisation.cpp:61
cepgen::strfun::PartonicParameterisation::mode_
const Mode mode_
Quarks types considered in the SF building.
Definition
PartonicParameterisation.h:43
cepgen
Common namespace for this Monte Carlo generator.
Definition
CommandLineHandler.cpp:36
CepGen
StructureFunctions
PartonicParameterisation.h
Generated on Mon Jul 29 2024 for CepGen by
1.9.7