CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 namespace gen
8 {
9 
10 extern "C"
11 {
12  void py1ent_(int& ip, int& kf, double& pe, double& the, double& phi);
13  double pymass_(int& );
14  void pyexec_();
15  int pycomp_(int& );
16  void pyglfr_();
17  void pyglrhad_();
18  void pystlfr_();
19  void pystrhad_();
20  void pygive_(const char*, int );
21  void pydecy_( int& ip ) ;
22  void pyrobo_( int&, int&, double&, double&, double&, double&, double& );
23  void pyjoin_(int& njoin, int ijoin[]);
24  void pyshow_(int &i1, int&i2, double& );
25 
26  void txgive_(const char*, int );
27  void txgive_init_(void);
28 
29  inline bool call_pygive(const std::string &line)
30  {
31  int numWarn = pydat1.mstu[26]; // # warnings
32  int numErr = pydat1.mstu[22]; // # errors
33 
34  pygive_(line.c_str(), line.length());
35 
36  return pydat1.mstu[26] == numWarn &&
37  pydat1.mstu[22] == numErr;
38  }
39 
40 }
41 
42 }
43 
44 #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_()
Definition: DDAxes.h:10