cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
1.2.5
Central exclusive processes event generator
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-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 CepGenAddOns_Pythia6Wrapper_Pythia6Interface_h
20
#define CepGenAddOns_Pythia6Wrapper_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
43
namespace
cepgen
{
45
namespace
pythia6
{
46
int
pythia6Status
(
int
);
47
int
cepgenStatus
(
int
);
48
void
checkPDGid
(
int
);
49
50
double
pyalem
(
double
);
51
double
pyalps
(
double
);
52
void
pyckbd
();
53
void
pyexec
();
54
void
pygive
(
const
std::string&);
57
void
pyjoin
(std::vector<int> join);
58
int
pyk
(
int
id
,
int
qty);
59
void
pylist
(
int
mlist);
60
double
pymass
(
int
pdgid_);
61
std::string
pyname
(
int
pdgid);
62
double
pyp
(
int
id
,
int
qty);
63
inline
static
int
&
mstu
(
size_t
i) {
return
pydat1_
.mstu.at(i - 1); }
64
inline
static
double
&
paru
(
size_t
i) {
return
pydat1_
.paru.at(i - 1); }
65
}
// namespace pythia6
66
}
// namespace cepgen
67
68
#endif
pyjets_
struct @7 pyjets_
Particles content of the event.
pydat1_
struct @8 pydat1_
cepgen::pythia6::pyalem
double pyalem(double q2)
Definition
Pythia6Interface.cpp:43
cepgen::pythia6::mstu
static int & mstu(size_t i)
Definition
Pythia6Interface.h:63
cepgen::pythia6::pyk
int pyk(int id, int qty)
Definition
Pythia6Interface.cpp:60
cepgen::pythia6::pyckbd
void pyckbd()
Definition
Pythia6Interface.cpp:51
cepgen::pythia6::cepgenStatus
int cepgenStatus(int py_status)
Definition
Pythia6Interface.cpp:98
cepgen::pythia6::pygive
void pygive(const std::string &line)
Definition
Pythia6Interface.cpp:53
cepgen::pythia6::pyexec
void pyexec()
Definition
Pythia6Interface.cpp:47
cepgen::pythia6::pymass
double pymass(int pdgid)
Definition
Pythia6Interface.cpp:64
cepgen::pythia6::pyp
double pyp(int id, int qty)
Definition
Pythia6Interface.cpp:78
cepgen::pythia6::pyjoin
void pyjoin(std::vector< int > join)
Connect entries with colour flow information.
Definition
Pythia6Interface.cpp:55
cepgen::pythia6::pylist
void pylist(int mlist)
Definition
Pythia6Interface.cpp:62
cepgen::pythia6::pyname
std::string pyname(int pdgid)
Definition
Pythia6Interface.cpp:66
cepgen::pythia6::checkPDGid
void checkPDGid(int pdg_id)
Definition
Pythia6Interface.cpp:113
cepgen::pythia6::pyalps
double pyalps(double q2)
Definition
Pythia6Interface.cpp:45
cepgen::pythia6::paru
static double & paru(size_t i)
Definition
Pythia6Interface.h:64
cepgen::pythia6::pythia6Status
int pythia6Status(int cg_status)
Definition
Pythia6Interface.cpp:80
cepgen
Common namespace for this Monte Carlo generator.
Definition
CommandLineHandler.cpp:36
python.Config.Hadronisation.pythia6_cfi.pythia6
pythia6
Definition
pythia6_cfi.py:11
CepGenAddOns
Pythia6Wrapper
Pythia6Interface.h
Generated on Mon Jul 29 2024 for CepGen by
1.9.7