2 #ifdef _WIN32 // This version is for Windows MS Visual C++ only.
3 #ifndef PYTHIA_WRAPPER_6_H
4 #define PYTHIA_WRAPPER_6_H
32 void INITPYDATA(
void);
34 #define initpydata INITPYDATA
40 const int pyjets_maxn =4000;
42 int n, npad, k[5][pyjets_maxn];
43 double p[5][pyjets_maxn], v[5][pyjets_maxn];
55 double pmas[4][500], parf[2000], vckm[4][4];
59 int mdcy[3][500], mdme[2][8000];
70 int msel, mselpd, msub[500], kfin[81][2];
87 int iset[500], kfpr[2][500];
93 int ngenpd, ngen[3][501];
98 extern "C" PYSUBS_DEF PYSUBS;
99 extern "C" PYJETS_DEF PYJETS;
100 extern "C" PYDAT1_DEF PYDAT1;
101 extern "C" PYDAT2_DEF PYDAT2;
102 extern "C" PYPARS_DEF PYPARS;
103 extern "C" PYDATR_DEF PYDATR;
104 extern "C" PYDAT3_DEF PYDAT3;
105 extern "C" PYINT1_DEF PYINT1;
106 extern "C" PYINT2_DEF PYINT2;
107 extern "C" PYINT5_DEF PYINT5;
110 #define pysubs PYSUBS
111 #define pyjets PYJETS
112 #define pydat1 PYDAT1
113 #define pydat2 PYDAT2
114 #define pypars PYPARS
115 #define pydatr PYDATR
116 #define pydat3 PYDAT3
117 #define pyint1 PYINT1
118 #define pyint2 PYINT2
119 #define pyint5 PYINT5
128 void __stdcall PYHEPC(
int*);
129 void __stdcall PYINIT(
const char*,
int,
const char*,
int,
const char*,
int,
double*);
130 void __stdcall PYLIST(
int*);
131 void __stdcall PYSTAT(
int*);
132 void __stdcall PYEVNT();
133 void __stdcall UPINIT();
134 void __stdcall UPEVNT();
146 void __stdcall PYDATA(
void);
149 inline void call_pyhepc(
int mode ){ PYHEPC( &mode ); }
150 inline void call_pyinit(
const char* frame,
const char*
beam,
const char* target,
152 { PYINIT( frame,strlen(frame),beam,strlen(beam),target,strlen(target),&win); }
153 inline void call_pylist(
int mode ){ PYLIST( &mode ); }
154 inline void call_pystat(
int mode ){ PYSTAT( &mode ); }
155 inline void call_pyevnt(){ PYEVNT(); }
156 inline void call_upinit(){ UPINIT(); }
157 inline void call_upevnt(){ UPEVNT(); }
162 #endif // PYTHIA_WRAPPER_6_H