BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
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
double m_rho3_pion
double mlamb
int ph0
titledef title[20]
struct @17 flags_
DOUBLE_PRECISION count[3]
int narr_res
double alpha
double gmin
double m_rho2_Kp
double meta
double mnt
double mpi
double accecut
double m_rho0_pion
double g_rho0_pion
double pi
double ratio_lamb
DOUBLE_PRECISION xup[20]
#define RLXDINIT(LUXURY, SEED)
int nlo
#define INPUT()
struct @15 histo_
double m_rho1_Kp
int bins[20]
#define GEN_1PH(I, QQMIN, QQMAX, COS1MIN, COS1MAX, COS3MIN, COS3MAX)
double rmass[10]
double me
double momenta[4][15]
double phot1cut
double g_rho3_pion
struct @13 mass_gamm_pion_
double gev2nbarn
int FF_kaon
double piphcut
DOUBLE_PRECISION xlow[20]
int FF_pp
double g_rho2_pion
#define RANLXDF(AR, VAL)
double m_phi0_Kp
#define RLXDRESETF(SEED)
double q2_min_c
double pi1cut
double g_rho2_Kp
double g_rho0_Kp
double mKn
#define GEN_0PH(I, QQMIN, SP, COS3MIN, COS3MAX)
double q2_max_c
double g_rho1_pion
double Emin
double Sp
double q2min
COMPLEX16 cvac_s_phi
struct @16 maxima_
double g_om2_Kp
double mmu
int fsrnlo
double g_phi1_Kp
DOUBLE_PRECISION klein[3]
double m_om0_Kp
struct @10 ctes_
DOUBLE_PRECISION gross[3]
double alpha_lamb
double m_om0_pion
double g_rho1_Kp
double pi2cut
int pion
double m_rho2_pion
double m_om1_Kp
double g_om0_Kp
double gev2pbarn
int iprint
double g_phi0_Kp
DOUBLE_PRECISION Mmax[3]
double ebeam
double g_om0_pion
double phot2cut
int FF_pion
double g_om1_Kp
int fsr
#define GEN_2PH(I, QQMIN, COS1MIN, COS1MAX, COS2MIN, COS2MAX, COS3MIN, COS3MAX)
struct @14 lambda_par_
double m_rho0_Kp
COMPLEX16 cvac_s_pi
double mp
double m_phi1_Kp
COMPLEX16 cvac_s
struct @12 mass_gamm_Kp_
double ver_s
double m_rho1_pion
DOUBLE_PRECISION tr[3]
struct @11 cuts_
int ivac
double m_om2_Kp
int f0_model
double mKp
double w
double mpi0
#define PROTOCCALLSFSUB2(UN, LN, T1, T2)
#define PROTOCCALLSFSUB7(UN, LN, T1, T2, T3, T4, T5, T6, T7)
#define PROTOCCALLSFSUB1(UN, LN, T1)
#define PROTOCCALLSFSUB5(UN, LN, T1, T2, T3, T4, T5)
#define PROTOCCALLSFSUB8(UN, LN, T1, T2, T3, T4, T5, T6, T7, T8)