BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenModels/EvtPhokharaDef.hh
Go to the documentation of this file.
1#ifndef PHOKHARA__H
2#define PHOKHARA__H
3
4#include "cfortran/cfortran.h"
5#include <string.h>
6
7// common blocks
8typedef struct { double r, i; } COMPLEX16;
9
10// --- couplings, masses, momenta ---
11extern "C" struct
12{
14 double ebeam, ver_s, rmass[10], momenta[4][15];
16 double mnt, mKp, mKn;
18 double mlamb, meta;
20
21
22// --- cuts ---
23extern "C" struct
24{
28
29// --- Kaons masses and gamms
30extern "C" struct
31{
36
37// --- Pions pi+pi- masses and gamms
38extern "C" struct
39{
44
45// --- Lambdas
46extern "C" struct
47{
50
51// --- histograms ---
52typedef struct{ char val[20]; } titledef;
53
54extern "C" struct
55{
57 int bins[20];
60
61// --- Maxima ---
62extern "C" struct
63{
65 int iprint;
67
68// --- flags --
69extern "C" struct
70{
73
74
75PROTOCCALLSFSUB2(RLXDINIT,rlxdinit,INT,INT)
76#define RLXDINIT(LUXURY,SEED) CCALLSFSUB2(RLXDINIT,rlxdinit,INT,INT,LUXURY,SEED)
77
78PROTOCCALLSFSUB1(RLXDRESETF,rlxdresetf,INTV)
79#define RLXDRESETF(SEED) CCALLSFSUB1(RLXDRESETF,rlxdresetf,INTV, SEED)
80
82#define INPUT() CCALLSFSUB0(INPUT,input)
83
84//PROTOCCALLSFSUB3(INPUT,input,PLONG,PINT,PSTRING);
85//#define INPUT(NGES,NM,OUTFILE) CCALLSFSUB3(INPUT,input,PLONG,PINT,PSTRING,NGES,NM,OUTFILE)
86
87//PROTOCCALLSFSUB0(INITHISTO,inithisto);
88//#define INITHISTO() CCALLSFSUB0(INITHISTO,inithisto)
89
90//PROTOCCALLSFSUB0(ENDHISTO,endhisto);
91//#define ENDHISTO() CCALLSFSUB0(ENDHISTO,endhisto)
92
93//PROTOCCALLSFSUB0(WRITEEVENT,writeevent);
94//#define WRITEEVENT() CCALLSFSUB0(WRITEEVENT,writeevent)
95
96PROTOCCALLSFSUB2(RANLXDF,ranlxdf,DOUBLEV,INT)
97#define RANLXDF(AR, VAL) CCALLSFSUB2(RANLXDF,ranlxdf,DOUBLEV, INT, AR, VAL)
98
99PROTOCCALLSFSUB7(GEN_1PH,gen_1ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
100#define GEN_1PH(I,QQMIN,QQMAX,COS1MIN,COS1MAX,COS3MIN,COS3MAX) CCALLSFSUB7(GEN_1PH,gen_1ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE,I,QQMIN,QQMAX,COS1MIN,COS1MAX,COS3MIN,COS3MAX)
101
102PROTOCCALLSFSUB8(GEN_2PH,gen_2ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
103#define GEN_2PH(I,QQMIN,COS1MIN,COS1MAX,COS2MIN,COS2MAX,COS3MIN,COS3MAX) CCALLSFSUB8(GEN_2PH,gen_2ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE,I,QQMIN,COS1MIN,COS1MAX,COS2MIN,COS2MAX,COS3MIN,COS3MAX)
104
105PROTOCCALLSFSUB5(GEN_0PH,gen_0ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
106#define GEN_0PH(I,QQMIN,SP,COS3MIN,COS3MAX) CCALLSFSUB5(GEN_0PH,gen_0ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE,I,QQMIN,SP,COS3MIN,COS3MAX)
107
108#endif
struct @17 flags_
struct @15 histo_
#define GEN_1PH(I, QQMIN, QQMAX, COS1MIN, COS1MAX, COS3MIN, COS3MAX)
struct @13 mass_gamm_pion_
#define GEN_0PH(I, QQMIN, SP, COS3MIN, COS3MAX)
struct @16 maxima_
struct @10 ctes_
#define GEN_2PH(I, QQMIN, COS1MIN, COS1MAX, COS2MIN, COS2MAX, COS3MIN, COS3MAX)
struct @14 lambda_par_
struct @12 mass_gamm_Kp_
struct @11 cuts_
#define PROTOCCALLSFSUB2(UN, LN, T1, T2)
Definition: cfortran.h:1003
#define DOUBLE_PRECISION
Definition: cfortran.h:219
#define PROTOCCALLSFSUB7(UN, LN, T1, T2, T3, T4, T5, T6, T7)
Definition: cfortran.h:1013
#define PROTOCCALLSFSUB0(UN, LN)
Definition: cfortran.h:1082
#define PROTOCCALLSFSUB1(UN, LN, T1)
Definition: cfortran.h:1001
#define PROTOCCALLSFSUB5(UN, LN, T1, T2, T3, T4, T5)
Definition: cfortran.h:1009
#define PROTOCCALLSFSUB8(UN, LN, T1, T2, T3, T4, T5, T6, T7, T8)
Definition: cfortran.h:1015