BOSS 7.1.2
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"
6#include <string.h>
7//
8//common block is easy to hide bugs, please take care of it.
9//
10// common blocks
11typedef struct { double r, i; } COMPLEX16;
12
13// --- couplings, masses, momenta ---
14extern "C" struct
15{
17 double ebeam, ver_s, rmass[10], momenta[4][16];
19 double mnt, mKp, mKn;
21 double mlamb, meta, GFermi, sinthW2; //new Added
23
24
25// --- cuts ---
26extern "C" struct
27{
31
32// --- Kaons masses and gamms
33extern "C" struct
34{
39
40// --- Pions pi+pi- masses and gamms
41extern "C" struct
42{
47
48// --- Lambdas
49extern "C" struct
50{
53
54// --- histograms ---
55typedef struct{ char val[20]; } titledef;
56
57extern "C" struct
58{
60 int bins[20];
63
64// --- Maxima ---
65extern "C" struct
66{
68 int iprint;
70
71// --- flags --
72extern "C" struct
73{
76
77// phokhara10.0 newly implemented
78extern "C" struct
79{
90
91PROTOCCALLSFSUB2(RLXDINIT,rlxdinit,INT,INT)
92#define RLXDINIT(LUXURY,SEED) CCALLSFSUB2(RLXDINIT,rlxdinit,INT,INT,LUXURY,SEED)
93
94PROTOCCALLSFSUB1(RLXDRESETF,rlxdresetf,INTV)
95#define RLXDRESETF(SEED) CCALLSFSUB1(RLXDRESETF,rlxdresetf,INTV, SEED)
96
98#define INPUT() CCALLSFSUB0(INPUT,input)
99
100//PROTOCCALLSFSUB3(INPUT,input,PLONG,PINT,PSTRING);
101//#define INPUT(NGES,NM,OUTFILE) CCALLSFSUB3(INPUT,input,PLONG,PINT,PSTRING,NGES,NM,OUTFILE)
102
103//PROTOCCALLSFSUB0(INITHISTO,inithisto);
104//#define INITHISTO() CCALLSFSUB0(INITHISTO,inithisto)
105
106//PROTOCCALLSFSUB0(ENDHISTO,endhisto);
107//#define ENDHISTO() CCALLSFSUB0(ENDHISTO,endhisto)
108
109//PROTOCCALLSFSUB0(WRITEEVENT,writeevent);
110//#define WRITEEVENT() CCALLSFSUB0(WRITEEVENT,writeevent)
111
112PROTOCCALLSFSUB2(RANLXDF,ranlxdf,DOUBLEV,INT)
113#define RANLXDF(AR, VAL) CCALLSFSUB2(RANLXDF,ranlxdf,DOUBLEV, INT, AR, VAL)
114
115PROTOCCALLSFSUB7(GEN_1PH,gen_1ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
116#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)
117
118PROTOCCALLSFSUB8(GEN_2PH,gen_2ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
119#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)
120
121PROTOCCALLSFSUB5(GEN_0PH,gen_0ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE)
122#define GEN_0PH(I,QQMIN,SP,COS3MIN,COS3MAX) CCALLSFSUB5(GEN_0PH,gen_0ph,INT, PDOUBLE, PDOUBLE, PDOUBLE, PDOUBLE,I,QQMIN,SP,COS3MIN,COS3MAX)
123
124#endif
double m_rho3_pion
double mlamb
double Mphi_c
struct @23 pscalars_
int ph0
titledef title[20]
double metaP
double Fsmv2Hv2
double sinthW2
double GammaTotalrho_c3
DOUBLE_PRECISION count[3]
double A1pi0
int narr_res
double alpha
double gmin
double metaf
double m_rho2_Kp
double meta
double mnt
double mpi
double accecut
int chi_pion
double A1etaP
double m_rho0_pion
double g_rho0_pion
double pi
double ratio_lamb
struct @17 mass_gamm_Kp_
DOUBLE_PRECISION xup[20]
#define RLXDINIT(LUXURY, SEED)
int nlo
int nlo2
#define INPUT()
double m_rho1_Kp
double Mrho_dpr
int bins[20]
double mpi0f
#define GEN_1PH(I, QQMIN, QQMAX, COS1MIN, COS1MAX, COS3MIN, COS3MAX)
double rmass[10]
int chi_sw
double me
int FF_Pgg
double momenta[4][16]
double phot1cut
double g_rho3_pion
double GFermi
double A_eta_phiom
int be_r
struct @18 mass_gamm_pion_
double Momega_pr
double GammaTotalphi_c3
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
struct @20 histo_
#define RLXDRESETF(SEED)
double q2_min_c
double pi1cut
double Mrho_c
double A3pi0
double Cs_P
double g_rho2_Kp
double Momega_dpr
double g_rho0_Kp
double Mphi_pr
double mKn
#define GEN_0PH(I, QQMIN, SP, COS3MIN, COS3MAX)
double A3etaP
double q2_max_c
double g_rho1_pion
double Emin
double Sp
double q2min
struct @19 lambda_par_
double fchir
double GammaTotalomega_c
COMPLEX16 cvac_s_pi1
double g_om2_Kp
double mmu
int fsrnlo
double g_phi1_Kp
double GammaTotalrho_c2
DOUBLE_PRECISION klein[3]
double m_om0_Kp
double Cq_c
DOUBLE_PRECISION gross[3]
double alpha_lamb
struct @15 ctes_
double m_om0_pion
double GammaTotalphi_c
double Momega_c
struct @21 maxima_
double g_rho1_Kp
double pi2cut
int pion
double GammaTotalrho_c
double Mphi_dpr
double m_rho2_pion
double GammaTotalomega_c2
double hv1
double m_om1_Kp
double g_om0_Kp
double gev2pbarn
int iprint
double g_phi0_Kp
double A2pi0
DOUBLE_PRECISION Mmax[3]
double Cs_c
double Mrho_pr
struct @22 flags_
double ebeam
double g_om0_pion
double GammaTotalomega_c3
double phot2cut
double A3eta
int FF_pion
double F_om
double g_om1_Kp
int fsr
#define GEN_2PH(I, QQMIN, COS1MIN, COS1MAX, COS2MIN, COS2MAX, COS3MIN, COS3MAX)
double H_om
double A1eta
double m_rho0_Kp
COMPLEX16 cvac_s_pi
double GammaTotalphi_c2
double mp
double m_phi1_Kp
double F_phi
COMPLEX16 cvac_s
double A_pi_phiom
double ver_s
double Cq_P
double m_rho1_pion
DOUBLE_PRECISION tr[3]
int ivac
double m_om2_Kp
struct @16 cuts_
int f0_model
double mKp
double fsmv1
double w
double mpi0
#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