4 #include "StarCallf77.h"
13 void PyStat( Int_t stat );
15 void PyList( Int_t list );
17 void PyTune( Int_t tune );
19 void PyHepc( Int_t mode );
21 void PyInit(
string frame,
string blue,
string yellow, Double_t energy );
23 void PyGive(
string command );
25 void Py1Ent(
int ip,
int kf,
double energy,
double theta,
double phi );
28 void PyCloseDecays(
int id );
29 void PyOpenDecay(
int id,
int idcy,
int value );
36 #define address_of_pyjets F77_NAME( address_of_pyjets, ADDRESS_OF_PYJETS )
45 Int_t &k( Int_t i, Int_t j ){
return _k[j-1][i-1]; }
46 Double_t &p( Int_t i, Int_t j ){
return _p[j-1][i-1]; }
47 Double_t &v( Int_t i, Int_t j ){
return _v[j-1][i-1]; }
49 extern "C" PyJets_t *address_of_pyjets();
55 #define address_of_pysubs F77_NAME( address_of_pysubs, ADDRESS_OF_PYSUBS )
62 Int_t &msub( Int_t i ){
return _msub[i-1]; }
63 Int_t &kfin( Int_t i, Int_t j ){
return _kfin[j-40][i-1]; }
64 Double_t &ckin( Int_t i ){
return _ckin[i-1]; }
66 extern "C" PySubs_t *address_of_pysubs();
72 #define address_of_pydat1 F77_NAME( address_of_pydat1, ADDRESS_OF_PYDAT1 )
78 Int_t &mstu(Int_t i){
return _mstu[i-1];}
79 Double_t &paru(Int_t i){
return _paru[i-1];}
80 Int_t &mstj(Int_t i){
return _mstj[i-1];}
81 Double_t &parj(Int_t i){
return _parj[i-1];}
83 extern "C" PyDat1_t *address_of_pydat1();
89 #define address_of_pydat3 F77_NAME( address_of_pydat3, ADDRESS_OF_PYDAT3 )
95 Int_t &mdcy(Int_t i, Int_t j){
return _mdcy[j-1][i-1]; }
96 Int_t &mdme(Int_t i, Int_t j){
return _mdme[j-1][i-1]; }
97 Double_t &brat(Int_t i){
return _brat[i-1]; }
98 Int_t &kfdp(Int_t i){
return _kfdp[i-1]; }
100 extern "C" PyDat3_t *address_of_pydat3();
106 #define address_of_pypars F77_NAME( address_of_pypars, ADDRESS_OF_PYPARS )
112 Int_t &mstp( Int_t i ){
return _mstp[i-1]; }
113 Double_t &parp( Int_t i ){
return _parp[i-1]; }
114 Int_t &msti( Int_t i ){
return _msti[i-1]; }
115 Double_t &pari( Int_t i ){
return _pari[i-1]; }
117 extern "C" PyPars_t *address_of_pypars();
123 #define address_of_pyint5 F77_NAME( address_of_pyint5, ADDRESS_OF_PYINT5 )
126 Double_t _xsec[3][501];
127 Int_t &ngen( Int_t isub, Int_t i){
return _ngen[i-1][isub]; }
128 Double_t &xsec( Int_t isub, Int_t i){
return _xsec[i-1][isub]; }
130 extern "C" PyInt5_t *address_of_pyint5();
136 #define address_of_pyint2 F77_NAME( address_of_pyint2, ADDRESS_OF_PYINT2 )
140 double _coef[20][500];
142 int& iset(
int index ){
return _iset[index-1]; }
143 int& kfpr(
int isub,
int i ){
return _kfpr[i-1][isub-1]; }
144 double& coef(
int isub,
int i){
return _coef[i-1][isub-1]; }
145 int& icol(
int i,
int j,
int k){
return _icol[k-1][j-1][i-1]; }
147 extern "C" PyInt2_t *address_of_pyint2();