Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
GeneratorInterface
CascadeInterface
plugins
CascadeWrapper.h
Go to the documentation of this file.
1
#ifndef CASCADE_WRAPPER_H
2
#define CASCADE_WRAPPER_H
3
4
//-- the pyhepc routine used by Pythia to fill the HEPEVT common block
5
//-- is using double precision and 4000 entries
6
7
#include <ctype.h>
8
#include <cstring>
9
10
//-- CASCADE Common Block Declarations
11
12
extern
"C"
{
13
extern
struct
{
14
int
ke
,kp,keb,kph,kgl,kpa,nflav;
15
}
caluco_
;
16
}
17
18
#define caluco caluco_
19
20
extern
"C"
{
21
extern
struct
{
22
int
lst
[30],
ires
[2];
23
}
capar6_
;
24
}
25
26
#define capar6 capar6_
27
28
extern
"C"
{
29
extern
struct
{
30
double
plepin
,
ppin
;
31
int
nfrag
,
ilepto
,
ifps
,
ihf
,
inter
,
isemih
,
ifinal
;
32
}
cainpu_
;
33
}
34
35
#define cainpu cainpu_
36
37
extern
"C"
{
38
extern
struct
{
39
int
ipst
;
40
}
cashower_
;
41
}
42
43
#define cashower cashower_
44
45
extern
"C"
{
46
extern
struct
{
47
int
ipsipol
,
ipsiel1
,
ipsiel2
;
48
//-- int i23s; //-- from version 2.2.03 on
49
}
jpsi_
;
50
}
51
52
#define jpsi jpsi_
53
54
extern
"C"
{
55
extern
struct
{
56
int
iorder
,
itimshr
,
iccfm
;
57
}
casshwr_
;
58
}
59
60
#define casshwr casshwr_
61
62
extern
"C"
{
63
extern
struct
{
64
int
ipro
,
iruna
,
iq2
,
irunaem
;
65
}
capar1_
;
66
}
67
68
#define capar1 capar1_
69
70
extern
"C"
{
71
extern
struct
{
72
int
ihfla
,
kpsi
,
kchi
;
73
}
cahflav_
;
74
}
75
76
#define cahflav cahflav_
77
78
extern
"C"
{
79
extern
struct
{
80
int
icolora
,
irespro
,
irpa
,
irpb
,
irpc
,
irpd
,
irpe
,
irpf
,
irpg
;
81
}
cascol_
;
82
}
83
84
#define cascol cascol_
85
86
extern
"C"
{
87
extern
struct
{
88
int
iglu
;
89
}
cagluon_
;
90
}
91
92
#define cagluon cagluon_
93
94
extern
"C"
{
95
extern
struct
{
96
int
irspl
;
97
}
casprre_
;
98
}
99
100
#define casprre casprre_
101
102
extern
"C"
{
103
extern
struct
{
104
double
pt2cut
[1000];
105
}
captcut_
;
106
}
107
108
#define captcut captcut_
109
110
extern
"C"
{
111
extern
struct
{
112
double
acc1
,
acc2
;
113
int
iint
,
ncb
;
114
}
integr_
;
115
}
116
117
#define integr integr_
118
119
extern
"C"
{
120
extern
struct
{
121
double
scalfa
,
scalfaf
;
122
}
scalf_
;
123
}
124
125
#define scalf scalf_
126
127
extern
"C"
{
128
extern
struct
{
129
char
pdfpath
[512];
130
}
caspdf_
;
131
}
132
133
#define caspdf caspdf_
134
135
extern
"C"
{
136
extern
struct
{
137
double
avgi
,
sd
;
138
int
nin
,
nout
;
139
}
caeffic_
;
140
}
141
142
#define caeffic caeffic_
143
144
//-- CASCADE routines declarations
145
146
extern
"C"
{
147
void
casini_
();
148
void
steer_
();
149
void
cascha_
();
150
void
cascade_
();
151
void
caend_
(
int
*
mode
);
152
void
event_
();
153
// void rluxgo_(int* mode1,int* mode2,int* mode3,int* mode4);
154
double
dcasrn_
(
int
* idummy);
155
156
}
157
158
inline
void
call_casini
() {
casini_
(); }
159
inline
void
call_steer
() {
steer_
(); }
160
inline
void
call_cascha
() {
cascha_
(); }
161
inline
void
call_cascade
() {
cascade_
(); }
162
inline
void
call_caend
(
int
mode
) {
caend_
(&mode); }
163
inline
void
call_event
() {
event_
(); }
164
// inline void call_rluxgo(int mode1, int mode2, int mode3, int mode4) { rluxgo_(&mode1, &mode2, &mode3, &mode4); }
165
// inline double call_dcasrn() { return(dcasrn_()); }
166
167
//-- PYTHIA Common Block Declarations
168
169
//-- PYTHIA routines declarations
170
171
extern
"C"
{
172
void
pytcha_
();
173
void
pyedit_
(
int
*
mode
);
174
}
175
176
inline
void
call_pytcha
() {
pytcha_
(); }
177
inline
void
call_pyedit
(
int
mode
){
pyedit_
(&mode); }
178
179
//inline void call_pyhepc(int mode) { pyhepc(&mode); }
180
//inline void call_pylist(int mode) { pylist(&mode); }
181
//inline void call_pystat(int mode) { pystat(&mode); }
182
//inline void call_pyevnt() { pyevnt(); }
183
184
#endif // CASCADE_WRAPPER_H
185
jpsi_
struct @335 jpsi_
integr_
struct @343 integr_
dcasrn_
double dcasrn_(int *idummy)
Definition:
Cascade2Hadronizer.cc:41
ncb
int ncb
Definition:
CascadeWrapper.h:113
casini_
void casini_()
ipsipol
int ipsipol
Definition:
CascadeWrapper.h:47
irunaem
int irunaem
Definition:
CascadeWrapper.h:64
ihf
int ihf
Definition:
CascadeWrapper.h:31
steer_
void steer_()
pytcha_
void pytcha_()
scalfa
double scalfa
Definition:
CascadeWrapper.h:121
ihfla
int ihfla
Definition:
CascadeWrapper.h:72
ires
int ires[2]
Definition:
CascadeWrapper.h:22
casshwr_
struct @336 casshwr_
cascol_
struct @339 cascol_
ipsiel2
int ipsiel2
Definition:
CascadeWrapper.h:47
call_casini
void call_casini()
Definition:
CascadeWrapper.h:158
iint
int iint
Definition:
CascadeWrapper.h:113
icolora
int icolora
Definition:
CascadeWrapper.h:80
ppin
double ppin
Definition:
CascadeWrapper.h:30
alignBH_cfg.mode
list mode
Definition:
alignBH_cfg.py:7
avgi
double avgi
Definition:
CascadeWrapper.h:137
lst
int lst[30]
Definition:
CascadeWrapper.h:22
ipsiel1
int ipsiel1
Definition:
CascadeWrapper.h:47
nfrag
int nfrag
Definition:
CascadeWrapper.h:31
caend_
void caend_(int *mode)
captcut_
struct @342 captcut_
caspdf_
struct @345 caspdf_
nin
int nin
Definition:
CascadeWrapper.h:138
acc2
double acc2
Definition:
CascadeWrapper.h:112
pt2cut
double pt2cut[1000]
Definition:
CascadeWrapper.h:104
iruna
int iruna
Definition:
CascadeWrapper.h:64
casprre_
struct @341 casprre_
ifps
int ifps
Definition:
CascadeWrapper.h:31
ifinal
int ifinal
Definition:
CascadeWrapper.h:31
ipst
int ipst
Definition:
CascadeWrapper.h:39
itimshr
int itimshr
Definition:
CascadeWrapper.h:56
kpsi
int kpsi
Definition:
CascadeWrapper.h:72
irpf
int irpf
Definition:
CascadeWrapper.h:80
call_cascade
void call_cascade()
Definition:
CascadeWrapper.h:161
cashower_
struct @334 cashower_
call_caend
void call_caend(int mode)
Definition:
CascadeWrapper.h:162
irspl
int irspl
Definition:
CascadeWrapper.h:96
cahflav_
struct @338 cahflav_
call_steer
void call_steer()
Definition:
CascadeWrapper.h:159
irpa
int irpa
Definition:
CascadeWrapper.h:80
irespro
int irespro
Definition:
CascadeWrapper.h:80
caeffic_
struct @346 caeffic_
ilepto
int ilepto
Definition:
CascadeWrapper.h:31
irpc
int irpc
Definition:
CascadeWrapper.h:80
cainpu_
struct @333 cainpu_
call_pyedit
void call_pyedit(int mode)
Definition:
CascadeWrapper.h:177
cascha_
void cascha_()
iq2
int iq2
Definition:
CascadeWrapper.h:64
call_pytcha
void call_pytcha()
Definition:
CascadeWrapper.h:176
capar1_
struct @337 capar1_
pdfpath
char pdfpath[512]
Definition:
CascadeWrapper.h:129
ipro
int ipro
Definition:
CascadeWrapper.h:64
kchi
int kchi
Definition:
CascadeWrapper.h:72
scalf_
struct @344 scalf_
acc1
double acc1
Definition:
CascadeWrapper.h:112
caluco_
struct @331 caluco_
cascade_
void cascade_()
irpe
int irpe
Definition:
CascadeWrapper.h:80
sd
double sd
Definition:
CascadeWrapper.h:137
inter
int inter
Definition:
CascadeWrapper.h:31
call_event
void call_event()
Definition:
CascadeWrapper.h:163
iorder
int iorder
Definition:
CascadeWrapper.h:56
irpg
int irpg
Definition:
CascadeWrapper.h:80
call_cascha
void call_cascha()
Definition:
CascadeWrapper.h:160
plepin
double plepin
Definition:
CascadeWrapper.h:30
nout
int nout
Definition:
CascadeWrapper.h:138
cagluon_
struct @340 cagluon_
irpd
int irpd
Definition:
CascadeWrapper.h:80
event_
void event_()
iglu
int iglu
Definition:
CascadeWrapper.h:88
capar6_
struct @332 capar6_
isemih
int isemih
Definition:
CascadeWrapper.h:31
pyedit_
void pyedit_(int *mode)
ke
Definition:
MuonMVAEstimator.cc:24
iccfm
int iccfm
Definition:
CascadeWrapper.h:56
scalfaf
double scalfaf
Definition:
CascadeWrapper.h:121
irpb
int irpb
Definition:
CascadeWrapper.h:80
Generated for CMSSW Reference Manual by
1.8.5