CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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_(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
float hipr1[100]
Definition: AMPTWrapper.h:64
struct @753 himain1_
int ihnt2[50]
Definition: AMPTWrapper.h:67
float eatt
Definition: AMPTWrapper.h:39
int n01
Definition: AMPTWrapper.h:45
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
int natt
Definition: AMPTWrapper.h:41
int jatt
Definition: AMPTWrapper.h:40
int np
Definition: AMPTWrapper.h:43
int n0
Definition: AMPTWrapper.h:44
void hijing_(const char *frame, float &bmin0, float &bmax0, int)
uint8_t *__restrict__ izt
float hint1[100]
Definition: AMPTWrapper.h:66
int nt
Definition: AMPTWrapper.h:42
int n11
Definition: AMPTWrapper.h:47
struct @754 himain2_
int n10
Definition: AMPTWrapper.h:46
float vatt[4][130000]
Definition: HijingWrapper.h:49
int ihpr2[50]
Definition: AMPTWrapper.h:65
int katt[4][130000]
Definition: HijingWrapper.h:47
struct @755 hiparnt_
float patt[4][130000]
Definition: HijingWrapper.h:48