cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
PhaseSpaceGenerator.h
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#ifndef CepGen_Process_PhaseSpaceGenerator_h
20#define CepGen_Process_PhaseSpaceGenerator_h
21
23
24namespace cepgen {
25 namespace proc {
26 class FactorisedProcess;
27 }
28 namespace cuts {
29 struct Central;
30 }
34 class PhaseSpaceGenerator : public NamedModule<PhaseSpaceGenerator> {
35 public:
36 explicit PhaseSpaceGenerator(const ParametersList& params) : NamedModule(params) {}
37
38 virtual bool ktFactorised() const { return false; }
39
40 virtual void setCentralCuts(const cuts::Central&) {}
42
43 virtual bool generate() = 0;
44 virtual double weight() const = 0;
45
46 virtual pdgids_t partons() const = 0;
47 virtual void setCentral(const std::vector<int>&) = 0;
48 virtual std::vector<int> central() const = 0;
49
50 // Mandelstam variables
51 virtual double that() const = 0;
52 virtual double uhat() const = 0;
53 };
54} // namespace cepgen
55
56#endif
Base runtime module object.
Definition NamedModule.h:28
Class template to define any phase space helper process.
virtual double weight() const =0
Return the event weight for a kinematics combination.
virtual std::vector< int > central() const =0
List of outgoing central particles in kinematics.
virtual double uhat() const =0
virtual void initialise(proc::FactorisedProcess *)=0
Set all process parameters.
PhaseSpaceGenerator(const ParametersList &params)
virtual double that() const =0
virtual void setCentralCuts(const cuts::Central &)
Set cuts on central particles.
virtual bool ktFactorised() const
virtual void setCentral(const std::vector< int > &)=0
Override the central particles list.
virtual pdgids_t partons() const =0
List of incoming partons in kinematics.
virtual bool generate()=0
Generate a kinematics combination, and return a success flag.
Generic parton emission-factorised process.
Common namespace for this Monte Carlo generator.
std::vector< pdgid_t > pdgids_t
Centrally produced particles phase space cuts.
Definition Cuts.h:31