CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Macros | Functions
HijingPythiaWrapper.h File Reference
#include "GeneratorInterface/Pythia6Interface/interface/Pythia6Service.h"
#include "HepMC/PythiaWrapper6_4.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 &)
 
void pyrobo_ (int &, int &, double &, double &, double &, double &, double &)
 
void pystlfr_ ()
 
void pystrhad_ ()
 
float ranff_ (unsigned int *iseed)
 
void txgive_ (const char *, int)
 
void txgive_init_ (void)
 

Macro Definition Documentation

#define LUGIVE   pygive_

Definition at line 41 of file HijingPythiaWrapper.h.

#define PYCOMP   pycomp_

Definition at line 36 of file HijingPythiaWrapper.h.

Function Documentation

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

Definition at line 24 of file HijingPythiaWrapper.h.

References pydat1, and pygive_().

25  {
26  int numWarn = pydat1.mstu[26]; // # warnings
27  int numErr = pydat1.mstu[22]; // # errors
28 
29  pygive_(line.c_str(), line.length());
30 
31  return pydat1.mstu[26] == numWarn &&
32  pydat1.mstu[22] == numErr;
33  }
#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 &  )
void pyrobo_ ( int &  ,
int &  ,
double &  ,
double &  ,
double &  ,
double &  ,
double &   
)
void pystlfr_ ( )
void pystrhad_ ( )
float ranff_ ( unsigned int *  iseed)

Definition at line 54 of file HijingPythiaWrapper.h.

55 {
56  (*iseed) = (69069 * (*iseed) + 1) & 0xffffffffUL;
57  return (*iseed) / 4294967296.0;
58 }
int iseed
Definition: AMPTWrapper.h:124
void txgive_ ( const char *  ,
int   
)
void txgive_init_ ( void  )