00001 #ifndef AGILE_CASCADE_WRAPPER_HH 00002 #define AGILE_CASCADE_WRAPPER_HH 00003 00004 #include <ctype.h> 00005 #include "AGILe/FortranWrappers.hh" 00006 00007 00008 00009 extern "C" { 00010 #define FC_CASINI FC_FUNC(casini, CASINI) 00011 void FC_CASINI(); 00012 #define FC_Steer FC_FUNC(steer, Steer) 00013 void FC_Steer(); 00014 #define FC_CASCADE FC_FUNC(cascade, CASCADE) 00015 void FC_CASCADE(); 00016 #define FC_CASCHA FC_FUNC(cascha, CASCHA) 00017 void FC_CASCHA(); 00018 #define FC_PYTCHA FC_FUNC(pytcha, PYTCHA) 00019 void FC_PYTCHA(); 00020 #define FC_ARICHA FC_FUNC(aricha, ARICHA) 00021 void FC_ARICHA(); 00022 #define FC_ARINIT FC_FUNC(arinit, ARINIT) 00023 void FC_ARINIT(const char *); 00024 #define FC_CAEND FC_FUNC(caend, CAEND) 00025 void FC_CAEND(int *); 00026 #define FC_EVENT FC_FUNC(event, EVENT) 00027 void FC_EVENT(); 00028 #define FC_CAUPEVNT FC_FUNC(caupevnt, CAUPEVNT) 00029 void FC_CAUPEVNT(); 00030 #define FC_PTIME FC_FUNC(ptime, PTIME) 00031 void FC_PTIME(const char *, int* , int* ); 00032 // Pythia routines 00033 #define FC_PYHEPC FC_FUNC(pyhepc, PYHEPC) 00034 void FC_PYHEPC(int*); 00035 //#define FC_RM48IN FC_FUNC(rm48in, RM48IN) 00036 //void FC_RM48IN(int ISEED, int N1, int N2); 00037 00038 #define FC_PYINIT FC_FUNC(pyinit, PYINIT) 00039 void FC_PYINIT(const char*,const char*,const char*,double*,int,int,int); 00040 #define FC_PYGIVE FC_FUNC(pygive, PYGIVE) 00041 void FC_PYGIVE(const char*,int); 00042 #define FC_INITPYDATA FC_FUNC(initpydata, INITPYDATA) 00043 void FC_INITPYDATA(); 00044 00045 } 00046 void call_pyinit(const char* frame, const char* beam, const char* target, double win); 00047 void call_pygive(const char* frame ); 00048 00049 void call_ptime(const char * name, int j, int k); 00050 void call_steer(); 00051 void call_casini(); 00052 void call_cascade(); 00053 void call_cascha(); 00054 void call_pytcha(); 00055 void call_aricha(); 00056 void call_arinit(const char * name); 00057 00058 // A pythia routine 00059 void call_pyhepc(int mode); 00060 00061 void call_caend(int i); 00062 void call_event(); 00063 void call_caupevnt(); 00064 // This is for setting the random seed 00065 //void call_rm48in(int ISEED, int N1, int N2); 00066 #endif