CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions | Variables
HijingPythiaWrapper.h File Reference
#include "HepMC/PythiaWrapper6_2.h"
#include "CLHEP/Random/RandomEngine.h"

Go to the source code of this file.

Macros

#define LUGIVE   pygive_
 
#define PYCOMP   pycomp_
 

Functions

static bool call_pygive (const std::string &line)
 
void LUGIVE (const char *, int length)
 
void py1ent_ (int &ip, int &kf, double &pe, double &the, double &phi)
 
int PYCOMP (int &length)
 
int pycomp_ (int &)
 
void pydecy_ (int &ip)
 
void pyexec_ ()
 
void pygive_ (const char *, int)
 
void pyglfr_ ()
 
void pyglrhad_ ()
 
double pymass_ (int &)
 
double pyr_ (int *idummy)
 
void pyrobo_ (int &, int &, double &, double &, double &, double &, double &)
 
void pystlfr_ ()
 
void pystrhad_ ()
 
void txgive_ (const char *, int)
 
void txgive_init_ (void)
 

Variables

CLHEP::HepRandomEngine * randomEngine
 

Macro Definition Documentation

#define LUGIVE   pygive_

Definition at line 40 of file HijingPythiaWrapper.h.

#define PYCOMP   pycomp_

Definition at line 35 of file HijingPythiaWrapper.h.

Function Documentation

static bool call_pygive ( const std::string &  line)
static

Definition at line 23 of file HijingPythiaWrapper.h.

References pydat1, and pygive_().

24  {
25  int numWarn = pydat1.mstu[26]; // # warnings
26  int numErr = pydat1.mstu[22]; // # errors
27 
28  pygive_(line.c_str(), line.length());
29 
30  return pydat1.mstu[26] == numWarn &&
31  pydat1.mstu[22] == numErr;
32  }
#define pydat1
void pygive_(const char *, int)
void LUGIVE ( const char *  ,
int  length 
)
void py1ent_ ( int &  ip,
int &  kf,
double &  pe,
double &  the,
double &  phi 
)
int PYCOMP ( int &  length)
int pycomp_ ( int &  )
void pydecy_ ( int &  ip)
void pyexec_ ( )
void pygive_ ( const char *  ,
int   
)

Referenced by call_pygive().

void pyglfr_ ( )
void pyglrhad_ ( )
double pymass_ ( int &  )
double pyr_ ( int *  idummy)
void pyrobo_ ( int &  ,
int &  ,
double &  ,
double &  ,
double &  ,
double &  ,
double &   
)
void pystlfr_ ( )
void pystrhad_ ( )
void txgive_ ( const char *  ,
int   
)
void txgive_init_ ( void  )

Variable Documentation

CLHEP::HepRandomEngine* randomEngine

Definition at line 51 of file HijingPythiaWrapper.h.