ATLAS Offline Software
Loading...
Searching...
No Matches
herwig7_interface.h
Go to the documentation of this file.
1#define max_num_weights 50
2
3
4extern "C" {
5 void herwig7_init_(int & maxev, const char* name, long int len);
7 double powheginput_(const char* , long int);
8
9 //Declaration of fortran common blocks
10
11 struct heprup {
12 int idbmup[2];
13 double ebmup[2];
14 int pdfgup[2], pdfsup[2], idwtup, nprup;
15 double xsecup[100], xerrup[100], xmaxup[100];
16 int lprup[100];
17 };
18 extern heprup heprup_;
19
20 struct hepeup {
21 int nup, idprup;
23 // nb. Fortran 2d arrays need to be declared as 1d C arrays
24 // in order to avoid -Wlto-type-mismatch warnings when compiling with LTO.
25 int idup[500], istup[500], mothup[500*2], icolup[500*2];
26 double pup[500*5], vtimup[500],spinup[500];
27 int& getMother (unsigned ipart, unsigned imother) { return mothup[ipart*2+imother]; }
28 int& getColor (unsigned ipart, unsigned icolor) { return icolup[ipart*2+icolor]; }
29 double& getP (unsigned ipart, unsigned icomp) { return pup[ipart*5+icomp]; }
30 };
31 extern hepeup hepeup_;
32
33 struct nevcounter {
34 int nev;
35 };
37
38 struct weights {
42 };
43 extern weights weights_;
44 // the scales of the emissions from the resonances generated by POWHEG
49
50 struct c_innlodec {
52 };
54
55 extern struct{
58
59}
60
void herwig7_init_(int &maxev, const char *name, long int len)
void herwig7_calculatescales_()
struct @206150054326072300351325265364033152377363376100 corrfactors_
nevcounter nevcounter_
heprup heprup_
double remncorr
#define max_num_weights
hepeup hepeup_
resonancevetos resonancevetos_
weights weights_
double btildecorr
double powheginput_(const char *, long int)
c_innlodec c_innlodec_
int idup[500]
double & getP(unsigned ipart, unsigned icomp)
double xwgtup
double aqcdup
double pup[500 *5]
int & getMother(unsigned ipart, unsigned imother)
int & getColor(unsigned ipart, unsigned icolor)
int mothup[500 *2]
double aqedup
double scalup
int istup[500]
double vtimup[500]
int icolup[500 *2]
double spinup[500]
double xsecup[100]
double ebmup[2]
double xerrup[100]
int pdfgup[2]
int pdfsup[2]
int idbmup[2]
double xmaxup[100]
int lprup[100]
double weight[max_num_weights]