cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
Beam.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_Beam_h
20
#define CepGen_Physics_Beam_h
21
22
#include <memory>
23
24
#include "
CepGen/FormFactors/FormFactors.h
"
25
#include "
CepGen/Physics/Momentum.h
"
26
#include "
CepGen/Physics/PartonFlux.h
"
27
28
namespace
cepgen
{
30
class
Beam
:
public
SteeredObject
<Beam> {
31
public
:
32
explicit
Beam
(
const
ParametersList
&);
33
34
static
ParametersDescription
description
();
35
36
friend
std::ostream&
operator<<
(std::ostream&,
const
Beam
&);
37
38
void
initialise
();
39
40
inline
bool
elastic
()
const
{
return
elastic_; }
42
inline
Beam
&
setElastic
(
bool
el) {
43
elastic_ = el;
44
return
*
this
;
45
}
46
47
inline
spdgid_t
integerPdgId
()
const
{
return
pdg_id_; }
49
inline
Beam
&
setIntegerPdgId
(
spdgid_t
pdg
) {
50
pdg_id_ =
pdg
;
51
return
*
this
;
52
}
53
54
inline
const
Momentum
&
momentum
()
const
{
return
momentum_; }
56
inline
Beam
&
setMomentum
(
const
Momentum
& mom) {
57
momentum_ = mom;
58
return
*
this
;
59
}
60
61
inline
const
ParametersList
&
formFactors
()
const
{
return
formfac_; }
62
inline
const
ParametersList
&
partonFluxParameters
()
const
{
return
flux_info_; }
63
64
private
:
65
spdgid_t
pdg_id_{0};
66
Momentum momentum_;
67
ParametersList formfac_;
68
ParametersList flux_info_;
69
bool
elastic_{
true
};
70
};
71
}
// namespace cepgen
72
73
#endif
FormFactors.h
Momentum.h
PartonFlux.h
cepgen::Beam
Incoming beams characteristics.
Definition
Beam.h:30
cepgen::Beam::formFactors
const ParametersList & formFactors() const
Form factors parameters.
Definition
Beam.h:61
cepgen::Beam::initialise
void initialise()
Initialise the fluxes evaluator object.
cepgen::Beam::setElastic
Beam & setElastic(bool el)
Definition
Beam.h:42
cepgen::Beam::setIntegerPdgId
Beam & setIntegerPdgId(spdgid_t pdg)
Definition
Beam.h:49
cepgen::Beam::integerPdgId
spdgid_t integerPdgId() const
Beam particle PDG id Set the beam particle PDG id.
Definition
Beam.h:47
cepgen::Beam::momentum
const Momentum & momentum() const
Beam particle 4-momentum Set the beam particle 4-momentum.
Definition
Beam.h:54
cepgen::Beam::setMomentum
Beam & setMomentum(const Momentum &mom)
Definition
Beam.h:56
cepgen::Beam::operator<<
friend std::ostream & operator<<(std::ostream &, const Beam &)
Human-readable description of beam system.
Definition
Beam.cpp:42
cepgen::Beam::description
static ParametersDescription description()
Definition
Beam.cpp:35
cepgen::Beam::elastic
bool elastic() const
Does the beam remain on-shell after parton emission? Specify if the beam remains on-shell after parto...
Definition
Beam.h:40
cepgen::Beam::partonFluxParameters
const ParametersList & partonFluxParameters() const
Parton flux modelling.
Definition
Beam.h:62
cepgen::Momentum
Container for a particle's 4-momentum, along with useful methods to ease the development of any matri...
Definition
Momentum.h:33
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
Common namespace for this Monte Carlo generator.
Definition
CommandLineHandler.cpp:36
cepgen::spdgid_t
long long spdgid_t
Definition
ParticleProperties.h:28
pdg
Definition
MCDFileParser.cpp:28
CepGen
Physics
Beam.h
Generated on Mon Jul 29 2024 for CepGen by
1.9.7