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
►
CepGenBoost
►
CepGenHepMC2
►
CepGenHepMC3
►
CepGenHerwig6
►
CepGenMadGraph
▼
CepGenPythia6
►
EventInterface.h
►
Pythia6Interface.h
►
CepGenPythia8
►
CepGenPython
►
CepGenRoot
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
Pythia6Interface.h
Go to the documentation of this file.
1
/*
2
* CepGen: a central exclusive processes event generator
3
* Copyright (C) 2013-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 CepGenPythia6_Pythia6Interface_h
20
#define CepGenPythia6_Pythia6Interface_h
21
22
#include <array>
23
#include <string>
24
#include <vector>
25
26
extern
"C"
{
28
extern
struct
{
29
int
n;
30
int
npad;
31
int
k[5][4000];
32
double
p[5][4000];
33
double
v[5][4000];
34
}
pyjets_
;
35
extern
struct
{
36
std::array<int, 200>
mstu
;
37
std::array<double, 200>
paru
;
38
std::array<int, 200> mstj;
39
std::array<double, 200> parj;
40
}
pydat1_
;
41
}
42
44
namespace
cepgen::pythia6
{
45
int
pythia6Status
(
int
);
46
int
cepgenStatus
(
int
);
47
void
checkPDGid
(
int
);
48
49
double
pyalem
(
double
);
50
double
pyalps
(
double
);
51
void
pyckbd
();
52
void
pyexec
();
53
void
pygive
(
const
std::string&);
56
void
pyjoin
(std::vector<int> join);
57
int
pyk
(
int
id
,
int
qty);
58
void
pylist
(
int
mlist);
59
double
pymass
(
int
pdgid_);
60
std::string
pyname
(
int
pdgid);
61
double
pyp
(
int
id
,
int
qty);
62
inline
static
int
&
mstu
(
size_t
i) {
return
pydat1_
.mstu.at(i - 1); }
63
inline
static
double
&
paru
(
size_t
i) {
return
pydat1_
.paru.at(i - 1); }
64
}
// namespace cepgen::pythia6
65
66
#endif
pydat1_
struct @3 pydat1_
pyjets_
struct @2 pyjets_
Particles content of the event.
cepgen::pythia6
Pythia 6 utilities namespace.
Definition
EventInterface.h:34
cepgen::pythia6::mstu
static int & mstu(size_t i)
Definition
Pythia6Interface.h:62
cepgen::pythia6::pyk
int pyk(int id, int qty)
cepgen::pythia6::pyckbd
void pyckbd()
cepgen::pythia6::cepgenStatus
int cepgenStatus(int)
cepgen::pythia6::pyalem
double pyalem(double)
cepgen::pythia6::pymass
double pymass(int pdgid_)
cepgen::pythia6::pyalps
double pyalps(double)
cepgen::pythia6::pyexec
void pyexec()
cepgen::pythia6::pyp
double pyp(int id, int qty)
cepgen::pythia6::pyjoin
void pyjoin(std::vector< int > join)
Connect entries with colour flow information.
cepgen::pythia6::pylist
void pylist(int mlist)
cepgen::pythia6::checkPDGid
void checkPDGid(int)
cepgen::pythia6::pythia6Status
int pythia6Status(int)
cepgen::pythia6::pyname
std::string pyname(int pdgid)
cepgen::pythia6::paru
static double & paru(size_t i)
Definition
Pythia6Interface.h:63
cepgen::pythia6::pygive
void pygive(const std::string &)
include
CepGenPythia6
Pythia6Interface.h
Generated on Tue Apr 22 2025 for CepGen by
1.10.0