cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
N/A
Central exclusive processes event generator
Toggle main menu visibility
Main Page
Related Pages
Packages
Package List
Package Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
y
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
x
y
Variables
Typedefs
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
b
c
d
e
g
h
i
l
m
n
p
r
t
u
w
x
y
z
Related Symbols
d
g
h
o
u
v
Files
File List
File Members
All
_
a
b
c
d
e
h
o
p
r
s
Functions
Variables
Macros
_
b
c
d
e
p
r
s
▼
CepGen
Reference manual
Bibliography
►
Packages
►
Classes
▼
Files
▼
File List
▼
include
▼
CepGen
►
Cards
►
Core
►
Event
►
EventFilter
►
FormFactors
►
Integration
►
Modules
►
PartonFluxes
▼
Physics
►
Beam.h
►
Constants.h
►
Coupling.h
►
Cuts.h
►
CutsList.h
►
GluonGrid.h
►
Hadroniser.h
►
HeavyIon.h
►
IncomingBeams.h
►
Kinematics.h
►
MCDFileParser.h
►
Modes.h
►
Momentum.h
►
NachtmannAmplitudes.h
►
ParticleProperties.h
►
PDG.h
►
PolarisationState.h
►
ResonanceObject.h
►
Utils.h
►
Process
►
StructureFunctions
►
Utils
►
Generator.h
►
Version.h
►
CepGenBoost
►
CepGenHepMC2
►
CepGenHepMC3
►
CepGenHerwig6
►
CepGenMadGraph
►
CepGenPythia6
►
CepGenPythia8
►
CepGenPython
►
CepGenRoot
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
ParticleProperties.h
Go to the documentation of this file.
1
/*
2
* CepGen: a central exclusive processes event generator
3
* Copyright (C) 2017-2025 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_ParticleProperties_h
20
#define CepGen_Physics_ParticleProperties_h
21
22
#include "
CepGen/Core/SteeredObject.h
"
23
24
namespace
cepgen
{
25
using
pdgid_t
=
unsigned
long
long;
26
using
pdgids_t
= std::vector<pdgid_t>;
27
using
spdgid_t
=
long
long;
28
using
spdgids_t
= std::vector<spdgid_t>;
30
struct
ParticleProperties
final :
SteeredObject
<ParticleProperties> {
31
explicit
ParticleProperties
(
const
ParametersList
&);
32
explicit
ParticleProperties
(
pdgid_t
pdgid
= 0ull,
// PDG::invalid
33
const
std::string&
name
=
""
,
34
const
std::string&
description
=
""
,
35
int
colours
= -1,
36
double
mass
= -1.,
37
double
width
= -1.,
38
const
std::vector<int>&
charges
= {},
39
bool
fermion
=
false
);
40
41
static
ParametersDescription
description
();
42
43
friend
std::ostream&
operator<<
(std::ostream&,
const
ParticleProperties
&);
44
45
short
integerCharge
()
const
;
46
47
pdgid_t
pdgid
{0ull};
48
std::string
name
{};
49
std::string
human_name
{};
50
int
colours
{0};
51
double
mass
{0.};
52
double
width
{0.};
53
std::vector<int>
charges
{};
54
bool
fermion
{
false
};
55
};
30
struct
ParticleProperties
final :
SteeredObject
<ParticleProperties> {
…
};
56
}
// namespace cepgen
57
58
#endif
SteeredObject.h
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
Handler.h:26
cepgen::spdgid_t
long long spdgid_t
Alias for a signed particle PDG id (adding charge information)
Definition
ParticleProperties.h:27
cepgen::pdgid_t
unsigned long long pdgid_t
Alias for the integer-like particle PDG id.
Definition
ParticleProperties.h:25
cepgen::spdgids_t
std::vector< spdgid_t > spdgids_t
Alias for a collection of particles signed PDG ids A collection of physics constants associated to a ...
Definition
ParticleProperties.h:28
cepgen::pdgids_t
std::vector< pdgid_t > pdgids_t
Alias for a collection of particles PDG ids.
Definition
ParticleProperties.h:26
cepgen::ParticleProperties
Definition
ParticleProperties.h:30
cepgen::ParticleProperties::ParticleProperties
ParticleProperties(const ParametersList &)
cepgen::ParticleProperties::mass
double mass
Mass, in GeV/c .
Definition
ParticleProperties.h:51
cepgen::ParticleProperties::human_name
std::string human_name
Human-readable name.
Definition
ParticleProperties.h:49
cepgen::ParticleProperties::operator<<
friend std::ostream & operator<<(std::ostream &, const ParticleProperties &)
cepgen::ParticleProperties::pdgid
pdgid_t pdgid
PDG identifier.
Definition
ParticleProperties.h:47
cepgen::ParticleProperties::charges
std::vector< int > charges
Electric charges, in /3.
Definition
ParticleProperties.h:53
cepgen::ParticleProperties::description
static ParametersDescription description()
cepgen::ParticleProperties::name
std::string name
Particle name.
Definition
ParticleProperties.h:48
cepgen::ParticleProperties::integerCharge
short integerCharge() const
Integer charge, in /3.
cepgen::ParticleProperties::width
double width
Decay width, in GeV/c .
Definition
ParticleProperties.h:52
cepgen::ParticleProperties::colours
int colours
Colour factor.
Definition
ParticleProperties.h:50
cepgen::ParticleProperties::fermion
bool fermion
Is the particle a fermion?
Definition
ParticleProperties.h:54
cepgen::ParticleProperties::ParticleProperties
ParticleProperties(pdgid_t pdgid=0ull, const std::string &name="", const std::string &description="", int colours=-1, double mass=-1., double width=-1., const std::vector< int > &charges={}, bool fermion=false)
include
CepGen
Physics
ParticleProperties.h
Generated on Tue Apr 22 2025 for CepGen by
1.10.0