CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HijingWrapper.h
Go to the documentation of this file.
1 #ifndef GeneratorInterface_HijingInterface_HijingWrapper
2 #define GeneratorInterface_HijingInterface_HijingWrapper
3 
4 /*
5  * Wrapper for FORTRAN version of HIJING
6  */
7 
8 #define _MAXNUMPARTICLE_ 130000
9 
10 extern "C" {
11  void hijset_(double& efrm, const char* frame, const char* proj, const char* targ, int& iap, int& izp, int& iat, int& izt, int, int, int);
12 }
13 #define HIJSET hijset_
14 
15 extern "C" {
16  void hijing_(const char* frame, double& bmin0, double& bmax0, int);
17 }
18 #define HIJING hijing_
19 
20 extern "C" {
21  extern struct{
22  int natt;
23  int eatt;
24  int jatt;
25  int nt;
26  int np;
27  int n0;
28  int n01;
29  int n10;
30  int n11;
31  }himain1_;
32 }
33 #define himain1 himain1_
34 
35 extern "C" {
36  extern struct{
38  double patt[4][_MAXNUMPARTICLE_];
39  }himain2_;
40 }
41 #define himain2 himain2_
42 
43 extern "C" {
44  extern struct{
45  float hipr1[100];
46  int ihpr2[50];
47  float hint1[100];
48  int ihnt2[50];
49  }hiparnt_;
50 }
51 #define hiparnt hiparnt_
52 
53 #endif
struct @273 hiparnt_
float hipr1[100]
Definition: AMPTWrapper.h:54
int ihnt2[50]
Definition: AMPTWrapper.h:57
float eatt
Definition: AMPTWrapper.h:29
int n01
Definition: AMPTWrapper.h:35
struct @272 himain2_
#define _MAXNUMPARTICLE_
Definition: HijingWrapper.h:8
int natt
Definition: AMPTWrapper.h:31
int jatt
Definition: AMPTWrapper.h:30
int n0
Definition: AMPTWrapper.h:34
void hijing_(const char *frame, double &bmin0, double &bmax0, int)
float hint1[100]
Definition: AMPTWrapper.h:56
int nt
Definition: AMPTWrapper.h:32
int n11
Definition: AMPTWrapper.h:37
int n10
Definition: AMPTWrapper.h:36
double patt[4][_MAXNUMPARTICLE_]
Definition: HijingWrapper.h:38
int katt[4][_MAXNUMPARTICLE_]
Definition: HijingWrapper.h:37
int ihpr2[50]
Definition: AMPTWrapper.h:55
void hijset_(double &efrm, const char *frame, const char *proj, const char *targ, int &iap, int &izp, int &iat, int &izt, int, int, int)
struct @271 himain1_