src
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,
13
const
char
*
frame
,
14
const
char
*
proj
,
15
const
char
*
targ
,
16
int
&
iap
,
17
int
&
izp
,
18
int
&
iat
,
19
int
&
izt
,
20
int
,
21
int
,
22
int
);
23
}
24
#define AMPTSET amptset_
25
26
extern
"C"
{
27
void
ampt_
(
const
char
*
frame
,
double
& bmin0,
double
& bmax0,
int
);
28
}
29
#define AMPT ampt_
30
31
extern
"C"
{
32
int
invflv_
(
int
&);
33
}
34
#define INVFLV invflv_
35
36
//gsfs changed entries to agree with calling sequence in AMPT
37
extern
"C"
{
38
extern
struct
{
39
float
eatt
;
40
int
jatt
;
41
int
natt
;
42
int
nt
;
43
int
np
;
44
int
n0
;
45
int
n01
;
46
int
n10
;
47
int
n11
;
48
}
hmain1_
;
49
}
50
#define hmain1 hmain1_
51
52
extern
"C"
{
53
extern
struct
{
54
int
lblast
[
_MAXNUMPARTICLE_
];
55
float
xlast
[
_MAXNUMPARTICLE_
][4];
56
float
plast
[
_MAXNUMPARTICLE_
][4];
57
int
nlast
;
58
}
hbt_
;
59
}
60
#define hbt hbt_
61
62
extern
"C"
{
63
extern
struct
{
64
float
hipr1
[100];
65
int
ihpr2
[50];
66
float
hint1
[100];
67
int
ihnt2
[50];
68
}
hparnt_
;
69
}
70
#define hparnt hparnt_
71
72
extern
"C"
{
73
extern
struct
{
74
int
mstu
[200];
75
float
paru
[200];
76
int
mstj
[200];
77
float
parj
[200];
78
}
ludat1_
;
79
}
80
#define ludat1 ludat1_
81
82
extern
"C"
{
83
extern
struct
{
84
int
nevent
;
85
int
isoft
;
86
int
isflag
;
87
int
izpc
;
88
}
anim_
;
89
}
90
#define anim anim_
91
92
extern
"C"
{
93
extern
struct
{
94
float
dpcoal
;
95
float
drcoal
;
96
float
ecritl
;
97
}
coal_
;
98
}
99
#define coal coal_
100
101
extern
"C"
{
102
extern
struct
{
103
float
xmp
;
104
float
xmu
;
105
float
alpha
;
106
float
rscut2
;
107
float
cutof2
;
108
}
para2_
;
109
}
110
#define para2 para2_
111
112
extern
"C"
{
113
extern
struct
{
114
int
ioscar
;
115
int
nsmbbbar
;
116
int
nsmmeson
;
117
}
para7_
;
118
}
119
#define para7 para7_
120
121
extern
"C"
{
122
extern
struct
{
123
int
idpert
;
124
int
npertd
;
125
int
idxsec
;
126
}
para8_
;
127
}
128
#define para8 para8_
129
130
extern
"C"
{
131
extern
struct
{
132
float
masspr
;
133
float
massta
;
134
int
iseed
;
135
int
iavoid
;
136
float
dt
;
137
}
input1_
;
138
}
139
#define input1 input1_
140
141
extern
"C"
{
142
extern
struct
{
143
int
ilab
;
144
int
manyb
;
145
int
ntmax
;
146
int
icoll
;
147
int
insys
;
148
int
ipot
;
149
int
mode
;
150
int
imomen
;
151
int
nfreq
;
152
int
icflow
;
153
int
icrho
;
154
int
icou
;
155
int
kpoten
;
156
int
kmul
;
157
}
input2_
;
158
}
159
#define input2 input2_
160
161
extern
"C"
{
162
extern
struct
{
163
int
nsav
;
164
int
iksdcy
;
165
}
resdcy_
;
166
}
167
#define resdcy resdcy_
168
169
extern
"C"
{
170
extern
struct
{
171
int
iphidcy
;
172
float
pttrig
;
173
int
ntrig
;
174
int
maxmiss
;
175
}
phidcy_
;
176
}
177
#define phidcy phidcy_
178
179
extern
"C"
{
180
extern
struct
{
181
int
iembed
;
182
float
pxqembd
;
183
float
pyqembd
;
184
float
xembd
;
185
float
yembd
;
186
}
embed_
;
187
}
188
#define embed embed_
189
190
extern
"C"
{
191
extern
struct
{
192
int
ipop
;
193
}
popcorn_
;
194
}
195
#define popcorn popcorn_
196
197
#endif
ecritl
float ecritl
Definition:
AMPTWrapper.h:96
ipot
int ipot
Definition:
AMPTWrapper.h:148
pyqembd
float pyqembd
Definition:
AMPTWrapper.h:183
hparnt_
struct @707 hparnt_
dt
float dt
Definition:
AMPTWrapper.h:136
nsmbbbar
int nsmbbbar
Definition:
AMPTWrapper.h:115
alpha
float alpha
Definition:
AMPTWrapper.h:105
idpert
int idpert
Definition:
AMPTWrapper.h:123
xmu
float xmu
Definition:
AMPTWrapper.h:104
hbt_
struct @706 hbt_
izpc
int izpc
Definition:
AMPTWrapper.h:87
para7_
struct @712 para7_
massta
float massta
Definition:
AMPTWrapper.h:133
hipr1
float hipr1[100]
Definition:
AMPTWrapper.h:64
frame
Definition:
G4muDarkBremsstrahlungModel.h:27
xembd
float xembd
Definition:
AMPTWrapper.h:184
ihnt2
int ihnt2[50]
Definition:
AMPTWrapper.h:67
eatt
float eatt
Definition:
AMPTWrapper.h:39
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:85
mstu
int mstu[200]
Definition:
AMPTWrapper.h:74
xlast
float xlast[150001][4]
Definition:
AMPTWrapper.h:55
yembd
float yembd
Definition:
AMPTWrapper.h:185
rscut2
float rscut2
Definition:
AMPTWrapper.h:106
iksdcy
int iksdcy
Definition:
AMPTWrapper.h:164
invflv_
int invflv_(int &)
ilab
int ilab
Definition:
AMPTWrapper.h:143
n01
int n01
Definition:
AMPTWrapper.h:45
icrho
int icrho
Definition:
AMPTWrapper.h:153
manyb
int manyb
Definition:
AMPTWrapper.h:144
embed_
struct @718 embed_
mstj
int mstj[200]
Definition:
AMPTWrapper.h:76
_MAXNUMPARTICLE_
#define _MAXNUMPARTICLE_
Definition:
AMPTWrapper.h:9
hmain1_
struct @705 hmain1_
icflow
int icflow
Definition:
AMPTWrapper.h:152
xmp
float xmp
Definition:
AMPTWrapper.h:103
input1_
struct @714 input1_
resdcy_
struct @716 resdcy_
natt
int natt
Definition:
AMPTWrapper.h:41
jatt
int jatt
Definition:
AMPTWrapper.h:40
iembed
int iembed
Definition:
AMPTWrapper.h:181
nevent
int nevent
Definition:
AMPTWrapper.h:84
amptDefault_cfi.izt
izt
Definition:
amptDefault_cfi.py:18
iphidcy
int iphidcy
Definition:
AMPTWrapper.h:171
amptDefault_cfi.iap
iap
Definition:
amptDefault_cfi.py:15
amptDefault_cfi.izp
izp
Definition:
amptDefault_cfi.py:16
phidcy_
struct @717 phidcy_
np
int np
Definition:
AMPTWrapper.h:43
n0
int n0
Definition:
AMPTWrapper.h:44
ioscar
int ioscar
Definition:
AMPTWrapper.h:114
ipop
int ipop
Definition:
AMPTWrapper.h:192
insys
int insys
Definition:
AMPTWrapper.h:147
kmul
int kmul
Definition:
AMPTWrapper.h:156
ntrig
int ntrig
Definition:
AMPTWrapper.h:173
ludat1_
struct @708 ludat1_
coal_
struct @710 coal_
cutof2
float cutof2
Definition:
AMPTWrapper.h:107
icou
int icou
Definition:
AMPTWrapper.h:154
ampt_
void ampt_(const char *frame, double &bmin0, double &bmax0, int)
anim_
struct @709 anim_
ntmax
int ntmax
Definition:
AMPTWrapper.h:145
masspr
float masspr
Definition:
AMPTWrapper.h:132
nfreq
int nfreq
Definition:
AMPTWrapper.h:151
hint1
float hint1[100]
Definition:
AMPTWrapper.h:66
nsav
int nsav
Definition:
AMPTWrapper.h:163
nt
int nt
Definition:
AMPTWrapper.h:42
drcoal
float drcoal
Definition:
AMPTWrapper.h:95
dpcoal
float dpcoal
Definition:
AMPTWrapper.h:94
parj
float parj[200]
Definition:
AMPTWrapper.h:77
pxqembd
float pxqembd
Definition:
AMPTWrapper.h:182
pttrig
float pttrig
Definition:
AMPTWrapper.h:172
paru
float paru[200]
Definition:
AMPTWrapper.h:75
popcorn_
struct @719 popcorn_
iseed
int iseed
Definition:
AMPTWrapper.h:134
n11
int n11
Definition:
AMPTWrapper.h:47
input2_
struct @715 input2_
kpoten
int kpoten
Definition:
AMPTWrapper.h:155
mode
int mode
Definition:
AMPTWrapper.h:149
n10
int n10
Definition:
AMPTWrapper.h:46
iavoid
int iavoid
Definition:
AMPTWrapper.h:135
amptDefault_cfi.targ
targ
Definition:
amptDefault_cfi.py:14
lblast
int lblast[150001]
Definition:
AMPTWrapper.h:54
plast
float plast[150001][4]
Definition:
AMPTWrapper.h:56
npertd
int npertd
Definition:
AMPTWrapper.h:124
nlast
int nlast
Definition:
AMPTWrapper.h:57
para2_
struct @711 para2_
ihpr2
int ihpr2[50]
Definition:
AMPTWrapper.h:65
amptDefault_cfi.iat
iat
Definition:
amptDefault_cfi.py:17
nsmmeson
int nsmmeson
Definition:
AMPTWrapper.h:116
imomen
int imomen
Definition:
AMPTWrapper.h:150
isflag
int isflag
Definition:
AMPTWrapper.h:86
maxmiss
int maxmiss
Definition:
AMPTWrapper.h:174
para8_
struct @713 para8_
amptDefault_cfi.proj
proj
Definition:
amptDefault_cfi.py:13
idxsec
int idxsec
Definition:
AMPTWrapper.h:125
icoll
int icoll
Definition:
AMPTWrapper.h:146
Generated for CMSSW Reference Manual by
1.8.14