cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
IncomingBeams.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_IncomingBeams_h
20
#define CepGen_Physics_IncomingBeams_h
21
22
#include "
CepGen/Physics/Beam.h
"
23
#include "
CepGen/Physics/Modes.h
"
24
25
namespace
cepgen
{
27
class
IncomingBeams
:
public
SteeredObject
<IncomingBeams> {
28
public
:
29
explicit
IncomingBeams
(
const
ParametersList
&);
30
31
static
ParametersDescription
description
();
32
void
setParameters
(
const
ParametersList
&)
override
;
33
const
ParametersList
&
parameters
()
const override
;
34
35
static
mode::Kinematics
modeFromBeams
(
const
Beam
&,
const
Beam
&);
36
mode::Kinematics
mode
()
const
;
37
38
inline
const
Beam
&
positive
()
const
{
return
pos_beam_; }
39
inline
Beam
&
positive
() {
return
pos_beam_; }
40
inline
const
Beam
&
negative
()
const
{
return
neg_beam_; }
41
inline
Beam
&
negative
() {
return
neg_beam_; }
42
43
inline
const
ParametersList
&
structureFunctions
()
const
{
return
strfun_; }
44
void
setStructureFunctions
(
int
,
int
);
45
46
void
setSqrtS
(
double
);
47
double
s
()
const
;
48
double
sqrtS
()
const
;
49
50
private
:
51
ParametersList
strfun_;
52
Beam
pos_beam_{
ParametersList
()};
53
Beam neg_beam_{ParametersList()};
54
};
55
}
// namespace cepgen
56
57
#endif
Beam.h
Modes.h
cepgen::Beam
Incoming beams characteristics.
Definition
Beam.h:30
cepgen::IncomingBeams
Beam/primary particle's kinematics.
Definition
IncomingBeams.h:27
cepgen::IncomingBeams::negative
Beam & negative()
Reference to the negative-z beam information.
Definition
IncomingBeams.h:41
cepgen::IncomingBeams::structureFunctions
const ParametersList & structureFunctions() const
Structure functions parameters.
Definition
IncomingBeams.h:43
cepgen::IncomingBeams::positive
Beam & positive()
Reference to the positive-z beam information.
Definition
IncomingBeams.h:39
cepgen::IncomingBeams::setParameters
void setParameters(const ParametersList &) override
Set module parameters.
Definition
IncomingBeams.cpp:38
cepgen::IncomingBeams::modeFromBeams
static mode::Kinematics modeFromBeams(const Beam &, const Beam &)
Extract kinematics type from both beams.
Definition
IncomingBeams.cpp:210
cepgen::IncomingBeams::positive
const Beam & positive() const
Reference to the positive-z beam information.
Definition
IncomingBeams.h:38
cepgen::IncomingBeams::s
double s() const
Incoming beams squared centre of mass energy (in GeV^2)
Definition
IncomingBeams.cpp:193
cepgen::IncomingBeams::sqrtS
double sqrtS() const
Incoming beams centre of mass energy (in GeV)
Definition
IncomingBeams.cpp:202
cepgen::IncomingBeams::negative
const Beam & negative() const
Reference to the negative-z beam information.
Definition
IncomingBeams.h:40
cepgen::IncomingBeams::setSqrtS
void setSqrtS(double)
Set the incoming beams centre of mass energy (in GeV)
Definition
IncomingBeams.cpp:182
cepgen::IncomingBeams::setStructureFunctions
void setStructureFunctions(int, int)
Set the integer-type of structure functions evaluator to build.
Definition
IncomingBeams.cpp:223
cepgen::IncomingBeams::description
static ParametersDescription description()
Definition
IncomingBeams.cpp:258
cepgen::IncomingBeams::parameters
const ParametersList & parameters() const override
List containing all parameters handled.
Definition
IncomingBeams.cpp:240
cepgen::IncomingBeams::mode
mode::Kinematics mode() const
Type of kinematics to consider for the phase space.
Definition
IncomingBeams.cpp:204
cepgen::ParametersDescription
A description object for parameters collection.
Definition
ParametersDescription.h:26
cepgen::ParametersList
Definition
ParametersList.h:52
cepgen::SteeredObject
Base user-steerable object.
Definition
SteeredObject.h:41
cepgen::mode::Kinematics
Kinematics
Type of scattering.
Definition
Modes.h:28
cepgen
Common namespace for this Monte Carlo generator.
Definition
CommandLineHandler.cpp:36
CepGen
Physics
IncomingBeams.h
Generated on Mon Jul 29 2024 for CepGen by
1.9.7