test
Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
GeneratorInterface
AMPTInterface
interface
AMPTWrapper.h
Go to the documentation of this file.
1
#ifndef GeneratorInterface_AMPTInterface_AMPTWrapper
2
#define GeneratorInterface_AMPTInterface_AMPTWrapper
3
4
/*
5
* Wrapper for FORTRAN version of AMPT
6
*/
7
8
//gsfs changed to 150001
9
#define _MAXNUMPARTICLE_ 150001
10
11
extern
"C"
{
12
void
amptset_
(
double
& efrm,
const
char
* frame,
const
char
* proj,
const
char
* targ,
int
& iap,
int
& izp,
int
& iat,
int
& izt,
int
,
int
,
int
);
13
}
14
#define AMPTSET amptset_
15
16
extern
"C"
{
17
void
ampt_
(
const
char
* frame,
double
& bmin0,
double
& bmax0,
int
);
18
}
19
#define AMPT ampt_
20
21
extern
"C"
{
22
int
invflv_
(
int
&);
23
}
24
#define INVFLV invflv_
25
26
//gsfs changed entries to agree with calling sequence in AMPT
27
extern
"C"
{
28
extern
struct
{
29
float
eatt
;
30
int
jatt
;
31
int
natt
;
32
int
nt
;
33
int
np
;
34
int
n0
;
35
int
n01
;
36
int
n10
;
37
int
n11
;
38
}
hmain1_
;
39
}
40
#define hmain1 hmain1_
41
42
extern
"C"
{
43
extern
struct
{
44
int
lblast
[
_MAXNUMPARTICLE_
];
45
float
xlast
[
_MAXNUMPARTICLE_
][4];
46
float
plast
[
_MAXNUMPARTICLE_
][4];
47
int
nlast
;
48
}
hbt_
;
49
}
50
#define hbt hbt_
51
52
extern
"C"
{
53
extern
struct
{
54
float
hipr1
[100];
55
int
ihpr2
[50];
56
float
hint1
[100];
57
int
ihnt2
[50];
58
}
hparnt_
;
59
}
60
#define hparnt hparnt_
61
62
extern
"C"
{
63
extern
struct
{
64
int
mstu
[200];
65
float
paru
[200];
66
int
mstj
[200];
67
float
parj
[200];
68
}
ludat1_
;
69
}
70
#define ludat1 ludat1_
71
72
extern
"C"
{
73
extern
struct
{
74
int
nevent
;
75
int
isoft
;
76
int
isflag
;
77
int
izpc
;
78
}
anim_
;
79
}
80
#define anim anim_
81
82
extern
"C"
{
83
extern
struct
{
84
float
dpcoal
;
85
float
drcoal
;
86
float
ecritl
;
87
}
coal_
;
88
}
89
#define coal coal_
90
91
extern
"C"
{
92
extern
struct
{
93
float
xmp
;
94
float
xmu
;
95
float
alpha
;
96
float
rscut2
;
97
float
cutof2
;
98
}
para2_
;
99
}
100
#define para2 para2_
101
102
extern
"C"
{
103
extern
struct
{
104
int
ioscar
;
105
int
nsmbbbar
;
106
int
nsmmeson
;
107
}
para7_
;
108
}
109
#define para7 para7_
110
111
extern
"C"
{
112
extern
struct
{
113
int
idpert
;
114
int
npertd
;
115
int
idxsec
;
116
}
para8_
;
117
}
118
#define para8 para8_
119
120
extern
"C"
{
121
extern
struct
{
122
float
masspr
;
123
float
massta
;
124
int
iseed
;
125
int
iavoid
;
126
float
dt
;
127
}
input1_
;
128
}
129
#define input1 input1_
130
131
extern
"C"
{
132
extern
struct
{
133
int
ilab
;
134
int
manyb
;
135
int
ntmax
;
136
int
icoll
;
137
int
insys
;
138
int
ipot
;
139
int
mode
;
140
int
imomen
;
141
int
nfreq
;
142
int
icflow
;
143
int
icrho
;
144
int
icou
;
145
int
kpoten
;
146
int
kmul
;
147
}
input2_
;
148
}
149
#define input2 input2_
150
151
extern
"C"
{
152
extern
struct
{
153
int
nsav
;
154
int
iksdcy
;
155
}
resdcy_
;
156
}
157
#define resdcy resdcy_
158
159
extern
"C"
{
160
extern
struct
{
161
int
iphidcy
;
162
float
pttrig
;
163
int
ntrig
;
164
int
maxmiss
;
165
}
phidcy_
;
166
}
167
#define phidcy phidcy_
168
169
extern
"C"
{
170
extern
struct
{
171
int
iembed
;
172
float
pxqembd
;
173
float
pyqembd
;
174
float
xembd
;
175
float
yembd
;
176
}
embed_
;
177
}
178
#define embed embed_
179
180
extern
"C"
{
181
extern
struct
{
182
int
ipop
;
183
}
popcorn_
;
184
}
185
#define popcorn popcorn_
186
187
#endif
ecritl
float ecritl
Definition:
AMPTWrapper.h:86
ipot
int ipot
Definition:
AMPTWrapper.h:138
pyqembd
float pyqembd
Definition:
AMPTWrapper.h:173
dt
float dt
Definition:
AMPTWrapper.h:126
nsmbbbar
int nsmbbbar
Definition:
AMPTWrapper.h:105
alpha
float alpha
Definition:
AMPTWrapper.h:95
idpert
int idpert
Definition:
AMPTWrapper.h:113
xmu
float xmu
Definition:
AMPTWrapper.h:94
izpc
int izpc
Definition:
AMPTWrapper.h:77
massta
float massta
Definition:
AMPTWrapper.h:123
hipr1
float hipr1[100]
Definition:
AMPTWrapper.h:54
input1_
struct @492 input1_
xembd
float xembd
Definition:
AMPTWrapper.h:174
ihnt2
int ihnt2[50]
Definition:
AMPTWrapper.h:57
eatt
float eatt
Definition:
AMPTWrapper.h:29
amptset_
void amptset_(double &efrm, const char *frame, const char *proj, const char *targ, int &iap, int &izp, int &iat, int &izt, int, int, int)
isoft
int isoft
Definition:
AMPTWrapper.h:75
mstu
int mstu[200]
Definition:
AMPTWrapper.h:64
ludat1_
struct @486 ludat1_
xlast
float xlast[150001][4]
Definition:
AMPTWrapper.h:45
yembd
float yembd
Definition:
AMPTWrapper.h:175
rscut2
float rscut2
Definition:
AMPTWrapper.h:96
iksdcy
int iksdcy
Definition:
AMPTWrapper.h:154
invflv_
int invflv_(int &)
ilab
int ilab
Definition:
AMPTWrapper.h:133
n01
int n01
Definition:
AMPTWrapper.h:35
icrho
int icrho
Definition:
AMPTWrapper.h:143
manyb
int manyb
Definition:
AMPTWrapper.h:134
mstj
int mstj[200]
Definition:
AMPTWrapper.h:66
alignBH_cfg.mode
list mode
Definition:
alignBH_cfg.py:7
_MAXNUMPARTICLE_
#define _MAXNUMPARTICLE_
Definition:
AMPTWrapper.h:9
icflow
int icflow
Definition:
AMPTWrapper.h:142
xmp
float xmp
Definition:
AMPTWrapper.h:93
phidcy_
struct @495 phidcy_
hmain1_
struct @483 hmain1_
natt
int natt
Definition:
AMPTWrapper.h:31
jatt
int jatt
Definition:
AMPTWrapper.h:30
embed_
struct @496 embed_
iembed
int iembed
Definition:
AMPTWrapper.h:171
nevent
int nevent
Definition:
AMPTWrapper.h:74
para2_
struct @489 para2_
iphidcy
int iphidcy
Definition:
AMPTWrapper.h:161
hbt_
struct @484 hbt_
np
int np
Definition:
AMPTWrapper.h:33
n0
int n0
Definition:
AMPTWrapper.h:34
coal_
struct @488 coal_
ioscar
int ioscar
Definition:
AMPTWrapper.h:104
ipop
int ipop
Definition:
AMPTWrapper.h:182
resdcy_
struct @494 resdcy_
insys
int insys
Definition:
AMPTWrapper.h:137
kmul
int kmul
Definition:
AMPTWrapper.h:146
ntrig
int ntrig
Definition:
AMPTWrapper.h:163
cutof2
float cutof2
Definition:
AMPTWrapper.h:97
icou
int icou
Definition:
AMPTWrapper.h:144
ampt_
void ampt_(const char *frame, double &bmin0, double &bmax0, int)
popcorn_
struct @497 popcorn_
ntmax
int ntmax
Definition:
AMPTWrapper.h:135
masspr
float masspr
Definition:
AMPTWrapper.h:122
nfreq
int nfreq
Definition:
AMPTWrapper.h:141
hint1
float hint1[100]
Definition:
AMPTWrapper.h:56
nsav
int nsav
Definition:
AMPTWrapper.h:153
nt
int nt
Definition:
AMPTWrapper.h:32
para8_
struct @491 para8_
drcoal
float drcoal
Definition:
AMPTWrapper.h:85
dpcoal
float dpcoal
Definition:
AMPTWrapper.h:84
parj
float parj[200]
Definition:
AMPTWrapper.h:67
pxqembd
float pxqembd
Definition:
AMPTWrapper.h:172
pttrig
float pttrig
Definition:
AMPTWrapper.h:162
paru
float paru[200]
Definition:
AMPTWrapper.h:65
iseed
int iseed
Definition:
AMPTWrapper.h:124
n11
int n11
Definition:
AMPTWrapper.h:37
input2_
struct @493 input2_
kpoten
int kpoten
Definition:
AMPTWrapper.h:145
n10
int n10
Definition:
AMPTWrapper.h:36
iavoid
int iavoid
Definition:
AMPTWrapper.h:125
lblast
int lblast[150001]
Definition:
AMPTWrapper.h:44
plast
float plast[150001][4]
Definition:
AMPTWrapper.h:46
npertd
int npertd
Definition:
AMPTWrapper.h:114
para7_
struct @490 para7_
nlast
int nlast
Definition:
AMPTWrapper.h:47
ihpr2
int ihpr2[50]
Definition:
AMPTWrapper.h:55
nsmmeson
int nsmmeson
Definition:
AMPTWrapper.h:106
hparnt_
struct @485 hparnt_
imomen
int imomen
Definition:
AMPTWrapper.h:140
isflag
int isflag
Definition:
AMPTWrapper.h:76
anim_
struct @487 anim_
maxmiss
int maxmiss
Definition:
AMPTWrapper.h:164
idxsec
int idxsec
Definition:
AMPTWrapper.h:115
icoll
int icoll
Definition:
AMPTWrapper.h:136
Generated for CMSSW Reference Manual by
1.8.5