CMS 3D CMS Logo

Pythia6Declarations.h
Go to the documentation of this file.
1 #ifndef gen_Pythia6Declarations_h
2 #define gen_Pythia6Declarations_h
3 
4 
5 #include "HepMC/PythiaWrapper6_4.h"
6 
7 #include <string>
8 
9 namespace gen
10 {
11 
12 extern "C"
13 {
14  void py1ent_(int& ip, int& kf, double& pe, double& the, double& phi);
15  double pymass_(int& );
16  void pyexec_();
17  int pycomp_(int& );
18  void pyglfr_();
19  void pyglrhad_();
20  void pystlfr_();
21  void pystrhad_();
22  void pygive_(const char*, int );
23  void pydecy_( int& ip ) ;
24  void pyrobo_( int&, int&, double&, double&, double&, double&, double& );
25  void pyjoin_(int& njoin, int ijoin[]);
26  void pyshow_(int &i1, int&i2, double& );
27 
28  void txgive_(const char*, int );
29  void txgive_init_(void);
30 
31  inline bool call_pygive(const std::string &line)
32  {
33  int numWarn = pydat1.mstu[26]; // # warnings
34  int numErr = pydat1.mstu[22]; // # errors
35 
36  pygive_(line.c_str(), line.length());
37 
38  return pydat1.mstu[26] == numWarn &&
39  pydat1.mstu[22] == numErr;
40  }
41 
42 }
43 
44 }
45 
46 #endif
#define pydat1
bool call_pygive(const std::string &line)
void pyjoin_(int &njoin, int ijoin[])
void pyglrhad_()
void pygive_(const char *, int)
double pymass_(int &)
void pydecy_(int &ip)
void txgive_init_(void)
int pycomp_(int &)
void py1ent_(int &ip, int &kf, double &pe, double &the, double &phi)
void pyglfr_()
void pyshow_(int &i1, int &i2, double &)
void txgive_(const char *, int)
void pystlfr_()
void pyrobo_(int &, int &, double &, double &, double &, double &, double &)
void pyexec_()
void pystrhad_()