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
23
24namespace 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
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
52REGISTER_ALPHAS_MODULE("revolver", AlphaSREvolver);
#define REGISTER_ALPHAS_MODULE(name, obj)
Add a strong coupling evolution algorithm.
double operator()(double q) const override
Compute for a given .
static ParametersDescription description()
AlphaSREvolver(const ParametersList &params)
A generic evaluation algorithm.
Definition Coupling.h:26
A description object for parameters collection.
static ParametersDescription description()
Description of all object parameters.
Definition Steerable.cpp:42
T steer(const std::string &key) const
Retrieve a parameters as previously steered.
Definition Steerable.h:39
Common namespace for this Monte Carlo generator.