StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Pythia6.cxx
1 #include "Pythia6.h"
2 
3 //
4 // Declare several f77 functions/subroutines
5 //
6 #define pytune F77_NAME(pytune,PYTUNE) /* selects pythia tune */
7 #define pyinit F77_NAME(pyinit,PYINIT) /* pythia initialization */
8 #define pylist F77_NAME(pylist,PYLIST) /* pythia event recrd listing */
9 #define pyevnt F77_NAME(pyevnt,PYEVNT) /* generate a pythia event */
10 #define pyhepc F77_NAME(pyhepc,PYHEPC) /* copy to HEPEVT common... needed? */
11 #define pystat F77_NAME(pystat,PYSTAT) /* print end of run statistices */
12 #define pyr F77_NAME(pyr, PYR ) /* pythia random numbers */
13 
14 extern "C" void type_of_call pyevnt();
15 extern "C" void type_of_call pystat(int *key);
16 extern "C" void type_of_call pylist(int *key);
17 extern "C" int type_of_call pytune(int *itune);
18 extern "C" void type_of_call pyhepc(int *mconv);
19 extern "C" void type_of_call pyinit( const char *frame, const char *beam, const char *targ, double *ener, int nframe, int nbeam, int ntarg );
20 
21 void PyEvnt(){ pyevnt(); }
22 void PyStat( int s ){ pystat( &s ); }
23 void PyList( int l ){ pylist( &l ); }
24 void PyTune( int t ){ pytune( &t ); }
25 void PyHepc( int m ){ pyhepc( &m ); }
26 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() ); }
Definition: beam.h:43