cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
AlphaSREvolver.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 <REvolver.h>
20
21
#include "
CepGen/Modules/CouplingFactory.h
"
22
#include "
CepGen/Physics/Coupling.h
"
23
24
namespace
cepgen
{
25
class
AlphaSREvolver
final :
public
Coupling
{
26
public
:
27
explicit
AlphaSREvolver
(
const
ParametersList
& params)
28
:
Coupling
(params),
29
qc_(
steer
<double>(
"qCentral"
)),
30
qevol_(
steer
<double>(
"qEvol"
)),
31
order_(
steer
<int>(
"order"
)),
32
central2_(revo::RunPar(order_, qc_, qevol_), order_) {}
33
34
static
ParametersDescription
description
() {
35
auto
desc =
Coupling::description
();
36
desc.setDescription(
"REvolver alpha(S) evolution algorithm"
);
37
desc.add<
int
>(
"order"
, 5);
38
desc.add<
double
>(
"qCentral"
, 0.0822);
39
desc.add<
double
>(
"qEvol"
, 1508.04);
40
return
desc;
41
}
42
43
double
operator()
(
double
q)
const override
{
return
central2_.alpha(q); }
44
45
private
:
46
const
double
qc_, qevol_;
47
const
int
order_;
48
revo::Core central2_;
49
};
50
}
// namespace cepgen
51
52
REGISTER_ALPHAS_MODULE
(
"revolver"
, AlphaSREvolver);
CouplingFactory.h
REGISTER_ALPHAS_MODULE
#define REGISTER_ALPHAS_MODULE(name, obj)
Add a strong coupling evolution algorithm.
Definition
CouplingFactory.h:35
Coupling.h
cepgen::AlphaSREvolver
Definition
AlphaSREvolver.cpp:25
cepgen::AlphaSREvolver::operator()
double operator()(double q) const override
Compute for a given .
Definition
AlphaSREvolver.cpp:43
cepgen::AlphaSREvolver::description
static ParametersDescription description()
Definition
AlphaSREvolver.cpp:34
cepgen::AlphaSREvolver::AlphaSREvolver
AlphaSREvolver(const ParametersList ¶ms)
Definition
AlphaSREvolver.cpp:27
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::Steerable::steer
T steer(const std::string &key) const
Retrieve a parameters as previously steered.
Definition
Steerable.h:39
cepgen
Common namespace for this Monte Carlo generator.
Definition
CommandLineHandler.cpp:36
CepGenAddOns
REvolverWrapper
AlphaSREvolver.cpp
Generated on Mon Jul 29 2024 for CepGen by
1.9.7