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,
12  const char* frame,
13  const char* proj,
14  const char* targ,
15  int& iap,
16  int& izp,
17  int& iat,
18  int& izt,
19  int,
20  int,
21  int);
22 }
23 #define HIJSET hijset_
24 
25 extern "C" {
26 void hijing_(const char* frame, float& bmin0, float& bmax0, int);
27 }
28 #define HIJING hijing_
29 
30 extern "C" {
31 extern struct {
32  int natt;
33  int eatt;
34  int jatt;
35  int nt;
36  int np;
37  int n0;
38  int n01;
39  int n10;
40  int n11;
41 } himain1_;
42 }
43 #define himain1 himain1_
44 
45 extern "C" {
46 extern struct {
50 } himain2_;
51 }
52 #define himain2 himain2_
53 
54 extern "C" {
55 extern struct {
56  float hipr1[100];
57  int ihpr2[50];
58  float hint1[100];
59  int ihnt2[50];
60 } hiparnt_;
61 }
62 #define hiparnt hiparnt_
63 
64 #endif
int n10
Definition: HijingWrapper.h:39
int jatt
Definition: HijingWrapper.h:34
int n01
Definition: HijingWrapper.h:38
int np
Definition: HijingWrapper.h:36
int ihpr2[50]
Definition: HijingWrapper.h:57
void hijset_(float &efrm, const char *frame, const char *proj, const char *targ, int &iap, int &izp, int &iat, int &izt, int, int, int)
#define _MAXNUMPARTICLE_
Definition: HijingWrapper.h:8
float hipr1[100]
Definition: HijingWrapper.h:56
void hijing_(const char *frame, float &bmin0, float &bmax0, int)
int eatt
Definition: HijingWrapper.h:33
float hint1[100]
Definition: HijingWrapper.h:58
struct @739 himain2_
float vatt[4][130000]
Definition: HijingWrapper.h:49
int ihnt2[50]
Definition: HijingWrapper.h:59
int natt
Definition: HijingWrapper.h:32
struct @740 hiparnt_
int nt
Definition: HijingWrapper.h:35
struct @738 himain1_
int n11
Definition: HijingWrapper.h:40
int katt[4][130000]
Definition: HijingWrapper.h:47
int n0
Definition: HijingWrapper.h:37
float patt[4][130000]
Definition: HijingWrapper.h:48