CMS 3D CMS Logo

Defines | Functions | Variables

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/GeneratorInterface/HijingInterface/interface/HijingPythiaWrapper.h File Reference

#include "GeneratorInterface/Pythia6Interface/interface/Pythia6Service.h"
#include "HepMC/PythiaWrapper6_4.h"
#include "CLHEP/Random/RandomEngine.h"

Go to the source code of this file.

Defines

#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 ran_ (unsigned int *iseed)
float ranff_ (unsigned int *iseed)
float rlu_ (unsigned int *iseed)
void txgive_ (const char *, int)
void txgive_init_ (void)

Variables

CLHEP::HepRandomEngine * hijRandomEngine

Define Documentation

#define LUGIVE   pygive_

Definition at line 43 of file HijingPythiaWrapper.h.

#define PYCOMP   pycomp_

Definition at line 38 of file HijingPythiaWrapper.h.


Function Documentation

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

Definition at line 26 of file HijingPythiaWrapper.h.

References pydat1, and pygive_().

    {
       int numWarn = pydat1.mstu[26];    // # warnings
       int numErr = pydat1.mstu[22];     // # errors
       
       pygive_(line.c_str(), line.length());
       
       return pydat1.mstu[26] == numWarn &&
          pydat1.mstu[22] == numErr;
    }
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 ran_ ( unsigned int *  iseed)

Definition at line 77 of file HijingPythiaWrapper.h.

References hijRandomEngine.

                                  {
      return hijRandomEngine->flat();
      //      return ranff_(iseed);
      //      return gen::pyr_(0);
   }
float ranff_ ( unsigned int *  iseed)

Definition at line 56 of file HijingPythiaWrapper.h.

{
   (*iseed) = (69069 * (*iseed) + 1) & 0xffffffffUL;
   return (*iseed) / 4294967296.0;
}
float rlu_ ( unsigned int *  iseed)

Definition at line 85 of file HijingPythiaWrapper.h.

References hijRandomEngine.

                                  {
      return hijRandomEngine->flat();
      //      return ranff_(iseed);
      //      return gen::pyr_(0);
   }
void txgive_ ( const char *  ,
int   
)
void txgive_init_ ( void  )

Variable Documentation

CLHEP::HepRandomEngine* hijRandomEngine