CMS 3D CMS Logo

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_(float& 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, float& bmin0, float& 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{
40  }himain2_;
41 }
42 #define himain2 himain2_
43 
44 extern "C" {
45  extern struct{
46  float hipr1[100];
47  int ihpr2[50];
48  float hint1[100];
49  int ihnt2[50];
50  }hiparnt_;
51 }
52 #define hiparnt hiparnt_
53 
54 
55 
56 #endif
int n10
Definition: HijingWrapper.h:29
int jatt
Definition: HijingWrapper.h:24
struct @643 hiparnt_
int n01
Definition: HijingWrapper.h:28
int np
Definition: HijingWrapper.h:26
int ihpr2[50]
Definition: HijingWrapper.h:47
void hijset_(float &efrm, const char *frame, const char *proj, const char *targ, int &iap, int &izp, int &iat, int &izt, int, int, int)
struct @641 himain1_
#define _MAXNUMPARTICLE_
Definition: HijingWrapper.h:8
float hipr1[100]
Definition: HijingWrapper.h:46
void hijing_(const char *frame, float &bmin0, float &bmax0, int)
int eatt
Definition: HijingWrapper.h:23
float hint1[100]
Definition: HijingWrapper.h:48
struct @642 himain2_
float vatt[4][130000]
Definition: HijingWrapper.h:39
int ihnt2[50]
Definition: HijingWrapper.h:49
int natt
Definition: HijingWrapper.h:22
int nt
Definition: HijingWrapper.h:25
int n11
Definition: HijingWrapper.h:30
int katt[4][130000]
Definition: HijingWrapper.h:37
int n0
Definition: HijingWrapper.h:27
float patt[4][130000]
Definition: HijingWrapper.h:38