cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
PartonFlux.h
Go to the documentation of this file.
1/*
2 * CepGen: a central exclusive processes event generator
3 * Copyright (C) 2023-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#ifndef CepGen_Physics_PartonFlux_h
20#define CepGen_Physics_PartonFlux_h
21
24
25namespace cepgen {
26 class PartonFlux : public NamedModule<PartonFlux> {
27 public:
28 explicit PartonFlux(const ParametersList&);
29
31
32 virtual bool ktFactorised() const { return false; }
33 virtual bool fragmenting() const = 0;
34 virtual pdgid_t partonPdgId() const = 0;
35 virtual double mass2() const = 0;
36
37 protected:
38 const double prefactor_;
39 const double mp_, mp2_;
40 const Limits x_range_{0., 1.};
41 };
42} // namespace cepgen
43
44#endif
Validity interval for a variable.
Definition Limits.h:28
Base runtime module object.
Definition NamedModule.h:28
A description object for parameters collection.
const double prefactor_
Definition PartonFlux.h:38
virtual pdgid_t partonPdgId() const =0
Parton PDG identifier.
virtual bool fragmenting() const =0
Is initiator particle fragmenting after parton emission?
const double mp2_
Definition PartonFlux.h:39
virtual bool ktFactorised() const
Is the flux parton kT-dependent?
Definition PartonFlux.h:32
const Limits x_range_
Definition PartonFlux.h:40
virtual double mass2() const =0
Initiator particle squared mass (in )
static ParametersDescription description()
const double mp_
Definition PartonFlux.h:39
Common namespace for this Monte Carlo generator.
unsigned long long pdgid_t
Alias for the integer-like particle PDG id.