6 #define pytune F77_NAME(pytune,PYTUNE)
7 #define pyinit F77_NAME(pyinit,PYINIT)
8 #define pygive F77_NAME(pygive,PYGIVE)
9 #define pylist F77_NAME(pylist,PYLIST)
10 #define pyevnt F77_NAME(pyevnt,PYEVNT)
11 #define pyhepc F77_NAME(pyhepc,PYHEPC)
12 #define pystat F77_NAME(pystat,PYSTAT)
13 #define pyr F77_NAME(pyr, PYR )
14 #define py1ent F77_NAME(py1ent,PY1ENT)
15 #define pycomp F77_NAME(pycomp,PYCOMP)
16 #define closedecays F77_NAME(closedecays,CLOSEDECAYS)
17 #define opendecay F77_NAME(opendecay,OPENDECAY)
19 extern "C" void type_of_call pyevnt();
20 extern "C" void type_of_call pystat(
int *key);
21 extern "C" void type_of_call pylist(
int *key);
22 extern "C" int type_of_call pytune(
int *itune);
23 extern "C" void type_of_call pyhepc(
int *mconv);
24 extern "C" void type_of_call pyinit(
const char *frame,
const char *
beam,
const char *targ,
double *ener,
int nframe,
int nbeam,
int ntarg );
25 extern "C" void type_of_call pygive(
const char *command,
int n );
26 extern "C" void type_of_call py1ent(
int *i,
int *j,
double *e,
double *t,
double *p );
27 extern "C" int type_of_call pycomp(
int *kf);
29 extern "C" void type_of_call closedecays(
int&
id );
30 extern "C" void type_of_call opendecay(
int&
id,
int& idcy,
int& value );
32 void PyEvnt(){ pyevnt(); }
33 void PyStat(
int s ){ pystat( &s ); }
34 void PyList(
int l ){ pylist( &l ); }
35 void PyTune(
int t ){ pytune( &t ); }
36 void PyHepc(
int m ){ pyhepc( &m ); }
37 void PyInit(
string frame,
string blue,
string yellow,
double energy ){ pyinit( frame.c_str(), blue.c_str(), yellow.c_str(), &energy, frame.size(), blue.size(), yellow.size() ); }
38 void PyGive(
string command ){ pygive( command.c_str(), command.size() ); }
39 void Py1Ent(
int ip,
int kf,
double energy,
double theta,
double phi ) { py1ent( &ip, &kf, &energy, &theta, &phi ); }
40 int PyComp(
int kf ){
return pycomp(&kf); }
41 void PyCloseDecays(
int id ) { closedecays(
id); }
42 void PyOpenDecay(
int id,
int idcy,
int val ){ opendecay(
id,idcy,val); }