11 #ifndef Pythia8_LHAFortran_H 12 #define Pythia8_LHAFortran_H 14 #include "Pythia8/Pythia.h" 23 #define heprup_ HEPRUP 24 #define hepeup_ HEPEUP 32 int pdfgup[2], pdfsup[2], idwtup, nprup;
33 double xsecup[100], xerrup[100], xmaxup[100];
39 double xwgtup, scalup, aqedup, aqcdup;
40 int idup[500], istup[500], mothup[500][2], icolup[500][2];
41 double pup[500][5], vtimup[500],spinup[500];
69 for (
int ip = 0; ip <
heprup_.nprup; ++ip) {
70 double xsec = max( 1e-10,
heprup_.xsecup[ip]);
84 hepeup_.idprup = idProcIn;
88 setProcess(hepeup_.idprup, hepeup_.xwgtup, hepeup_.scalup,
89 hepeup_.aqedup, hepeup_.aqcdup);
91 for (
int ip = 0; ip < hepeup_.nup; ++ip)
addParticle(hepeup_.idup[ip],
92 hepeup_.istup[ip], hepeup_.mothup[ip][0], hepeup_.mothup[ip][1],
93 hepeup_.icolup[ip][0], hepeup_.icolup[ip][1], hepeup_.pup[ip][0],
94 hepeup_.pup[ip][1], hepeup_.pup[ip][2], hepeup_.pup[ip][3],
95 hepeup_.pup[ip][4], hepeup_.vtimup[ip], hepeup_.spinup[ip]) ;
97 setPdf( hepeup_.idup[0], hepeup_.idup[1], hepeup_.pup[0][3]/eBeamA,
98 hepeup_.pup[1][3]/eBeamB, 0., 0., 0.,
false);
114 double eBeamA, eBeamB;
void setBeamA(int idIn, double eIn, int pdfGroupIn=0, int pdfSetIn=0)
Input beam info.
Definition: LesHouches.h:222
void addProcess(int idProcIn, double xSecIn=1., double xErrIn=0., double xMaxIn=1.)
Input process info.
Definition: LesHouches.h:233
virtual bool fillHepEup()
User-written routine that does the event generation and fills hepeup.
Definition: LHAFortran.h:109
void setStrategy(int strategyIn)
Input process weight strategy.
Definition: LesHouches.h:230
Definition: LHAFortran.h:51
bool setEvent(int idProcIn=0)
Routine for doing the job of setting info on next event.
Definition: LHAFortran.h:82
Definition: LesHouches.h:78
void addParticle(LHAParticle particleIn)
Input particle info, one particle at the time.
Definition: LesHouches.h:252
void setProcess(int idProcIn=0, double weightIn=1., double scaleIn=0., double alphaQEDIn=0.0073, double alphaQCDIn=0.12)
Input info on the selected process.
Definition: LesHouches.h:243
void setPdf(int id1pdfIn, int id2pdfIn, double x1pdfIn, double x2pdfIn, double scalePDFIn, double pdf1In, double pdf2In, bool pdfIsSetIn)
Optionally input info on parton density values of event.
Definition: LesHouches.h:267
bool setInit()
Routine for doing the job of setting initialization info.
Definition: LHAFortran.h:59
Header for classes to set beam momentum and interaction vertex spread.
Definition: Analysis.h:20
virtual bool fillHepRup()
User-written routine that does the intialization and fills heprup.
Definition: LHAFortran.h:106
LHAupFortran()
Constructor.
Definition: LHAFortran.h:56
struct Pythia8::@0 heprup_
Give access to the HEPRUP and HEPEUP Fortran commonblocks.