00001 // -*- C++ -*- 00002 00003 #include "AGILe/FPythia/FPythiaWrapper.hh" 00004 #include <cstring> 00005 00006 void call_pyhepc(int mode) { 00007 FC_PYHEPC(&mode); 00008 } 00009 00010 void call_pytune(int ntune) { 00011 FC_PYTUNE(&ntune); 00012 } 00013 00014 void call_pyinit(const char* frame, const char* beam, const char* target, double win) { 00015 FC_PYINIT(frame, beam, target, &win, strlen(frame), strlen(beam), strlen(target) ); 00016 } 00017 00018 void call_pygive(const char* chin) { 00019 FC_PYGIVE(chin, strlen(chin)); 00020 } 00021 00022 void call_pylist(int mode) { 00023 FC_PYLIST(&mode); 00024 } 00025 00026 void call_pystat(int mode) { 00027 FC_PYSTAT(&mode); 00028 } 00029 00030 void call_pyevnt() { 00031 FC_PYEVNT(); 00032 } 00033 00034 void call_lhefopen(const char* chin) { 00035 FC_LHEFOPEN(chin, strlen(chin)); 00036 }