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_(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
float hipr1[100]
Definition: AMPTWrapper.h:54
int ihnt2[50]
Definition: AMPTWrapper.h:57
float eatt
Definition: AMPTWrapper.h:29
struct @382 himain1_
int n01
Definition: AMPTWrapper.h:35
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:31
int jatt
Definition: AMPTWrapper.h:30
int np
Definition: AMPTWrapper.h:33
int n0
Definition: AMPTWrapper.h:34
float vatt[4][_MAXNUMPARTICLE_]
Definition: HijingWrapper.h:39
struct @383 himain2_
struct @384 hiparnt_
void hijing_(const char *frame, float &bmin0, float &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
float patt[4][_MAXNUMPARTICLE_]
Definition: HijingWrapper.h:38
int katt[4][_MAXNUMPARTICLE_]
Definition: HijingWrapper.h:37
int ihpr2[50]
Definition: AMPTWrapper.h:55