cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
AlphaS.cpp
Go to the documentation of this file.
1
/*
2
* CepGen: a central exclusive processes event generator
3
* Copyright (C) 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
#include <Pythia8/Pythia.h>
20
#include <Pythia8/StandardModel.h>
21
22
#include "
CepGen/Modules/CouplingFactory.h
"
23
#include "
CepGen/Physics/Constants.h
"
24
#include "
CepGen/Physics/Coupling.h
"
25
26
namespace
cepgen
{
27
namespace
pythia8
{
28
class
AlphaS
final :
public
Coupling
{
29
public
:
30
explicit
AlphaS
(
const
ParametersList
& params) :
Coupling
(params), alphas_(new
Pythia8
::AlphaStrong) {
31
alphas_->init(
32
steer<double>(
"alphaSvalue"
), steer<int>(
"alphaSorder"
), steer<int>(
"alphaSnfmax"
), steer<bool>(
"useCMW"
));
33
}
34
35
inline
static
ParametersDescription
description
() {
36
auto
desc =
cepgen::Coupling::description
();
37
desc.setDescription(
"Pythia8 modelling of alpha(S) running"
);
38
desc.add<
double
>(
"alphaSvalue"
, 0.13);
39
desc.add<
int
>(
"alphaSorder"
, 1);
40
desc.add<
int
>(
"alphaSnfmax"
, 6);
41
desc.add<
bool
>(
"useCMW"
,
false
);
42
return
desc;
43
}
44
45
inline
double
operator()
(
double
q)
const override
{
return
alphas_->alphaS(q * q); }
46
47
private
:
48
const
std::unique_ptr<Pythia8::AlphaStrong> alphas_;
49
};
50
}
// namespace pythia8
51
}
// namespace cepgen
52
using
Pythia8AlphaS
=
cepgen::pythia8::AlphaS
;
53
REGISTER_ALPHAS_MODULE
(
"pythia8"
,
Pythia8AlphaS
);
Constants.h
CouplingFactory.h
REGISTER_ALPHAS_MODULE
#define REGISTER_ALPHAS_MODULE(name, obj)
Add a strong coupling evolution algorithm.
Definition
CouplingFactory.h:35
Coupling.h
cepgen::Coupling
A generic evaluation algorithm.
Definition
Coupling.h:26
cepgen::ParametersDescription
A description object for parameters collection.
Definition
ParametersDescription.h:26
cepgen::ParametersList
Definition
ParametersList.h:52
cepgen::Steerable::description
static ParametersDescription description()
Description of all object parameters.
Definition
Steerable.cpp:42
cepgen::pythia8::AlphaS
Definition
AlphaS.cpp:28
cepgen::pythia8::AlphaS::operator()
double operator()(double q) const override
Compute for a given .
Definition
AlphaS.cpp:45
cepgen::pythia8::AlphaS::AlphaS
AlphaS(const ParametersList ¶ms)
Definition
AlphaS.cpp:30
cepgen::pythia8::AlphaS::description
static ParametersDescription description()
Definition
AlphaS.cpp:35
Pythia8
Definition
PythiaEventInterface.cpp:26
cepgen
Common namespace for this Monte Carlo generator.
Definition
CommandLineHandler.cpp:36
python.Config.Hadronisation.pythia8_cfi.pythia8
pythia8
Definition
pythia8_cfi.py:13
CepGenAddOns
Pythia8Wrapper
AlphaS.cpp
Generated on Mon Jul 29 2024 for CepGen by
1.9.7