cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
Kinematics.h
Go to the documentation of this file.
1/*
2 * CepGen: a central exclusive processes event generator
3 * Copyright (C) 2013-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_Kinematics_h
20#define CepGen_Physics_Kinematics_h
21
22#include "CepGen/Physics/Cuts.h"
24
25namespace cepgen {
27 class Kinematics final : public SteeredObject<Kinematics> {
28 public:
29 explicit Kinematics(const ParametersList&);
30
32
33 void setParameters(const ParametersList&) override;
34 const ParametersList& parameters() const override;
35
36 inline IncomingBeams& incomingBeams() { return incoming_beams_; }
37 inline const IncomingBeams& incomingBeams() const { return incoming_beams_; }
38
39 inline const pdgids_t& minimumFinalState() const { return minimum_final_state_; }
40
41 inline CutsList& cuts() { return cuts_; }
42 inline const CutsList& cuts() const { return cuts_; }
43
44 private:
46 IncomingBeams incoming_beams_{ParametersList()};
47 CutsList cuts_{ParametersList()};
48 pdgids_t minimum_final_state_;
49 };
50} // namespace cepgen
51
52#endif
Beam/primary particle's kinematics.
List of kinematic constraints to apply on the process phase space.
Definition Kinematics.h:27
const CutsList & cuts() const
Phase space cuts.
Definition Kinematics.h:42
const pdgids_t & minimumFinalState() const
Minimum central particles.
Definition Kinematics.h:39
void setParameters(const ParametersList &) override
Set module parameters.
CutsList & cuts()
Phase space cuts.
Definition Kinematics.h:41
IncomingBeams & incomingBeams()
Beam/primary particle kinematics.
Definition Kinematics.h:36
const IncomingBeams & incomingBeams() const
Beam/primary particle kinematics.
Definition Kinematics.h:37
static ParametersDescription description()
const ParametersList & parameters() const override
List containing all parameters handled.
A description object for parameters collection.
Base user-steerable object.
Common namespace for this Monte Carlo generator.
std::vector< pdgid_t > pdgids_t
A collection of cuts to apply on the physical phase space.
Definition Cuts.h:85