CMS 3D CMS Logo

Macros | Functions
Pythia6Service.cc File Reference
#include <algorithm>
#include <functional>
#include <iostream>
#include <sstream>
#include <fstream>
#include <cmath>
#include <string>
#include <set>
#include <boost/algorithm/string/classification.hpp>
#include <boost/algorithm/string/split.hpp>
#include <filesystem>
#include "CLHEP/Random/RandomEngine.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/FileInPath.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "GeneratorInterface/Pythia6Interface/interface/Pythia6Service.h"
#include "GeneratorInterface/Pythia6Interface/interface/Pythia6Declarations.h"

Go to the source code of this file.

Macros

#define SETCSAPARBUFSIZE   514
 

Functions

 __attribute__ ((visibility("hidden"))) void dummy()
 
static int call_pyslha (int mupda, int kforig=0)
 
static void call_pyupda (int opt, int iunit)
 
void fiocls_ (int *unit)
 
void fioopn_ (int *unit, const char *line, int length)
 
void fioopnw_ (int *unit, const char *line, int length)
 
void pyedit_ (void)
 
void pyslha_ (int *, int *, int *)
 
void pyupda_ (int *, int *)
 

Macro Definition Documentation

◆ SETCSAPARBUFSIZE

#define SETCSAPARBUFSIZE   514

Function Documentation

◆ __attribute__()

__attribute__ ( (visibility("hidden"))  )

Definition at line 29 of file Pythia6Service.cc.

References gen::py1ent_(), gen::pycomp_(), pyedit_(), gen::pyexec_(), gen::pygive_(), gen::pyjoin_(), and gen::pylist_().

29  {
30  using namespace gen;
31  int dummy = 0;
32  double dummy2 = 0;
33  char* dummy3 = nullptr;
34  pyexec_();
35  pystat_(nullptr);
36  pyjoin_(dummy, &dummy);
37  py1ent_(dummy, dummy, dummy2, dummy2, dummy2);
38  pygive_(dummy3, dummy);
39  pycomp_(dummy);
40  pylist_(nullptr);
41  pyevnt_();
42  pyedit_();
43 }
void pyedit_(void)
void pyjoin_(int &njoin, int ijoin[])
void pylist_(int *)
void pygive_(const char *, int)
int pycomp_(int &)
void py1ent_(int &ip, int &kf, double &pe, double &the, double &phi)
void pyexec_()

◆ call_pyslha()

static int call_pyslha ( int  mupda,
int  kforig = 0 
)
static

Definition at line 50 of file Pythia6Service.cc.

References pyslha_().

Referenced by gen::Pythia6Service::setSLHAFromHeader().

50  {
51  int iretrn = 0;
52  pyslha_(&mupda, &kforig, &iretrn);
53  return iretrn;
54 }
void pyslha_(int *, int *, int *)

◆ call_pyupda()

static void call_pyupda ( int  opt,
int  iunit 
)
static

Definition at line 57 of file Pythia6Service.cc.

References runTheMatrix::opt, and pyupda_().

Referenced by gen::Pythia6Service::openPYUPDA().

57 { pyupda_(&opt, &iunit); }
void pyupda_(int *, int *)

◆ fiocls_()

void fiocls_ ( int *  unit)

◆ fioopn_()

void fioopn_ ( int *  unit,
const char *  line,
int  length 
)

◆ fioopnw_()

void fioopnw_ ( int *  unit,
const char *  line,
int  length 
)

◆ pyedit_()

void pyedit_ ( void  )

Referenced by __attribute__().

◆ pyslha_()

void pyslha_ ( int *  ,
int *  ,
int *   
)

Referenced by call_pyslha().

◆ pyupda_()

void pyupda_ ( int *  ,
int *   
)

Referenced by call_pyupda().