CMS 3D CMS Logo

HydjetWrapper.h
Go to the documentation of this file.
1 #ifndef GeneratorInterface_HydjetInterface_HydjetWrapper
2 #define GeneratorInterface_HydjetInterface_HydjetWrapper
3 
4 //
5 //
6 
7 /*
8  *
9  * Wrapper for FORTRAN version of HYDJET
10  *
11  * Camelia Mironov
12  *
13  */
14 
15 extern "C" {
16  void hyinit_(double& energy,double& a,int& ifb1,double& bmin,double& bmax,double& bfix1,int& nh1);
17 }
18 #define HYINIT hyinit_
19 
20 #define _MAXMULsize_ 150000
21 
22 
23 extern "C" {
24  void hyevnt_();
25 }
26 #define HYEVNT hyevnt_
27 
28 extern "C" {
29  extern struct {
30  double psi3;
31  } hypsi3_;
32 }
33 #define hypsi3 hypsi3_
34 
35 extern "C" {
36  extern struct {
37  double ytfl;
38  double ylfl;
39  double Tf;
40  double fpart;
41  } hyflow_;
42 }
43 #define hyflow hyflow_
44 
45 extern "C" {
46  extern struct{
47  double bgen;
48  double nbcol;
49  double npart;
50  int npyt;
51  int nhyd;
52  }hyfpar_;
53 }
54 #define hyfpar hyfpar_
55 
56 extern "C" {
57  extern struct {
58  double bminh;
59  double bmaxh;
60  double AW;
61  double RA;
62  double npar0;
63  double nbco0;
64  double Apb;
65  double Rpb;
66  int np;
67  int init;
68  int ipr;
69 
70  } hyipar_;
71 }
72 #define hyipar hyipar_
73 
74 
75 extern "C" {
76  extern struct{
77  int nhj;
78  int nhp;
79  int khj[5][_MAXMULsize_];
80  double phj[5][_MAXMULsize_];
81  double vhj[5][_MAXMULsize_];
82  }hyjets_;
83 }
84 #define hyjets hyjets_
85 
86 
87 extern "C" {
88  extern struct{
89 
90  double ptmin;
91  double sigin;
92  double sigjet;
93  int nhsel;
94  int ishad;
95  int njet;
96 
97  }hyjpar_;
98 }
99 #define hyjpar hyjpar_
100 
101 
102 extern "C" {
103  extern struct {
104  int mrlu[6];
105  int rrlu[100];
106  } ludatr_;
107 }
108 #define ludatr ludatr_
109 
110 
111 extern "C" {
112  extern struct{
113  double T0u;
114  double tau0u;
115  int nfu;
116  int ienglu;
117  int ianglu;
118  }pyqpar_;
119 }
120 #define pyqpar pyqpar_
121 
122 #endif
struct @695 hyflow_
int nhyd
Definition: HydjetWrapper.h:51
int ienglu
double fpart
Definition: HydjetWrapper.h:40
struct @701 pyqpar_
int np
Definition: HydjetWrapper.h:66
double tau0u
int rrlu[100]
int ipr
Definition: HydjetWrapper.h:68
int nhp
Definition: HydjetWrapper.h:78
double Apb
Definition: HydjetWrapper.h:64
void hyinit_(double &energy, double &a, int &ifb1, double &bmin, double &bmax, double &bfix1, int &nh1)
int init
Definition: HydjetWrapper.h:67
double npart
Definition: HydjetWrapper.h:49
struct @699 hyjpar_
int ishad
Definition: HydjetWrapper.h:94
double bgen
Definition: HydjetWrapper.h:47
int njet
Definition: HydjetWrapper.h:95
int mrlu[6]
struct @700 ludatr_
double ylfl
Definition: HydjetWrapper.h:38
double ytfl
Definition: HydjetWrapper.h:37
struct @698 hyjets_
double vhj[5][150000]
Definition: HydjetWrapper.h:81
int nhsel
Definition: HydjetWrapper.h:93
int nfu
double nbco0
Definition: HydjetWrapper.h:63
double AW
Definition: HydjetWrapper.h:60
double phj[5][150000]
Definition: HydjetWrapper.h:80
int khj[5][150000]
Definition: HydjetWrapper.h:79
struct @694 hypsi3_
double T0u
double psi3
Definition: HydjetWrapper.h:30
double npar0
Definition: HydjetWrapper.h:62
double sigin
Definition: HydjetWrapper.h:91
int npyt
Definition: HydjetWrapper.h:50
int ianglu
double bmaxh
Definition: HydjetWrapper.h:59
#define _MAXMULsize_
Definition: HydjetWrapper.h:20
double ptmin
Definition: HydjetWrapper.h:90
void hyevnt_()
double bminh
Definition: HydjetWrapper.h:58
double a
Definition: hdecay.h:121
double nbcol
Definition: HydjetWrapper.h:48
int nhj
Definition: HydjetWrapper.h:77
struct @697 hyipar_
double Tf
Definition: HydjetWrapper.h:39
double Rpb
Definition: HydjetWrapper.h:65
double sigjet
Definition: HydjetWrapper.h:92
struct @696 hyfpar_
double RA
Definition: HydjetWrapper.h:61