CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 {
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;
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 {
48  //-- int i23s; //-- from version 2.2.03 on
49  } jpsi_;
50 }
51 
52 #define jpsi jpsi_
53 
54 extern "C" {
55  extern struct {
57  } casshwr_;
58 }
59 
60 #define casshwr casshwr_
61 
62 extern "C" {
63  extern struct {
65  } capar1_;
66 }
67 
68 #define capar1 capar1_
69 
70 extern "C" {
71  extern struct {
73  } cahflav_;
74 }
75 
76 #define cahflav cahflav_
77 
78 extern "C" {
79  extern struct {
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 
struct @488 captcut_
double dcasrn_(int *idummy)
int ncb
void casini_()
int ipsipol
int irunaem
int ihf
void steer_()
int kp
struct @480 cashower_
void pytcha_()
double scalfa
int ihfla
struct @481 jpsi_
int ires[2]
int ipsiel2
int kgl
void call_casini()
struct @492 caeffic_
int iint
int icolora
double ppin
double avgi
int lst[30]
int ipsiel1
int nfrag
void caend_(int *mode)
int nin
double acc2
double pt2cut[1000]
int iruna
int ifps
int kph
int ifinal
int ipst
int itimshr
struct @487 casprre_
int kpsi
int irpf
void call_cascade()
void call_caend(int mode)
int irspl
void call_steer()
struct @486 cagluon_
int irpa
int irespro
int ilepto
int irpc
void call_pyedit(int mode)
void cascha_()
int iq2
void call_pytcha()
struct @490 scalf_
struct @489 integr_
char pdfpath[512]
int ipro
int kchi
double acc1
int kpa
struct @477 caluco_
void cascade_()
struct @478 capar6_
struct @484 cahflav_
int irpe
double sd
int inter
void call_event()
int iorder
int irpg
struct @485 cascol_
void call_cascha()
double plepin
int nflav
int nout
int irpd
void event_()
int iglu
int isemih
int keb
struct @491 caspdf_
void pyedit_(int *mode)
int iccfm
double scalfaf
int irpb
struct @479 cainpu_
struct @482 casshwr_
struct @483 capar1_